[U-Boot] [PATCH] ARM: dts: rmobile: Enable USB on E2 Alt
Marek Vasut
marek.vasut at gmail.com
Tue Apr 9 16:18:35 UTC 2019
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 at gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
arch/arm/dts/r8a7794-alt-u-boot.dts | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
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";
+};
--
2.20.1
More information about the U-Boot
mailing list