xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nvidia,tegra30-hda.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNVIDIA Tegra30 HDA controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible : For Tegra30, must contain "nvidia,tegra30-hda".  Otherwise,
5*c66ec88fSEmmanuel Vadot  must contain '"nvidia,<chip>-hda", "nvidia,tegra30-hda"', where <chip> is
6*c66ec88fSEmmanuel Vadot  tegra114, tegra124, or tegra132.
7*c66ec88fSEmmanuel Vadot- reg : Should contain the HDA registers location and length.
8*c66ec88fSEmmanuel Vadot- interrupts : The interrupt from the HDA controller.
9*c66ec88fSEmmanuel Vadot- clocks : Must contain an entry for each required entry in clock-names.
10*c66ec88fSEmmanuel Vadot  See ../clocks/clock-bindings.txt for details.
11*c66ec88fSEmmanuel Vadot- clock-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x
12*c66ec88fSEmmanuel Vadot- resets : Must contain an entry for each entry in reset-names.
13*c66ec88fSEmmanuel Vadot  See ../reset/reset.txt for details.
14*c66ec88fSEmmanuel Vadot- reset-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotOptional properties:
17*c66ec88fSEmmanuel Vadot- nvidia,model : The user-visible name of this sound complex. Since the property
18*c66ec88fSEmmanuel Vadot  is optional, legacy boards can use default name provided in hda driver.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotExample:
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadothda@70030000 {
23*c66ec88fSEmmanuel Vadot	compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda";
24*c66ec88fSEmmanuel Vadot	reg = <0x0 0x70030000 0x0 0x10000>;
25*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
26*c66ec88fSEmmanuel Vadot	clocks = <&tegra_car TEGRA124_CLK_HDA>,
27*c66ec88fSEmmanuel Vadot		 <&tegra_car TEGRA124_CLK_HDA2HDMI>,
28*c66ec88fSEmmanuel Vadot		 <&tegra_car TEGRA124_CLK_HDA2CODEC_2X>;
29*c66ec88fSEmmanuel Vadot	clock-names = "hda", "hda2hdmi", "hda2codec_2x";
30*c66ec88fSEmmanuel Vadot	resets = <&tegra_car 125>, /* hda */
31*c66ec88fSEmmanuel Vadot		 <&tegra_car 128>, /* hda2hdmi */
32*c66ec88fSEmmanuel Vadot		 <&tegra_car 111>; /* hda2codec_2x */
33*c66ec88fSEmmanuel Vadot	reset-names = "hda", "hda2hdmi", "hda2codec_2x";
34*c66ec88fSEmmanuel Vadot	nvidia,model = "jetson-tk1-hda";
35*c66ec88fSEmmanuel Vadot};
36