ARM: dts: rockchip: enable usb for rv1108-evb
authorFrank Wang <frank.wang@rock-chips.com>
Mon, 21 Aug 2017 08:39:28 +0000 (16:39 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 23 Aug 2017 07:24:51 +0000 (09:24 +0200)
Rockchip's rv1108-evb board has one usb otg controller and one usb
host controller, each usb controller connect with one usb-phy port
through UTMI+ interface. This patch enables them to support usb on
rv1108-evb board.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rv1108-evb.dts

index d5adcc7..86a57f8 100644 (file)
        status = "okay";
 };
 
+&u2phy {
+       status = "okay";
+
+       u2phy_host: host-port {
+               status = "okay";
+       };
+
+       u2phy_otg: otg-port {
+               status = "okay";
+       };
+};
+
 &uart0 {
        status = "okay";
 };
 &uart2 {
        status = "okay";
 };
+
+&usb_host_ehci {
+       status = "okay";
+};
+
+&usb_host_ohci {
+       status = "okay";
+};
+
+&usb_otg {
+       status = "okay";
+};