ARM: dts: k2g-evm: Enable USB 0 and 1
authorRoger Quadros <rogerq@ti.com>
Mon, 9 Oct 2017 16:23:31 +0000 (09:23 -0700)
committerSantosh Shilimkar <ssantosh@kernel.org>
Tue, 10 Oct 2017 16:42:27 +0000 (09:42 -0700)
Enable USB 0 which will be used as a host port and USB 1 which will be
used in peripheral mode.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
arch/arm/boot/dts/keystone-k2g-evm.dts

index a6ad5fc..ef388de 100644 (file)
                reg = <0x50>;
        };
 };
+
+&keystone_usb0 {
+       status = "okay";
+};
+
+&usb0_phy {
+       status = "okay";
+};
+
+&usb0 {
+       dr_mode = "host";
+       status = "okay";
+};
+
+&keystone_usb1 {
+       status = "okay";
+};
+
+&usb1_phy {
+       status = "okay";
+};
+
+&usb1 {
+       dr_mode = "peripheral";
+       status = "okay";
+};