ARM: dts: lpc4357-ea4357: add usb0
authorJoachim Eastwood <manabian@gmail.com>
Thu, 30 Jul 2015 22:24:22 +0000 (00:24 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 5 Aug 2015 17:30:18 +0000 (19:30 +0200)
Enable USB0 on the EA4357 devkit and setup the required USB0
control pins.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts

index 3a3ba16fe6904751ca5c192c107f3e36fbf84e74..9ac096746360417fb0245b204bab93b7cb1f0a69 100644 (file)
                        bias-pull-down;
                };
        };
+
+       usb0_pins: usb0-pins {
+               usb0_pwr_enable {
+                       pins = "p2_3";
+                       function = "usb0";
+               };
+
+               usb0_pwr_fault {
+                       pins = "p8_0";
+                       function = "usb0";
+                       bias-disable;
+                       input-enable;
+               };
+       };
 };
 
 &enet_tx_clk {
        pinctrl-names = "default";
        pinctrl-0 = <&uart3_pins>;
 };
+
+&usb0 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb0_pins>;
+};