Commit 3a0832d0 authored by Wolfram Sang's avatar Wolfram Sang Committed by Simon Horman

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: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 346f0227
...@@ -151,6 +151,15 @@ rsnd_endpoint2: endpoint { ...@@ -151,6 +151,15 @@ rsnd_endpoint2: endpoint {
}; };
}; };
&pca9654 {
pcie_sata_switch {
gpio-hog;
gpios = <7 GPIO_ACTIVE_HIGH>;
output-low; /* enable SATA by default */
line-name = "PCIE/SATA switch";
};
};
&pfc { &pfc {
usb2_pins: usb2 { usb2_pins: usb2 {
groups = "usb2"; groups = "usb2";
...@@ -175,6 +184,11 @@ usb2_ch3_pins: usb2_ch3 { ...@@ -175,6 +184,11 @@ usb2_ch3_pins: usb2_ch3 {
}; };
}; };
/* MD12 (SW12-7) must be set 'Off' which is not the default! */
&sata {
status = "okay";
};
&usb2_phy2 { &usb2_phy2 {
pinctrl-0 = <&usb2_pins>; pinctrl-0 = <&usb2_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -47,3 +47,17 @@ rcar_dw_hdmi0_out: endpoint { ...@@ -47,3 +47,17 @@ rcar_dw_hdmi0_out: endpoint {
&hdmi0_con { &hdmi0_con {
remote-endpoint = <&rcar_dw_hdmi0_out>; remote-endpoint = <&rcar_dw_hdmi0_out>;
}; };
&pca9654 {
pcie_sata_switch {
gpio-hog;
gpios = <7 GPIO_ACTIVE_HIGH>;
output-low; /* enable SATA by default */
line-name = "PCIE/SATA switch";
};
};
/* MD12 (SW12-7) must be set 'Off' which is not the default! */
&sata {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment