linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/9] ARM: dts: lpc4357-ea4357: add usb0
Date: Fri, 31 Jul 2015 00:24:22 +0200	[thread overview]
Message-ID: <1438295067-24407-5-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1438295067-24407-1-git-send-email-manabian@gmail.com>

Enable USB0 on the EA4357 devkit and setup the required USB0
control pins.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
 arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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>;
+};
-- 
1.8.0

  parent reply	other threads:[~2015-07-30 22:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 22:24 [PATCH 0/9] LPC18xx DTS changes for 4.3 part2 Joachim Eastwood
2015-07-30 22:24 ` [PATCH 1/9] ARM: dts: lpc18xx: add usb otg phy node Joachim Eastwood
2015-07-30 22:24 ` [PATCH 2/9] ARM: dts: lpc18xx: add pl111 lcd controller node Joachim Eastwood
2015-07-30 22:24 ` [PATCH 3/9] ARM: dts: lpc18xx: add pl172 memory-controller node Joachim Eastwood
2015-07-30 22:24 ` Joachim Eastwood [this message]
2015-07-30 22:24 ` [PATCH 5/9] ARM: dts: lpc4357-ea4357: add emc pins and static memory devices Joachim Eastwood
2015-07-30 22:24 ` [PATCH 6/9] ARM: dts: lpc4357-ea4357: add mmio-gpio leds Joachim Eastwood
2015-07-30 22:24 ` [PATCH 7/9] ARM: dts: lpc4350-hitex-eval: add pinctrl and uart0 muxing Joachim Eastwood
2015-07-30 22:24 ` [PATCH 8/9] ARM: dts: lpc4350-hitex-eval: add ethernet Joachim Eastwood
2015-07-30 22:24 ` [PATCH 9/9] ARM: dts: lpc4350-hitex-eval: add emc pins and static memory devices Joachim Eastwood
2015-08-06  7:28 ` [PATCH 0/9] LPC18xx DTS changes for 4.3 part2 Olof Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438295067-24407-5-git-send-email-manabian@gmail.com \
    --to=manabian@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).