xref: /freebsd/sys/contrib/device-tree/Bindings/sound/uniphier,aio.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Socionext UniPhier SoC audio driver
2
3The Socionext UniPhier audio subsystem consists of I2S and S/PDIF blocks in
4the same register space.
5
6Required properties:
7- compatible      : should be one of the following:
8		    "socionext,uniphier-ld11-aio"
9		    "socionext,uniphier-ld20-aio"
10		    "socionext,uniphier-pxs2-aio"
11- reg             : offset and length of the register set for the device.
12- interrupts      : should contain I2S or S/PDIF interrupt.
13- pinctrl-names   : should be "default".
14- pinctrl-0       : defined I2S signal pins for an external codec chip.
15- clock-names     : should include following entries:
16                    "aio"
17- clocks          : a list of phandle, should contain an entry for each
18                    entry in clock-names.
19- reset-names     : should include following entries:
20                    "aio"
21- resets          : a list of phandle, should contain an entry for each
22                    entry in reset-names.
23- #sound-dai-cells: should be 1.
24
25Optional properties:
26- socionext,syscon: a phandle, should contain soc-glue.
27                    The soc-glue is used for changing mode of S/PDIF signal pin
28                    to Output from Hi-Z. This property is optional if you use
29                    I2S signal pins only.
30
31Example:
32	audio {
33		compatible = "socionext,uniphier-ld20-aio";
34		reg = <0x56000000 0x80000>;
35		interrupts = <0 144 4>;
36		pinctrl-names = "default";
37		pinctrl-0 = <&pinctrl_aout>;
38		clock-names = "aio";
39		clocks = <&sys_clk 40>;
40		reset-names = "aio";
41		resets = <&sys_rst 40>;
42		#sound-dai-cells = <1>;
43
44		socionext,syscon = <&sg>;
45	};
46