xref: /freebsd/sys/contrib/device-tree/Bindings/sound/amlogic,axg-fifo.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Amlogic Audio FIFO controllers
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: 'amlogic,axg-toddr' or
5*c66ec88fSEmmanuel Vadot	      'amlogic,axg-toddr' or
6*c66ec88fSEmmanuel Vadot	      'amlogic,g12a-frddr' or
7*c66ec88fSEmmanuel Vadot	      'amlogic,g12a-toddr' or
8*c66ec88fSEmmanuel Vadot	      'amlogic,sm1-frddr' or
9*c66ec88fSEmmanuel Vadot	      'amlogic,sm1-toddr'
10*c66ec88fSEmmanuel Vadot- reg: physical base address of the controller and length of memory
11*c66ec88fSEmmanuel Vadot       mapped region.
12*c66ec88fSEmmanuel Vadot- interrupts: interrupt specifier for the fifo.
13*c66ec88fSEmmanuel Vadot- clocks: phandle to the fifo peripheral clock provided by the audio
14*c66ec88fSEmmanuel Vadot	  clock controller.
15*c66ec88fSEmmanuel Vadot- resets: list of reset phandle, one for each entry reset-names.
16*c66ec88fSEmmanuel Vadot- reset-names: should contain the following:
17*c66ec88fSEmmanuel Vadot  * "arb" : memory ARB line (required)
18*c66ec88fSEmmanuel Vadot  * "rst" : dedicated device reset line (optional)
19*c66ec88fSEmmanuel Vadot- #sound-dai-cells: must be 0.
20*c66ec88fSEmmanuel Vadot- amlogic,fifo-depth: The size of the controller's fifo in bytes. This
21*c66ec88fSEmmanuel Vadot  		      is useful for determining certain configuration such
22*c66ec88fSEmmanuel Vadot		      as the flush threshold of the fifo
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotExample of FRDDR A on the A113 SoC:
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadotfrddr_a: audio-controller@1c0 {
27*c66ec88fSEmmanuel Vadot	compatible = "amlogic,axg-frddr";
28*c66ec88fSEmmanuel Vadot	reg = <0x0 0x1c0 0x0 0x1c>;
29*c66ec88fSEmmanuel Vadot	#sound-dai-cells = <0>;
30*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
31*c66ec88fSEmmanuel Vadot	clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
32*c66ec88fSEmmanuel Vadot	resets = <&arb AXG_ARB_FRDDR_A>;
33*c66ec88fSEmmanuel Vadot	fifo-depth = <512>;
34*c66ec88fSEmmanuel Vadot};
35