ARM: dts: imx27-phytec-phycore-rdk: Add pinctrl definitions for WEIM
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 21 Dec 2013 07:11:42 +0000 (11:11 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 9 Feb 2014 13:33:35 +0000 (21:33 +0800)
This patch adds pinctrl definitions for WEIM CS4 and GPIO used as
CAN IRQ line.

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 9997f58a4d146f7cf4b3058a037ebdf973a3d366..9f8ad51d2ed92e075250b10998857f9ec8bb9cc8 100644 (file)
                                MX27_PAD_UART2_RTS__UART2_RTS 0x0
                        >;
                };
+
+               pinctrl_weim: weimgrp {
+                       fsl,pins = <
+                               MX27_PAD_CS4_B__CS4_B           0x0 /* CS4 */
+                               MX27_PAD_SD1_D1__GPIO5_19       0x0 /* CAN IRQ */
+                       >;
+               };
        };
 };
 
 };
 
 &weim {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_weim>;
+
        can@d4000000 {
                compatible = "nxp,sja1000";
                reg = <4 0x00000000 0x00000100>;