From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wznsv-00080W-Jx for barebox@lists.infradead.org; Wed, 25 Jun 2014 14:09:14 +0000 Received: by mail-wi0-f173.google.com with SMTP id cc10so8023495wib.0 for ; Wed, 25 Jun 2014 07:08:49 -0700 (PDT) From: Sebastian Hesselbarth Date: Wed, 25 Jun 2014 16:08:47 +0200 Message-Id: <1403705328-9924-4-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1403705328-9924-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1403705328-9924-1-git-send-email-sebastian.hesselbarth@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH RFC 3/4] ARM: dts: add new USB nodes to Dove CuBox To: Sebastian Hesselbarth Cc: Thomas Petazzoni , barebox@lists.infradead.org, Jason Cooper , Andrew Lunn Add new MVEBU usb controller nodes to CuBox dts overlay to show how it should be included upstream. Signed-off-by: Sebastian Hesselbarth --- Cc: barebox@lists.infradead.org Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Thomas Petazzoni Cc: Ezequiel Garcia --- arch/arm/dts/dove-cubox-bb.dts | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/dts/dove-cubox-bb.dts b/arch/arm/dts/dove-cubox-bb.dts index f7ad55c4e794..65d19c057bab 100644 --- a/arch/arm/dts/dove-cubox-bb.dts +++ b/arch/arm/dts/dove-cubox-bb.dts @@ -15,4 +15,46 @@ barebox,default-trigger = "heartbeat"; }; }; + + mbus { + internal-regs { + usb0: usb@50000 { + compatible = "marvell,mvebu-usb"; + reg = <0x50000 0x400>; + interrupts = <24>; + clocks = <&gate_clk 0>; + usb-phy = <&usb_phy0>; + vbus-supply = <&usb_power>; + dr_mode = "host"; + status = "okay"; + }; + + usb_phy0: phy@50400 { + compatible = "marvell,mvebu-usb-phy-65nm"; + reg = <0x50400 0x100>; + clocks = <&gate_clk 0>; + #phy-cells = <0>; + status = "okay"; + }; + + usb1: usb@51000 { + compatible = "marvell,mvebu-usb"; + reg = <0x51000 0x400>; + interrupts = <25>; + clocks = <&gate_clk 1>; + usb-phy = <&usb_phy1>; + vbus-supply = <&usb_power>; + dr_mode = "host"; + status = "okay"; + }; + + usb_phy1: phy@51400 { + compatible = "marvell,mvebu-usb-phy-65nm"; + reg = <0x51400 0x100>; + clocks = <&gate_clk 1>; + #phy-cells = <0>; + status = "okay"; + }; + }; + }; }; -- 2.0.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox