summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-07-31 00:24:22 +0200
committerOlof Johansson <olof@lixom.net>2015-08-05 19:30:18 +0200
commitfd0cb235dfff271340485b2323170eaf968c0ab6 (patch)
tree69e47f24c7c0bddf4ba88ac8debfcda540cb67df /arch/arm
parentARM: dts: lpc18xx: add pl172 memory-controller node (diff)
downloadlinux-fd0cb235dfff271340485b2323170eaf968c0ab6.tar.xz
linux-fd0cb235dfff271340485b2323170eaf968c0ab6.zip
ARM: dts: lpc4357-ea4357: add usb0
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/lpc4357-ea4357-devkit.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
index 3a3ba16fe690..9ac096746360 100644
--- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
+++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
@@ -221,6 +221,20 @@
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 {
@@ -253,3 +267,9 @@
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
};
+
+&usb0 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb0_pins>;
+};