* [PATCH 1/3] ARM: dts: imx7d: Add PWM support
@ 2015-09-02 18:16 Fabio Estevam
2015-09-02 18:16 ` [PATCH 2/3] ARM: dts: imx7d: Add USB support Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Fabio Estevam @ 2015-09-02 18:16 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
Add the PWM1-4 nodes.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx7d.dtsi | 52 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
index b738ce0..15c2193 100644
--- a/arch/arm/boot/dts/imx7d.dtsi
+++ b/arch/arm/boot/dts/imx7d.dtsi
@@ -570,6 +570,58 @@
};
};
+ aips2: aips-bus at 30400000 {
+ compatible = "fsl,aips-bus", "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x30400000 0x400000>;
+ ranges;
+
+ pwm1: pwm at 30660000 {
+ compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
+ reg = <0x30660000 0x10000>;
+ interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
+ <&clks IMX7D_PWM1_ROOT_CLK>;
+ clock-names = "ipg", "per";
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm2: pwm at 30670000 {
+ compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
+ reg = <0x30670000 0x10000>;
+ interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
+ <&clks IMX7D_PWM2_ROOT_CLK>;
+ clock-names = "ipg", "per";
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm3: pwm at 30680000 {
+ compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
+ reg = <0x30680000 0x10000>;
+ interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
+ <&clks IMX7D_PWM3_ROOT_CLK>;
+ clock-names = "ipg", "per";
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm4: pwm at 30690000 {
+ compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
+ reg = <0x30690000 0x10000>;
+ interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
+ <&clks IMX7D_PWM4_ROOT_CLK>;
+ clock-names = "ipg", "per";
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+ };
+
aips3: aips-bus at 30800000 {
compatible = "fsl,aips-bus", "simple-bus";
#address-cells = <1>;
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] ARM: dts: imx7d: Add USB support
2015-09-02 18:16 [PATCH 1/3] ARM: dts: imx7d: Add PWM support Fabio Estevam
@ 2015-09-02 18:16 ` Fabio Estevam
2015-09-06 12:22 ` Shawn Guo
2015-09-02 18:16 ` [PATCH 3/3] ARM: dts: imx7d-sdb: " Fabio Estevam
2015-09-06 12:21 ` [PATCH 1/3] ARM: dts: imx7d: Add PWM support Shawn Guo
2 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2015-09-02 18:16 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
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 = <&usbphy_nop1>;
+ 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 = <&usbphy_nop2>;
+ 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 = <&usbphy_nop3>;
+ 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>;
+ };
+
+ usbphy_nop1: usbphy_nop1 {
+ compatible = "usb-nop-xceiv";
+ clocks = <&clks IMX7D_USB_PHY1_CLK>;
+ clock-names = "main_clk";
+ };
+
+ usbphy_nop2: usbphy_nop2 {
+ compatible = "usb-nop-xceiv";
+ clocks = <&clks IMX7D_USB_PHY2_CLK>;
+ clock-names = "main_clk";
+ };
+
+ usbphy_nop3: usbphy_nop3 {
+ 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] ARM: dts: imx7d-sdb: Add USB support
2015-09-02 18:16 [PATCH 1/3] ARM: dts: imx7d: Add PWM support Fabio Estevam
2015-09-02 18:16 ` [PATCH 2/3] ARM: dts: imx7d: Add USB support Fabio Estevam
@ 2015-09-02 18:16 ` Fabio Estevam
2015-09-06 12:21 ` [PATCH 1/3] ARM: dts: imx7d: Add PWM support Shawn Guo
2 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2015-09-02 18:16 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
Add support for USBOTG1 and USBOTG2.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx7d-sdb.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index fdd1d7c..3c6cf52 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -231,6 +231,17 @@
status = "okay";
};
+&usbotg1 {
+ vbus-supply = <®_usb_otg1_vbus>;
+ status = "okay";
+};
+
+&usbotg2 {
+ vbus-supply = <®_usb_otg2_vbus>;
+ dr_mode = "host";
+ status = "okay";
+};
+
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 1/3] ARM: dts: imx7d: Add PWM support
2015-09-02 18:16 [PATCH 1/3] ARM: dts: imx7d: Add PWM support Fabio Estevam
2015-09-02 18:16 ` [PATCH 2/3] ARM: dts: imx7d: Add USB support Fabio Estevam
2015-09-02 18:16 ` [PATCH 3/3] ARM: dts: imx7d-sdb: " Fabio Estevam
@ 2015-09-06 12:21 ` Shawn Guo
2 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2015-09-06 12:21 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Sep 02, 2015 at 03:16:20PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Add the PWM1-4 nodes.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/3] ARM: dts: imx7d: Add USB support
2015-09-02 18:16 ` [PATCH 2/3] ARM: dts: imx7d: Add USB support Fabio Estevam
@ 2015-09-06 12:22 ` Shawn Guo
0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2015-09-06 12:22 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Sep 02, 2015 at 03:16:21PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> 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 = <&usbphy_nop1>;
> + 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 = <&usbphy_nop2>;
> + 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 = <&usbphy_nop3>;
> + 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>;
> + };
> +
> + usbphy_nop1: usbphy_nop1 {
Hyphen rather than underscore should be used in node name.
When you resend, please copy kernel at pengutronix.de and Peter Chen.
Shawn
> + compatible = "usb-nop-xceiv";
> + clocks = <&clks IMX7D_USB_PHY1_CLK>;
> + clock-names = "main_clk";
> + };
> +
> + usbphy_nop2: usbphy_nop2 {
> + compatible = "usb-nop-xceiv";
> + clocks = <&clks IMX7D_USB_PHY2_CLK>;
> + clock-names = "main_clk";
> + };
> +
> + usbphy_nop3: usbphy_nop3 {
> + 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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-06 12:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02 18:16 [PATCH 1/3] ARM: dts: imx7d: Add PWM support Fabio Estevam
2015-09-02 18:16 ` [PATCH 2/3] ARM: dts: imx7d: Add USB support Fabio Estevam
2015-09-06 12:22 ` Shawn Guo
2015-09-02 18:16 ` [PATCH 3/3] ARM: dts: imx7d-sdb: " Fabio Estevam
2015-09-06 12:21 ` [PATCH 1/3] ARM: dts: imx7d: Add PWM support Shawn Guo
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).