Skip to content

Commit 3a0832d

Browse files
Wolfram Sanghorms
authored andcommitted
arm64: dts: renesas: salvator-xs: enable SATA
Add the nodes to enable SATA. Note that MD12 (SW12-7) must be switched off for that to work. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 346f022 commit 3a0832d

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@
151151
};
152152
};
153153

154+
&pca9654 {
155+
pcie_sata_switch {
156+
gpio-hog;
157+
gpios = <7 GPIO_ACTIVE_HIGH>;
158+
output-low; /* enable SATA by default */
159+
line-name = "PCIE/SATA switch";
160+
};
161+
};
162+
154163
&pfc {
155164
usb2_pins: usb2 {
156165
groups = "usb2";
@@ -175,6 +184,11 @@
175184
};
176185
};
177186

187+
/* MD12 (SW12-7) must be set 'Off' which is not the default! */
188+
&sata {
189+
status = "okay";
190+
};
191+
178192
&usb2_phy2 {
179193
pinctrl-0 = <&usb2_pins>;
180194
pinctrl-names = "default";

arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,17 @@
4747
&hdmi0_con {
4848
remote-endpoint = <&rcar_dw_hdmi0_out>;
4949
};
50+
51+
&pca9654 {
52+
pcie_sata_switch {
53+
gpio-hog;
54+
gpios = <7 GPIO_ACTIVE_HIGH>;
55+
output-low; /* enable SATA by default */
56+
line-name = "PCIE/SATA switch";
57+
};
58+
};
59+
60+
/* MD12 (SW12-7) must be set 'Off' which is not the default! */
61+
&sata {
62+
status = "okay";
63+
};

0 commit comments

Comments
 (0)