ARM: dts: imx27-phytec-phycore-som: Move PMIC IRQ GPIO into a separate pin group
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 16 Apr 2014 11:25:56 +0000 (08:25 -0300)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:59 +0000 (23:01 +0800)
The hardware is better described if we place the PMIC IRQ GPIO into its own
pingroup.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi

index d7ed63c51c6c6069fb4763dda39d202f606800db..33c5dc2be89b305381035696bb57fb19841729c2 100644 (file)
@@ -69,6 +69,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "fsl,mc13783";
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_pmic>;
                reg = <0>;
                spi-cs-high;
                spi-max-frequency = <20000000>;
                                MX27_PAD_CSPI1_MOSI__CSPI1_MOSI 0x0
                                MX27_PAD_CSPI1_SCLK__CSPI1_SCLK 0x0
                                MX27_PAD_CSPI1_SS0__GPIO4_28    0x0 /* SPI1 CS0 */
-                               MX27_PAD_USB_PWR__GPIO2_23      0x0 /* PMIC IRQ */
                        >;
                };
 
                        >;
                };
 
+               pinctrl_pmic: pmicgrp {
+                       fsl,pins = <
+                               MX27_PAD_USB_PWR__GPIO2_23      0x0 /* PMIC IRQ */
+                       >;
+               };
+
                pinctrl_ssi1: ssi1grp {
                        fsl,pins = <
                                MX27_PAD_SSI1_FS__SSI1_FS 0x0