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