ARM: dts: rmobile: Enable USB on E2 Alt
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 30 Mar 2019 06:58:43 +0000 (07:58 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 9 Apr 2019 16:19:10 +0000 (18:19 +0200)
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

index 14cd39297e6f1e425b5821c50bfff6523c3a835d..29b0e32d14fc2ec4d9d5eb4b4186ad3f9062c9e0 100644 (file)
        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";
+};