Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755345AbaKRThU (ORCPT ); Tue, 18 Nov 2014 14:37:20 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:33943 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755044AbaKRThQ (ORCPT ); Tue, 18 Nov 2014 14:37:16 -0500 Message-ID: <546B9FE8.2010404@gmail.com> Date: Tue, 18 Nov 2014 20:37:12 +0100 From: Sebastian Hesselbarth User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 To: Antoine Tenart , Peter.Chen@freescale.com, balbi@ti.com, p.zabel@pengutronix.de CC: alexandre.belloni@free-electrons.com, thomas.petazzoni@free-electrons.com, zmxu@marvell.com, jszhang@marvell.com, michal.simek@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP References: <1416231347-27193-1-git-send-email-antoine.tenart@free-electrons.com> <1416231347-27193-12-git-send-email-antoine.tenart@free-electrons.com> In-Reply-To: <1416231347-27193-12-git-send-email-antoine.tenart@free-electrons.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17.11.2014 14:35, Antoine Tenart wrote: > Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q > DMP. > > Signed-off-by: Antoine Tenart Applied to berlin/dt. Thanks! > --- > arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++++++++++++++++++++++++++++++ > 1 file changed, 53 insertions(+) > > diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts > index ea1f99b8eed6..f7c25580e122 100644 > --- a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts > +++ b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts > @@ -7,6 +7,8 @@ > */ > > /dts-v1/; > + > +#include > #include "berlin2q.dtsi" > > / { > @@ -21,6 +23,39 @@ > choosen { > bootargs = "console=ttyS0,115200 earlyprintk"; > }; > + > + regulators { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + reg_usb0_vbus: regulator@0 { > + compatible = "regulator-fixed"; > + regulator-name = "usb0_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + gpio = <&portb 8 GPIO_ACTIVE_HIGH>; > + enable-active-high; > + }; > + > + reg_usb1_vbus: regulator@1 { > + compatible = "regulator-fixed"; > + regulator-name = "usb1_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + gpio = <&portb 10 GPIO_ACTIVE_HIGH>; > + enable-active-high; > + }; > + > + reg_usb2_vbus: regulator@2 { > + compatible = "regulator-fixed"; > + regulator-name = "usb2_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + gpio = <&portb 12 GPIO_ACTIVE_HIGH>; > + enable-active-high; > + }; > + }; > }; > > &sdhci1 { > @@ -46,6 +81,24 @@ > status = "okay"; > }; > > +&usb_phy0 { > + status = "okay"; > +}; > + > +&usb_phy2 { > + status = "okay"; > +}; > + > +&usb0 { > + vbus-supply = <®_usb0_vbus>; > + status = "okay"; > +}; > + > +&usb2 { > + vbus-supply = <®_usb2_vbus>; > + status = "okay"; > +}; > + > ð0 { > status = "okay"; > }; > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/