Skip to content

Commit dcbc408

Browse files
digetxthierryreding
authored andcommitted
ARM: tegra: Add S/PDIF node to Tegra20 device-tree
Add S/PDIF node to Tegra20 device-tree. It's needed for enabling HDMI audio support. Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 279e7aa commit dcbc408

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

arch/arm/boot/dts/tegra20.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@
189189
reset-names = "hdmi";
190190
power-domains = <&pd_core>;
191191
operating-points-v2 = <&hdmi_dvfs_opp_table>;
192+
#sound-dai-cells = <0>;
192193
status = "disabled";
193194
};
194195

@@ -388,6 +389,23 @@
388389
status = "disabled";
389390
};
390391

392+
tegra_spdif: spdif@70002400 {
393+
compatible = "nvidia,tegra20-spdif";
394+
reg = <0x70002400 0x200>;
395+
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
396+
clocks = <&tegra_car TEGRA20_CLK_SPDIF_OUT>,
397+
<&tegra_car TEGRA20_CLK_SPDIF_IN>;
398+
clock-names = "out", "in";
399+
resets = <&tegra_car 10>;
400+
dmas = <&apbdma 3>, <&apbdma 3>;
401+
dma-names = "rx", "tx";
402+
#sound-dai-cells = <0>;
403+
status = "disabled";
404+
405+
assigned-clocks = <&tegra_car TEGRA20_CLK_SPDIF_OUT>;
406+
assigned-clock-parents = <&tegra_car TEGRA20_CLK_PLL_A_OUT0>;
407+
};
408+
391409
tegra_i2s1: i2s@70002800 {
392410
compatible = "nvidia,tegra20-i2s";
393411
reg = <0x70002800 0x200>;

0 commit comments

Comments
 (0)