All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Chen <peter.chen@nxp.com>
To: balbi@kernel.org, shawnguo@kernel.org
Cc: robh+dt@kernel.org, fabio.estevam@nxp.com, kernel@pengutronix.de,
	devicetree@vger.kernel.org, aisheng.dong@nxp.com,
	linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org,
	linux-usb@vger.kernel.org, chunfeng.yun@mediatek.com,
	sergei.shtylyov@cogentembedded.com,
	Peter Chen <peter.chen@nxp.com>
Subject: [PATCH v5 6/8] ARM: dts: imx7ulp: add imx7ulp USBOTG1 support
Date: Mon, 24 Jun 2019 10:02:56 +0800	[thread overview]
Message-ID: <20190624020258.21690-7-peter.chen@nxp.com> (raw)
In-Reply-To: <20190624020258.21690-1-peter.chen@nxp.com>

Add imx7ulp USBOTG1 support.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
---
 arch/arm/boot/dts/imx7ulp.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index d6b711011cba..2679856aaf65 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -30,6 +30,7 @@
 		serial1 = &lpuart5;
 		serial2 = &lpuart6;
 		serial3 = &lpuart7;
+		usbphy0 = &usbphy1;
 	};
 
 	cpus {
@@ -133,6 +134,33 @@
 			clock-names = "ipg", "per";
 		};
 
+		usbotg1: usb@40330000 {
+			compatible = "fsl,imx7ulp-usb", "fsl,imx6ul-usb";
+			reg = <0x40330000 0x200>;
+			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&pcc2 IMX7ULP_CLK_USB0>;
+			phys = <&usbphy1>;
+			fsl,usbmisc = <&usbmisc1 0>;
+			ahb-burst-config = <0x0>;
+			tx-burst-size-dword = <0x8>;
+			rx-burst-size-dword = <0x8>;
+			status = "disabled";
+		};
+
+		usbmisc1: usbmisc@40330200 {
+			compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc";
+			#index-cells = <1>;
+			reg = <0x40330200 0x200>;
+		};
+
+		usbphy1: usb-phy@0x40350000 {
+			compatible = "fsl,imx7ulp-usbphy", "fsl,imx6ul-usbphy";
+			reg = <0x40350000 0x1000>;
+			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&pcc2 IMX7ULP_CLK_USB_PHY>;
+			#phy-cells = <0>;
+		};
+
 		usdhc0: mmc@40370000 {
 			compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc";
 			reg = <0x40370000 0x10000>;
-- 
2.14.1


WARNING: multiple messages have this Message-ID (diff)
From: Peter Chen <peter.chen@nxp.com>
To: balbi@kernel.org, shawnguo@kernel.org
Cc: aisheng.dong@nxp.com, devicetree@vger.kernel.org,
	sergei.shtylyov@cogentembedded.com,
	Peter Chen <peter.chen@nxp.com>,
	linux-usb@vger.kernel.org, chunfeng.yun@mediatek.com,
	robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de,
	fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 6/8] ARM: dts: imx7ulp: add imx7ulp USBOTG1 support
Date: Mon, 24 Jun 2019 10:02:56 +0800	[thread overview]
Message-ID: <20190624020258.21690-7-peter.chen@nxp.com> (raw)
In-Reply-To: <20190624020258.21690-1-peter.chen@nxp.com>

Add imx7ulp USBOTG1 support.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
---
 arch/arm/boot/dts/imx7ulp.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index d6b711011cba..2679856aaf65 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -30,6 +30,7 @@
 		serial1 = &lpuart5;
 		serial2 = &lpuart6;
 		serial3 = &lpuart7;
+		usbphy0 = &usbphy1;
 	};
 
 	cpus {
@@ -133,6 +134,33 @@
 			clock-names = "ipg", "per";
 		};
 
+		usbotg1: usb@40330000 {
+			compatible = "fsl,imx7ulp-usb", "fsl,imx6ul-usb";
+			reg = <0x40330000 0x200>;
+			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&pcc2 IMX7ULP_CLK_USB0>;
+			phys = <&usbphy1>;
+			fsl,usbmisc = <&usbmisc1 0>;
+			ahb-burst-config = <0x0>;
+			tx-burst-size-dword = <0x8>;
+			rx-burst-size-dword = <0x8>;
+			status = "disabled";
+		};
+
+		usbmisc1: usbmisc@40330200 {
+			compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc";
+			#index-cells = <1>;
+			reg = <0x40330200 0x200>;
+		};
+
+		usbphy1: usb-phy@0x40350000 {
+			compatible = "fsl,imx7ulp-usbphy", "fsl,imx6ul-usbphy";
+			reg = <0x40350000 0x1000>;
+			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&pcc2 IMX7ULP_CLK_USB_PHY>;
+			#phy-cells = <0>;
+		};
+
 		usdhc0: mmc@40370000 {
 			compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc";
 			reg = <0x40370000 0x10000>;
-- 
2.14.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Peter Chen <peter.chen@nxp.com>
To: balbi@kernel.org, shawnguo@kernel.org
Cc: aisheng.dong@nxp.com, devicetree@vger.kernel.org,
	sergei.shtylyov@cogentembedded.com,
	Peter Chen <peter.chen@nxp.com>,
	linux-usb@vger.kernel.org, chunfeng.yun@mediatek.com,
	robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de,
	fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 6/8] ARM: dts: imx7ulp: add imx7ulp USBOTG1 support
Date: Mon, 24 Jun 2019 10:02:56 +0800	[thread overview]
Message-ID: <20190624020258.21690-7-peter.chen@nxp.com> (raw)
In-Reply-To: <20190624020258.21690-1-peter.chen@nxp.com>

Add imx7ulp USBOTG1 support.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
---
 arch/arm/boot/dts/imx7ulp.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index d6b711011cba..2679856aaf65 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -30,6 +30,7 @@
 		serial1 = &lpuart5;
 		serial2 = &lpuart6;
 		serial3 = &lpuart7;
+		usbphy0 = &usbphy1;
 	};
 
 	cpus {
@@ -133,6 +134,33 @@
 			clock-names = "ipg", "per";
 		};
 
+		usbotg1: usb@40330000 {
+			compatible = "fsl,imx7ulp-usb", "fsl,imx6ul-usb";
+			reg = <0x40330000 0x200>;
+			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&pcc2 IMX7ULP_CLK_USB0>;
+			phys = <&usbphy1>;
+			fsl,usbmisc = <&usbmisc1 0>;
+			ahb-burst-config = <0x0>;
+			tx-burst-size-dword = <0x8>;
+			rx-burst-size-dword = <0x8>;
+			status = "disabled";
+		};
+
+		usbmisc1: usbmisc@40330200 {
+			compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc";
+			#index-cells = <1>;
+			reg = <0x40330200 0x200>;
+		};
+
+		usbphy1: usb-phy@0x40350000 {
+			compatible = "fsl,imx7ulp-usbphy", "fsl,imx6ul-usbphy";
+			reg = <0x40350000 0x1000>;
+			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&pcc2 IMX7ULP_CLK_USB_PHY>;
+			#phy-cells = <0>;
+		};
+
 		usdhc0: mmc@40370000 {
 			compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc";
 			reg = <0x40370000 0x10000>;
-- 
2.14.1

  parent reply	other threads:[~2019-06-24  2:01 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24  2:02 [PATCH v5 0/8] Add imx7ulp USBOTG1 support Peter Chen
2019-06-24  2:02 ` Peter Chen
2019-06-24  2:02 ` Peter Chen
2019-06-24  2:02 ` [PATCH v5 1/8] doc: dt-binding: mxs-usb-phy: add compatible for 7ulp Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02 ` [PATCH v5 2/8] usb: phy: phy-mxs-usb: add imx7ulp support Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  3:09   ` Peter Chen
2019-06-24  3:09     ` Peter Chen
2019-06-24  3:09     ` Peter Chen
2019-07-02  2:22     ` Peter Chen
2019-07-02  2:22       ` Peter Chen
2019-07-02  2:22       ` Peter Chen
2019-06-24  2:02 ` [PATCH v5 3/8] doc: dt-binding: ci-hdrc-usb2: add compatible string for imx7ulp Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02 ` [PATCH v5 4/8] doc: dt-binding: usbmisc-imx: " Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02 ` [PATCH v5 5/8] usb: chipidea: imx: add imx7ulp support Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02 ` Peter Chen [this message]
2019-06-24  2:02   ` [PATCH v5 6/8] ARM: dts: imx7ulp: add imx7ulp USBOTG1 support Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  3:01   ` Shawn Guo
2019-06-24  3:01     ` Shawn Guo
2019-06-24  3:01     ` Shawn Guo
2019-06-24  2:02 ` [PATCH v5 7/8] ARM: dts: imx7ulp-evk: enable " Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  2:02   ` Peter Chen
2019-06-24  3:03   ` Shawn Guo
2019-06-24  3:03     ` Shawn Guo
2019-06-24  3:03     ` Shawn Guo
2019-06-24  2:02 ` [PATCH v5 8/8] usb: chipidea: imx: "fsl,usbphy" phandle is not mandatory now Peter Chen
2019-06-24  2:02   ` [PATCH v5 8/8] usb: chipidea: imx: "fsl, usbphy" " Peter Chen
2019-06-24  2:02   ` 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=20190624020258.21690-7-peter.chen@nxp.com \
    --to=peter.chen@nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=balbi@kernel.org \
    --cc=chunfeng.yun@mediatek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=shawnguo@kernel.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.