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 1/9] ARM: dts: lpc18xx: add usb otg phy node
Date: Fri, 31 Jul 2015 00:24:19 +0200	[thread overview]
Message-ID: <1438295067-24407-2-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1438295067-24407-1-git-send-email-manabian@gmail.com>

Add the USB OTG phy under the CREG syscon node and attach it to
the USB0 EHCI controller.

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

diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi
index c17b82cc2d4c..afd9d3b40eb1 100644
--- a/arch/arm/boot/dts/lpc18xx.dtsi
+++ b/arch/arm/boot/dts/lpc18xx.dtsi
@@ -83,6 +83,8 @@
 			reg = <0x40006100 0x100>;
 			interrupts = <8>;
 			clocks = <&ccu1 CLK_CPU_USB0>;
+			phys = <&usb0_otg_phy>;
+			phy-names = "usb";
 			has-transaction-translator;
 			status = "disabled";
 		};
@@ -109,6 +111,12 @@
 			compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
 			reg = <0x40043000 0x1000>;
 			clocks = <&ccu1 CLK_CPU_CREG>;
+
+			usb0_otg_phy: phy at 004 {
+				compatible = "nxp,lpc1850-usb-otg-phy";
+				clocks = <&ccu1 CLK_USB0>;
+				#phy-cells = <0>;
+			};
 		};
 
 		cgu: clock-controller at 40050000 {
-- 
1.8.0

  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 ` Joachim Eastwood [this message]
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 ` [PATCH 4/9] ARM: dts: lpc4357-ea4357: add usb0 Joachim Eastwood
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-2-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).