]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx27-phytec-phycore-som: Add pinctrl for CSPI1 and GPIOs used on module
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 7 Dec 2013 08:26:35 +0000 (12:26 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 31 Dec 2013 03:05:48 +0000 (11:05 +0800)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27-phytec-phycore-som.dts

index ce8d69ad4313b34b31318cbbd87ebc4af5484712..7087a4f920ef1d32905782da3d00977b450f1385 100644 (file)
@@ -51,6 +51,8 @@
 };
 
 &cspi1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_cspi1>;
        fsl,spi-num-chipselects = <1>;
        cs-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
        status = "okay";
 
 &iomuxc {
        imx27_phycore_som {
+               pinctrl_cspi1: cspi1grp {
+                       fsl,pins = <
+                               MX27_CSPI1_PINGRP1
+                               MX27_PAD_CSPI1_SS0__GPIO4_28    0x0 /* SPI1 CS0 */
+                               MX27_PAD_USB_PWR__GPIO2_23      0x0 /* PMIC IRQ */
+                       >;
+               };
+
                pinctrl_fec1: fec1grp {
-                       fsl,pins = <MX27_FEC1_PINGRP1>;
+                       fsl,pins = <
+                               MX27_FEC1_PINGRP1
+                               MX27_PAD_SSI3_TXDAT__GPIO3_30   0x0 /* FEC RST */
+                       >;
                };
 
                pinctrl_i2c2: i2c2grp {