From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP
Date: Tue, 18 Nov 2014 20:37:12 +0100 [thread overview]
Message-ID: <546B9FE8.2010404@gmail.com> (raw)
In-Reply-To: <1416231347-27193-12-git-send-email-antoine.tenart@free-electrons.com>
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 <antoine.tenart@free-electrons.com>
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 <dt-bindings/gpio/gpio.h>
> #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 at 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 at 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 at 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";
> };
>
next prev parent reply other threads:[~2014-11-18 19:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-17 13:35 [PATCH v8 00/13] ARM: berlin: USB support Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 01/13] reset: add the Berlin reset controller driver Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 02/13] Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 03/13] ARM: Berlin: select the reset controller Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 04/13] ARM: dts: berlin: add a required reset property in the chip controller node Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 05/13] phy: add the Berlin USB PHY driver Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 06/13] Documentation: bindings: add doc for the Berlin USB PHY Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 07/13] usb: chipidea: fix phy handling Antoine Tenart
2014-11-18 4:47 ` Peter Chen
2014-11-17 13:35 ` [PATCH v8 08/13] usb: chipidea: add a usb2 driver for ci13xxx Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 09/13] Documentation: bindings: add doc for the USB2 ChipIdea USB driver Antoine Tenart
2014-11-17 13:35 ` [PATCH v8 10/13] ARM: dts: berlin: add BG2Q nodes for USB support Antoine Tenart
2014-11-17 18:26 ` Sergei Shtylyov
2014-11-18 19:36 ` Sebastian Hesselbarth
2014-11-17 13:35 ` [PATCH v8 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP Antoine Tenart
2014-11-18 19:37 ` Sebastian Hesselbarth [this message]
2014-11-17 13:35 ` [PATCH v8 12/13] ARM: dts: berlin: add BG2CD nodes for USB support Antoine Tenart
2014-11-18 19:38 ` Sebastian Hesselbarth
2014-11-17 13:35 ` [PATCH v8 13/13] ARM: dts: berlin: enable USB on the Google Chromecast Antoine Tenart
2014-11-18 19:38 ` Sebastian Hesselbarth
2014-11-18 5:00 ` [PATCH v8 00/13] ARM: berlin: USB support Peter Chen
2014-11-18 19:40 ` Sebastian Hesselbarth
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=546B9FE8.2010404@gmail.com \
--to=sebastian.hesselbarth@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).