xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nvidia,tegra20-ac97.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNVIDIA Tegra 20 AC97 controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible : "nvidia,tegra20-ac97"
5*c66ec88fSEmmanuel Vadot- reg : Should contain AC97 controller registers location and length
6*c66ec88fSEmmanuel Vadot- interrupts : Should contain AC97 interrupt
7*c66ec88fSEmmanuel Vadot- resets : Must contain an entry for each entry in reset-names.
8*c66ec88fSEmmanuel Vadot  See ../reset/reset.txt for details.
9*c66ec88fSEmmanuel Vadot- reset-names : Must include the following entries:
10*c66ec88fSEmmanuel Vadot  - ac97
11*c66ec88fSEmmanuel Vadot- dmas : Must contain an entry for each entry in clock-names.
12*c66ec88fSEmmanuel Vadot  See ../dma/dma.txt for details.
13*c66ec88fSEmmanuel Vadot- dma-names : Must include the following entries:
14*c66ec88fSEmmanuel Vadot  - rx
15*c66ec88fSEmmanuel Vadot  - tx
16*c66ec88fSEmmanuel Vadot- clocks : Must contain one entry, for the module clock.
17*c66ec88fSEmmanuel Vadot  See ../clocks/clock-bindings.txt for details.
18*c66ec88fSEmmanuel Vadot- nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number
19*c66ec88fSEmmanuel Vadot  of the GPIO used to reset the external AC97 codec
20*c66ec88fSEmmanuel Vadot- nvidia,codec-sync-gpio : The Tegra GPIO controller's phandle and the number
21*c66ec88fSEmmanuel Vadot  of the GPIO corresponding with the AC97 DAP _FS line
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel VadotExample:
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadotac97@70002000 {
26*c66ec88fSEmmanuel Vadot	compatible = "nvidia,tegra20-ac97";
27*c66ec88fSEmmanuel Vadot	reg = <0x70002000 0x200>;
28*c66ec88fSEmmanuel Vadot	interrupts = <0 81 0x04>;
29*c66ec88fSEmmanuel Vadot	nvidia,codec-reset-gpio = <&gpio 170 0>;
30*c66ec88fSEmmanuel Vadot	nvidia,codec-sync-gpio = <&gpio 120 0>;
31*c66ec88fSEmmanuel Vadot	clocks = <&tegra_car 3>;
32*c66ec88fSEmmanuel Vadot	resets = <&tegra_car 3>;
33*c66ec88fSEmmanuel Vadot	reset-names = "ac97";
34*c66ec88fSEmmanuel Vadot	dmas = <&apbdma 12>, <&apbdma 12>;
35*c66ec88fSEmmanuel Vadot	dma-names = "rx", "tx";
36*c66ec88fSEmmanuel Vadot};
37