* [PATCH 0/4] ARM: dts: cm-fx6: extend board support
@ 2014-01-21 16:13 Igor Grinberg
[not found] ` <1390320812-25100-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Igor Grinberg @ 2014-01-21 16:13 UTC (permalink / raw)
To: Shawn Guo
Cc: Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell,
Kumar Gala, Mark Rutland, Sascha Hauer, Igor Grinberg
Extend support for cm-fx6 (Utilite) board.
Add SATA, USB OTG, and USB Host port 1 support.
Igor Grinberg (4):
ARM: dts: cm-fx6: rearrange the dts file
ARM: dts: cm-fx6: add SATA support
ARM: dts: cm-fx6: add support for USB OTG
ARM: dts: cm-fx6: add support for USB host port 1
arch/arm/boot/dts/imx6q-cm-fx6.dts | 77 ++++++++++++++++++++++++++++++++------
1 file changed, 66 insertions(+), 11 deletions(-)
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <1390320812-25100-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>]
* [PATCH 1/4] ARM: dts: cm-fx6: rearrange the dts file [not found] ` <1390320812-25100-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> @ 2014-01-21 16:13 ` Igor Grinberg [not found] ` <1390320812-25100-2-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2014-01-21 16:13 ` [PATCH 2/4] ARM: dts: cm-fx6: add SATA support Igor Grinberg ` (2 subsequent siblings) 3 siblings, 1 reply; 9+ messages in thread From: Igor Grinberg @ 2014-01-21 16:13 UTC (permalink / raw) To: Shawn Guo Cc: Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer, Igor Grinberg Move the iomuxc definition before the devices definitions (e.g. gpmi, fec). Signed-off-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> --- arch/arm/boot/dts/imx6q-cm-fx6.dts | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts index 1a8ee79..94cc6b5 100644 --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -31,19 +31,8 @@ linux,default-trigger = "heartbeat"; }; }; -}; -&fec { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_enet>; - phy-mode = "rgmii"; - status = "okay"; -}; -&gpmi { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpmi_nand>; - status = "okay"; }; &iomuxc { @@ -62,6 +51,19 @@ }; }; +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + phy-mode = "rgmii"; + status = "okay"; +}; + +&gpmi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + status = "okay"; +}; + &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>; -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 9+ messages in thread
[parent not found: <1390320812-25100-2-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>]
* Re: [PATCH 1/4] ARM: dts: cm-fx6: rearrange the dts file [not found] ` <1390320812-25100-2-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> @ 2014-01-21 20:42 ` Sascha Hauer [not found] ` <20140121204201.GX16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Sascha Hauer @ 2014-01-21 20:42 UTC (permalink / raw) To: Igor Grinberg Cc: Shawn Guo, Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer Hi Igor, On Tue, Jan 21, 2014 at 06:13:29PM +0200, Igor Grinberg wrote: > Move the iomuxc definition before the devices definitions > (e.g. gpmi, fec). The nodes are sorted alphabetically. Please keep them sorted. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20140121204201.GX16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>]
* Re: [PATCH 1/4] ARM: dts: cm-fx6: rearrange the dts file [not found] ` <20140121204201.GX16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> @ 2014-01-22 11:25 ` Igor Grinberg 0 siblings, 0 replies; 9+ messages in thread From: Igor Grinberg @ 2014-01-22 11:25 UTC (permalink / raw) To: Sascha Hauer Cc: Shawn Guo, Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer Hi Sascha, On 01/21/14 22:42, Sascha Hauer wrote: > Hi Igor, > > On Tue, Jan 21, 2014 at 06:13:29PM +0200, Igor Grinberg wrote: >> Move the iomuxc definition before the devices definitions >> (e.g. gpmi, fec). > > The nodes are sorted alphabetically. Please keep them sorted. Hmmm.. I missed that point... Thanks! Will fix this up and resend. -- Regards, Igor. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/4] ARM: dts: cm-fx6: add SATA support [not found] ` <1390320812-25100-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2014-01-21 16:13 ` [PATCH 1/4] ARM: dts: cm-fx6: rearrange the dts file Igor Grinberg @ 2014-01-21 16:13 ` Igor Grinberg [not found] ` <1390320812-25100-3-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2014-01-21 16:13 ` [PATCH 3/4] ARM: dts: cm-fx6: add support for USB OTG Igor Grinberg 2014-01-21 16:13 ` [PATCH 4/4] ARM: dts: cm-fx6: add support for USB host port 1 Igor Grinberg 3 siblings, 1 reply; 9+ messages in thread From: Igor Grinberg @ 2014-01-21 16:13 UTC (permalink / raw) To: Shawn Guo Cc: Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer, Igor Grinberg Enable SATA on cm-fx6. Signed-off-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> --- arch/arm/boot/dts/imx6q-cm-fx6.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts index 94cc6b5..07f90a5 100644 --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -69,3 +69,7 @@ pinctrl-0 = <&pinctrl_uart4>; status = "okay"; }; + +&sata { + status = "okay"; +}; -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 9+ messages in thread
[parent not found: <1390320812-25100-3-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>]
* Re: [PATCH 2/4] ARM: dts: cm-fx6: add SATA support [not found] ` <1390320812-25100-3-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> @ 2014-01-27 7:37 ` Shawn Guo [not found] ` <20140127073754.GB4765-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Shawn Guo @ 2014-01-27 7:37 UTC (permalink / raw) To: Igor Grinberg Cc: Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer On Tue, Jan 21, 2014 at 06:13:30PM +0200, Igor Grinberg wrote: > Enable SATA on cm-fx6. > > Signed-off-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> > --- > arch/arm/boot/dts/imx6q-cm-fx6.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts > index 94cc6b5..07f90a5 100644 > --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts > +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts > @@ -69,3 +69,7 @@ > pinctrl-0 = <&pinctrl_uart4>; > status = "okay"; > }; > + > +&sata { > + status = "okay"; > +}; Please sort these labeled nodes alphabetically. Shawn > -- > 1.8.3.2 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20140127073754.GB4765-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>]
* Re: [PATCH 2/4] ARM: dts: cm-fx6: add SATA support [not found] ` <20140127073754.GB4765-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org> @ 2014-01-27 9:06 ` Igor Grinberg 0 siblings, 0 replies; 9+ messages in thread From: Igor Grinberg @ 2014-01-27 9:06 UTC (permalink / raw) To: Shawn Guo Cc: Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer On 01/27/14 09:37, Shawn Guo wrote: > On Tue, Jan 21, 2014 at 06:13:30PM +0200, Igor Grinberg wrote: >> Enable SATA on cm-fx6. >> >> Signed-off-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> >> --- >> arch/arm/boot/dts/imx6q-cm-fx6.dts | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts >> index 94cc6b5..07f90a5 100644 >> --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts >> +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts >> @@ -69,3 +69,7 @@ >> pinctrl-0 = <&pinctrl_uart4>; >> status = "okay"; >> }; >> + >> +&sata { >> + status = "okay"; >> +}; > > Please sort these labeled nodes alphabetically. Ok. I'll wait for the "pingrp macros" to settle down and resend. Thanks! -- Regards, Igor. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/4] ARM: dts: cm-fx6: add support for USB OTG [not found] ` <1390320812-25100-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2014-01-21 16:13 ` [PATCH 1/4] ARM: dts: cm-fx6: rearrange the dts file Igor Grinberg 2014-01-21 16:13 ` [PATCH 2/4] ARM: dts: cm-fx6: add SATA support Igor Grinberg @ 2014-01-21 16:13 ` Igor Grinberg 2014-01-21 16:13 ` [PATCH 4/4] ARM: dts: cm-fx6: add support for USB host port 1 Igor Grinberg 3 siblings, 0 replies; 9+ messages in thread From: Igor Grinberg @ 2014-01-21 16:13 UTC (permalink / raw) To: Shawn Guo Cc: Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer, Igor Grinberg Setup pin control, vbus regulator and the usb otg node to enable the USB OTG support. Signed-off-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> --- arch/arm/boot/dts/imx6q-cm-fx6.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts index 07f90a5..039a155 100644 --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -32,7 +32,21 @@ }; }; + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + reg_usb_otg_vbus: regulator@0 { + compatible = "regulator-fixed"; + reg = <0>; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio3 22 0>; + enable-active-high; + }; + }; }; &iomuxc { @@ -48,6 +62,10 @@ pinctrl_uart4: uart4grp { fsl,pins = <MX6QDL_UART4_PINGRP1>; }; + + pinctrl_usbotg: usbotggrp { + fsl,pins = <MX6QDL_USBOTG_PINGRP2>; + }; }; }; @@ -73,3 +91,11 @@ &sata { status = "okay"; }; + +&usbotg { + vbus-supply = <®_usb_otg_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + dr_mode = "otg"; + status = "okay"; +}; -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/4] ARM: dts: cm-fx6: add support for USB host port 1 [not found] ` <1390320812-25100-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> ` (2 preceding siblings ...) 2014-01-21 16:13 ` [PATCH 3/4] ARM: dts: cm-fx6: add support for USB OTG Igor Grinberg @ 2014-01-21 16:13 ` Igor Grinberg 3 siblings, 0 replies; 9+ messages in thread From: Igor Grinberg @ 2014-01-21 16:13 UTC (permalink / raw) To: Shawn Guo Cc: Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Ian Campbell, Kumar Gala, Mark Rutland, Sascha Hauer, Igor Grinberg Setup pin control, vbus regulator and the usb host port 1 node to enable the USB host port 1 support. Signed-off-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> --- arch/arm/boot/dts/imx6q-cm-fx6.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts index 039a155..cf4c186 100644 --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -46,6 +46,16 @@ gpio = <&gpio3 22 0>; enable-active-high; }; + + reg_usb_h1_vbus: regulator@1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio7 8 0>; + enable-active-high; + }; }; }; @@ -66,6 +76,12 @@ pinctrl_usbotg: usbotggrp { fsl,pins = <MX6QDL_USBOTG_PINGRP2>; }; + + pinctrl_usbh1: usbh1grp { + fsl,pins = < + MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x80000000 + >; + }; }; }; @@ -99,3 +115,10 @@ dr_mode = "otg"; status = "okay"; }; + +&usbh1 { + vbus-supply = <®_usb_h1_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1>; + status = "okay"; +}; -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-01-27 9:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 16:13 [PATCH 0/4] ARM: dts: cm-fx6: extend board support Igor Grinberg
[not found] ` <1390320812-25100-1-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2014-01-21 16:13 ` [PATCH 1/4] ARM: dts: cm-fx6: rearrange the dts file Igor Grinberg
[not found] ` <1390320812-25100-2-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2014-01-21 20:42 ` Sascha Hauer
[not found] ` <20140121204201.GX16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-01-22 11:25 ` Igor Grinberg
2014-01-21 16:13 ` [PATCH 2/4] ARM: dts: cm-fx6: add SATA support Igor Grinberg
[not found] ` <1390320812-25100-3-git-send-email-grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2014-01-27 7:37 ` Shawn Guo
[not found] ` <20140127073754.GB4765-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2014-01-27 9:06 ` Igor Grinberg
2014-01-21 16:13 ` [PATCH 3/4] ARM: dts: cm-fx6: add support for USB OTG Igor Grinberg
2014-01-21 16:13 ` [PATCH 4/4] ARM: dts: cm-fx6: add support for USB host port 1 Igor Grinberg
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).