xref: /freebsd/sys/contrib/device-tree/Bindings/sound/amlogic,axg-pdm.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1* Amlogic Audio PDM input
2
3Required properties:
4- compatible: 'amlogic,axg-pdm' or
5	      'amlogic,g12a-pdm' or
6	      'amlogic,sm1-pdm'
7- reg: physical base address of the controller and length of memory
8       mapped region.
9- clocks: list of clock phandle, one for each entry clock-names.
10- clock-names: should contain the following:
11  * "pclk"   : peripheral clock.
12  * "dclk"   : pdm digital clock
13  * "sysclk" : dsp system clock
14- #sound-dai-cells: must be 0.
15
16Optional property:
17- resets: phandle to the dedicated reset line of the pdm input.
18
19Example of PDM on the A113 SoC:
20
21pdm: audio-controller@ff632000 {
22	compatible = "amlogic,axg-pdm";
23	reg = <0x0 0xff632000 0x0 0x34>;
24	#sound-dai-cells = <0>;
25	clocks = <&clkc_audio AUD_CLKID_PDM>,
26		 <&clkc_audio AUD_CLKID_PDM_DCLK>,
27		 <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
28	clock-names = "pclk", "dclk", "sysclk";
29};
30