]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Tue, 31 Dec 2013 03:09:58 +0000 (11:09 +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 1967dadb1bbb506708840fbadc8c5a5b99efcd1a..eaaff000475b1a1c2cfc6992cfcf7b37849868b1 100644 (file)
                                MX27_UART2_RTSCTS_PINGRP1
                        >;
                };
+
+               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>;