From: Joachim Eastwood Date: Thu, 30 Jul 2015 22:24:22 +0000 (+0200) Subject: ARM: dts: lpc4357-ea4357: add usb0 X-Git-Tag: firefly_0821_release~176^2~1183^2~30 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fd0cb235dfff271340485b2323170eaf968c0ab6;p=firefly-linux-kernel-4.4.55.git ARM: dts: lpc4357-ea4357: add usb0 Enable USB0 on the EA4357 devkit and setup the required USB0 control pins. Signed-off-by: Joachim Eastwood Signed-off-by: Olof Johansson --- 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>; +};