summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/salvator-common.dtsi
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2017-12-07 18:55:42 +0900
committerSimon Horman <horms+renesas@verge.net.au>2017-12-21 10:22:12 +0100
commit68b2c029e6200933fa3f6c06c8e6de33e8c78c51 (patch)
tree76c1f9e358efe957a0be2bbf0b40d3f320b0079b /arch/arm64/boot/dts/renesas/salvator-common.dtsi
parentd27f4ba7cc1556dd0e7806fd45b5430cbd6f9538 (diff)
arm64: dts: renesas: salvator-common: enable usb3_peri0
This patch enables usb3_peri0 that uses usb3_phy0 to enable VBUS detection for the USB3.0 peripheral. The Salvator-X[S] has USB3.0 type-A connector and supplies VBUS if USB3.0 host runs. So, you need a special cable for it, and to stop the VBUS supplies from the board, after you installs a gadget driver, you should run the following command to avoid conflict VBUS supply: # echo 1 > /sys/kernel/debug/ee020000.usb/b_device Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/salvator-common.dtsi')
-rw-r--r--arch/arm64/boot/dts/renesas/salvator-common.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
index 38831a734019..a7c1dd1d905a 100644
--- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
@@ -667,6 +667,13 @@
status = "okay";
};
+&usb3_peri0 {
+ phys = <&usb3_phy0>;
+ phy-names = "usb";
+
+ status = "okay";
+};
+
&usb3_phy0 {
status = "okay";
};