Commit b0e1caee authored by Stephen Warren's avatar Stephen Warren

ARM: tegra: add sound card to Venice2 DT

Venice2 uses the MAX98090 audio CODEC, and supports built-in speakers,
and a combo headphones/microphone jack. Add a top-level sound card node
to represent this.
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent e6655578
...@@ -17,6 +17,13 @@ serial@70006000 { ...@@ -17,6 +17,13 @@ serial@70006000 {
i2c@7000c000 { i2c@7000c000 {
status = "okay"; status = "okay";
clock-frequency = <100000>; clock-frequency = <100000>;
acodec: audio-codec@10 {
compatible = "maxim,max98090";
reg = <0x10>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
};
}; };
i2c@7000c400 { i2c@7000c400 {
...@@ -62,6 +69,12 @@ sdhci@700b0600 { ...@@ -62,6 +69,12 @@ sdhci@700b0600 {
bus-width = <8>; bus-width = <8>;
}; };
ahub@70300000 {
i2s@70301100 {
status = "okay";
};
};
clocks { clocks {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
...@@ -74,4 +87,26 @@ clk32k_in: clock@0 { ...@@ -74,4 +87,26 @@ clk32k_in: clock@0 {
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
}; };
sound {
compatible = "nvidia,tegra-audio-max98090-venice2",
"nvidia,tegra-audio-max98090";
nvidia,model = "NVIDIA Tegra Venice2";
nvidia,audio-routing =
"Headphones", "HPR",
"Headphones", "HPL",
"Speakers", "SPKR",
"Speakers", "SPKL",
"Mic Jack", "MICBIAS",
"IN34", "Mic Jack";
nvidia,i2s-controller = <&tegra_i2s1>;
nvidia,audio-codec = <&acodec>;
clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
<&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
<&tegra_car TEGRA124_CLK_EXTERN1>;
clock-names = "pll_a", "pll_a_out0", "mclk";
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment