riscv: dts: starfive: Add HDMI-Sound card node
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 16 Jan 2024 07:52:24 +0000 (16:52 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2024 00:13:59 +0000 (09:13 +0900)
Add HDMI-Sound card node as sound-i2s.

Change-Id: Iff48e6cd370795a69ccdb026ea9de2412045fc19
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

index 02a4dbd26262f650e3301fed9c3a30b8637cdb5f..6484b6f288bdcb39cb2a9f6cacbc7301d990f48e 100644 (file)
                        };
                };
        };
+
+       sound-i2s {
+               compatible = "simple-audio-card";
+               simple-audio-card,name = "StarFive-HDMI-Sound-Card";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               simple-audio-card,dai-link@0 {
+                       reg = <0>;
+                       format = "i2s";
+                       bitclock-master = <&sndi2s0>;
+                       frame-master = <&sndi2s0>;
+                       mclk-fs = <256>;
+
+                       sndi2s0: cpu {
+                               sound-dai = <&i2stx0>;
+                       };
+
+                       sndhdmi0: codec {
+                               sound-dai = <&hdmi>;
+                       };
+               };
+       };
 };
 
 &dc8200 {