diff mbox series

[U-Boot] ARM: dts: rmobile: Enable USB on E2 Alt

Message ID 20190409161835.17596-1-marek.vasut+renesas@gmail.com
State Accepted
Commit 81abfa68f1df22fc50fe61a1a3c827b77781c88c
Delegated to: Marek Vasut
Headers show
Series [U-Boot] ARM: dts: rmobile: Enable USB on E2 Alt | expand

Commit Message

Marek Vasut April 9, 2019, 4:18 p.m. UTC
The E2 Alt board has two USB ports, add missing DT nodes to make the
USB available.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 arch/arm/dts/r8a7794-alt-u-boot.dts | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/r8a7794-alt-u-boot.dts b/arch/arm/dts/r8a7794-alt-u-boot.dts
index 14cd39297e..29b0e32d14 100644
--- a/arch/arm/dts/r8a7794-alt-u-boot.dts
+++ b/arch/arm/dts/r8a7794-alt-u-boot.dts
@@ -13,6 +13,30 @@ 
 	clock-frequency = <100000>;
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
+&pfc {
+	usb0_pins: usb0 {
+		groups = "usb0";
+		function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		groups = "usb1";
+		function = "usb1";
+	};
+};
+
 &scif2 {
 	u-boot,dm-pre-reloc;
 };
@@ -23,3 +47,7 @@ 
 		spi-rx-bus-width = <1>;
 	};
 };
+
+&usbphy {
+	status = "okay";
+};