Make USB3 support of ROCK Pi E on par with other rk3328 boards (#2050)

This commit is contained in:
Piotr Szczepanik 2020-06-23 16:37:54 +02:00 committed by GitHub
parent b3c75bdfb8
commit 72257bd064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -15,7 +15,7 @@ new file mode 100644
index 000000000..52732643f
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts
@@ -0,0 +1,467 @@
@@ -0,0 +1,470 @@
+/*
+ * SPDX-License-Identifier: (GPL-2.0+ or MIT)
+ * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
@ -79,6 +79,8 @@ index 000000000..52732643f
+ gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&host_vbus_drv>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_host_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
@ -466,6 +468,7 @@ index 000000000..52732643f
+};
+
+&usbdrd_dwc3 {
+ dr_mode = "host";
+ status = "okay";
+};
+

View File

@ -15,7 +15,7 @@ new file mode 100644
index 000000000..52732643f
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts
@@ -0,0 +1,467 @@
@@ -0,0 +1,470 @@
+/*
+ * SPDX-License-Identifier: (GPL-2.0+ or MIT)
+ * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
@ -79,6 +79,8 @@ index 000000000..52732643f
+ gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&host_vbus_drv>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_host_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
@ -466,6 +468,7 @@ index 000000000..52732643f
+};
+
+&usbdrd_dwc3 {
+ dr_mode = "host";
+ status = "okay";
+};
+