forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts
....@@ -41,9 +41,37 @@
4141 remote-endpoint = <&hdmi0_con>;
4242 };
4343 };
44
+ port@2 {
45
+ reg = <2>;
46
+ dw_hdmi0_snd_in: endpoint {
47
+ remote-endpoint = <&rsnd_endpoint1>;
48
+ };
49
+ };
4450 };
4551 };
4652
4753 &hdmi0_con {
4854 remote-endpoint = <&rcar_dw_hdmi0_out>;
4955 };
56
+
57
+&rcar_sound {
58
+ ports {
59
+ rsnd_port1: port@1 {
60
+ reg = <1>;
61
+ rsnd_endpoint1: endpoint {
62
+ remote-endpoint = <&dw_hdmi0_snd_in>;
63
+
64
+ dai-format = "i2s";
65
+ bitclock-master = <&rsnd_endpoint1>;
66
+ frame-master = <&rsnd_endpoint1>;
67
+
68
+ playback = <&ssi2>;
69
+ };
70
+ };
71
+ };
72
+};
73
+
74
+&sound_card {
75
+ dais = <&rsnd_port0 /* ak4613 */
76
+ &rsnd_port1>; /* HDMI0 */
77
+};