forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
....@@ -41,9 +41,51 @@
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
+&pca9654 {
58
+ pcie_sata_switch {
59
+ gpio-hog;
60
+ gpios = <7 GPIO_ACTIVE_HIGH>;
61
+ output-low; /* enable SATA by default */
62
+ line-name = "PCIE/SATA switch";
63
+ };
64
+};
65
+
66
+&rcar_sound {
67
+ ports {
68
+ rsnd_port1: port@1 {
69
+ reg = <1>;
70
+ rsnd_endpoint1: endpoint {
71
+ remote-endpoint = <&dw_hdmi0_snd_in>;
72
+
73
+ dai-format = "i2s";
74
+ bitclock-master = <&rsnd_endpoint1>;
75
+ frame-master = <&rsnd_endpoint1>;
76
+
77
+ playback = <&ssi2>;
78
+ };
79
+ };
80
+ };
81
+};
82
+
83
+/* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */
84
+&sata {
85
+ status = "okay";
86
+};
87
+
88
+&sound_card {
89
+ dais = <&rsnd_port0 /* ak4613 */
90
+ &rsnd_port1>; /* HDMI0 */
91
+};