xref: /freebsd/sys/contrib/device-tree/Bindings/slimbus/slim-qcom-ctrl.txt (revision f7c32ed617858bcd22f8d1b03199099d50125721)
1Qualcomm SLIMbus controller
2This controller is used if applications processor driver controls SLIMbus
3master component.
4
5Required properties:
6
7 - #address-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt
8 - #size-cells	- refer to Documentation/devicetree/bindings/slimbus/bus.txt
9
10 - reg : Offset and length of the register region(s) for the device
11 - reg-names : Register region name(s) referenced in reg above
12	 Required register resource entries are:
13	 "ctrl": Physical address of controller register blocks
14 	 "slew": required for "qcom,apq8064-slim" SOC.
15 - compatible : should be "qcom,<SOC-NAME>-slim" for SOC specific compatible
16 		followed by "qcom,slim" for fallback.
17 - interrupts : Interrupt number used by this controller
18 - clocks : Interface and core clocks used by this SLIMbus controller
19 - clock-names : Required clock-name entries are:
20	"iface" : Interface clock for this controller
21	"core" : Interrupt for controller core's BAM
22
23Example:
24
25	slim@28080000 {
26		compatible = "qcom,apq8064-slim", "qcom,slim";
27		reg = <0x28080000 0x2000>, <0x80207C 4>;
28		reg-names = "ctrl", "slew";
29		interrupts = <0 33 0>;
30		clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>;
31		clock-names = "iface", "core";
32		#address-cells = <2>;
33		#size-cell = <0>;
34
35		wcd9310: audio-codec@1,0{
36			compatible = "slim217,60";
37			reg = <1 0>;
38		};
39	};
40