Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1667628

[PATCH v2 2/2] arm64: dts: rockchip: enable usb2 for RK3328 evaluation board

From William Wu <william.wu@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/2] arm64: dts: rockchip: enable usb2 for RK3328 evaluation board
Date 2017-06-16 12:40 +0200
Message-ID <tSWPw-7fv-13@gated-at.bofh.it> (permalink)
References <tSWPw-7fv-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Rockchip's RK3328 evaluation board has one usb2 otg controller
and one usb2 host controller which consist of EHCI and OHCI.
Each usb controller connects with one usb2 phy port through
UTMI+ interface. Let's enable them to support usb2 on RK3328
evaluation board.

Signed-off-by: William Wu <william.wu@rock-chips.com>
---
Changes in v2:
- None

 arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
index cf27239..da02bb7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
@@ -55,3 +55,28 @@
 &uart2 {
 	status = "okay";
 };
+
+&u2phy {
+	status = "okay";
+
+	u2phy_otg: otg-port {
+		status = "okay";
+	};
+
+	u2phy_host: host-port {
+		status = "okay";
+	};
+
+};
+
+&usb20_otg {
+	status = "okay";
+};
+
+&usb_host0_ehci {
+	status = "okay";
+};
+
+&usb_host0_ohci {
+	status = "okay";
+};
-- 
2.0.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2 2/2] arm64: dts: rockchip: enable usb2 for RK3328 evaluation board William Wu <william.wu@rock-chips.com> - 2017-06-16 12:40 +0200

csiph-web