OSDN Git Service

ARM: dts: imx27-phytec-phycore-rdk: Add missing pinctrl definition for SPI CS1
authorAlexander Shiyan <shc_work@mail.ru>
Sun, 2 Mar 2014 09:18:38 +0000 (13:18 +0400)
committerShawn Guo <shawn.guo@freescale.com>
Wed, 30 Apr 2014 05:35:18 +0000 (13:35 +0800)
This patch adds missing pinctrl definition for SPI chipselect 1.

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-rdk.dts

index df3b2e7..86510ed 100644 (file)
@@ -15,6 +15,7 @@
 };
 
 &cspi1 {
+       pinctrl-0 = <&pinctrl_cspi1>, <&pinctrl_cspi1cs1>;
        fsl,spi-num-chipselects = <2>;
        cs-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>,
                   <&gpio4 27 GPIO_ACTIVE_LOW>;
 
 &iomuxc {
        imx27_phycore_rdk {
+               pinctrl_cspi1cs1: cspi1cs1grp {
+                       fsl,pins = <
+                               MX27_PAD_CSPI1_SS1__GPIO4_27 0x0
+                       >;
+               };
+
                pinctrl_i2c1: i2c1grp {
                        /* Add pullup to DATA line */
                        fsl,pins = <