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