Needs this GPIO hog, so is probably an overlay?
Signed-off-by: Wolfram Sang <[email protected]>
---
So, this makes SATA work without any user interaction. But as said above, this
should probably be an overlay? Or any other way to deal with it? Also, we don't
have any way to check that SW12/7 is set correctly, or?
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts
b/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts
index 7675de5d4f2cb1..b44ed5fbec7cb9 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts
@@ -101,6 +101,19 @@
};
};
+&pca9654 {
+ pcie_sata_switch {
+ gpio-hog;
+ gpios = <7>;
+ output-low;
+ line-name = "PCIE/SATA switch";
+ };
+};
+
+&sata {
+ status = "okay";
+};
+
&usb2_phy2 {
pinctrl-0 = <&usb2_pins>;
pinctrl-names = "default";
--
2.11.0