arm64: dts: rockchip: rk3588-nvr: Add hdmi sound for nvr demo

Signed-off-by: Huang zhibao <hzb@rock-chips.com>
Change-Id: I9527e167cb613000f2d195197218a2996afa1957
This commit is contained in:
Huang zhibao
2021-11-18 14:49:59 +08:00
committed by Tao Huang
parent 05ac65fc85
commit d49dbe6291
2 changed files with 38 additions and 0 deletions

View File

@@ -216,6 +216,10 @@
status = "okay";
};
&hdmi0_sound {
status = "okay";
};
&hdptxphy_hdmi0 {
status = "okay";
};
@@ -278,6 +282,10 @@
&i2s0_sdo0>;
};
&i2s5_8ch {
status = "okay";
};
&mdio0 {
rgmii_phy0: phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";

View File

@@ -27,6 +27,36 @@
};
};
hdmi0_sound: hdmi0-sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <128>;
simple-audio-card,name = "rockchip,hdmi0";
simple-audio-card,cpu {
sound-dai = <&i2s5_8ch>;
};
simple-audio-card,codec {
sound-dai = <&hdmi0>;
};
};
hdmi1_sound: hdmi1-sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <128>;
simple-audio-card,name = "rockchip,hdmi1";
simple-audio-card,cpu {
sound-dai = <&i2s6_8ch>;
};
simple-audio-card,codec {
sound-dai = <&hdmi1>;
};
};
test-power {
status = "okay";
};