All of lore.kernel.org
 help / color / mirror / Atom feed
From: peter.chen@freescale.com (Peter Chen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] ARM: dts: imx7d: Add USB support
Date: Wed, 9 Sep 2015 10:26:13 +0800	[thread overview]
Message-ID: <20150909022612.GH7802@shlinux2> (raw)
In-Reply-To: <1441677432-3376-1-git-send-email-festevam@gmail.com>

On Mon, Sep 07, 2015 at 10:57:11PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Add USB OTG and Host support.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Remove underscore from node name as suggested by Shawn
> 
>  arch/arm/boot/dts/imx7d.dtsi | 71 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 71 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
> index 15c2193..90eb9f4 100644
> --- a/arch/arm/boot/dts/imx7d.dtsi
> +++ b/arch/arm/boot/dts/imx7d.dtsi
> @@ -746,6 +746,77 @@
>  				status = "disabled";
>  			};
>  
> +			usbotg1: usb at 30b10000 {
> +				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
> +				reg = <0x30b10000 0x200>;
> +				interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&clks IMX7D_USB_CTRL_CLK>;
> +				fsl,usbphy = <&usbphynop1>;
> +				fsl,usbmisc = <&usbmisc1 0>;
> +				phy-clkgate-delay-us = <400>;
> +				status = "disabled";
> +			};
> +
> +			usbotg2: usb at 30b20000 {
> +				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
> +				reg = <0x30b20000 0x200>;
> +				interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&clks IMX7D_USB_CTRL_CLK>;
> +				fsl,usbphy = <&usbphynop2>;
> +				fsl,usbmisc = <&usbmisc2 0>;
> +				phy-clkgate-delay-us = <400>;
> +				status = "disabled";
> +			};
> +
> +			usbh: usb at 30b30000 {
> +				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
> +				reg = <0x30b30000 0x200>;
> +				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&clks IMX7D_USB_CTRL_CLK>;
> +				fsl,usbphy = <&usbphynop3>;
> +				fsl,usbmisc = <&usbmisc3 0>;
> +				phy_type = "hsic";
> +				dr_mode = "host";
> +				phy-clkgate-delay-us = <400>;
> +				status = "disabled";
> +			};
> +
> +			usbmisc1: usbmisc at 30b10200 {
> +				#index-cells = <1>;
> +				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
> +				reg = <0x30b10200 0x200>;
> +			};
> +
> +			usbmisc2: usbmisc at 30b20200 {
> +				#index-cells = <1>;
> +				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
> +				reg = <0x30b20200 0x200>;
> +			};
> +
> +			usbmisc3: usbmisc at 30b30200 {
> +				#index-cells = <1>;
> +				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
> +				reg = <0x30b30200 0x200>;
> +			};
> +
> +			usbphynop1: usbphynop1 {
> +				compatible = "usb-nop-xceiv";
> +				clocks = <&clks IMX7D_USB_PHY1_CLK>;
> +				clock-names = "main_clk";
> +			};
> +
> +			usbphynop2: usbphynop2 {
> +				compatible = "usb-nop-xceiv";
> +				clocks = <&clks IMX7D_USB_PHY2_CLK>;
> +				clock-names = "main_clk";
> +			};
> +
> +			usbphynop3: usbphynop3 {
> +				compatible = "usb-nop-xceiv";
> +				clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
> +				clock-names = "main_clk";
> +			};
> +
>  			usdhc1: usdhc at 30b40000 {
>  				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
>  				reg = <0x30b40000 0x10000>;
> -- 
> 1.9.1
> 

Acked-by: Peter Chen <peter.chen@freescale.com>

-- 

Best Regards,
Peter Chen

  parent reply	other threads:[~2015-09-09  2:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08  1:57 [PATCH v2 1/2] ARM: dts: imx7d: Add USB support Fabio Estevam
2015-09-08  1:57 ` [PATCH v2 2/2] ARM: dts: imx7d-sdb: " Fabio Estevam
2015-09-08  5:54   ` Peter Chen
2015-09-08  5:52 ` [PATCH v2 1/2] ARM: dts: imx7d: " Peter Chen
2015-09-09  1:21   ` Fabio Estevam
2015-09-09  2:26 ` Peter Chen [this message]
2015-09-23  0:41 ` Shawn Guo
2015-09-23  2:44   ` Peter Chen

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=20150909022612.GH7802@shlinux2 \
    --to=peter.chen@freescale.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.