]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx27 phycore pinctrl
authorMarkus Pargmann <mpa@pengutronix.de>
Wed, 20 Nov 2013 08:45:51 +0000 (09:45 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 31 Dec 2013 03:04:59 +0000 (11:04 +0800)
Add pinctrl nodes and properties for phycore device nodes.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
arch/arm/boot/dts/imx27-phytec-phycore-som.dts

index ad76d88a90ff2fbaa4f2df8fd0fc7d0cab92e489..e79246950186abcb6f8ed444574d8a595ffba1ec 100644 (file)
        cs-gpios = <&gpio4 28 0>, <&gpio4 27 0>;
 };
 
+&iomuxc {
+       imx27_phycore_rdk {
+               pinctrl_uart1: uart1grp {
+                       fsl,pins = <
+                               MX27_UART1_PINGRP1
+                               MX27_UART1_RTSCTS_PINGRP1
+                       >;
+               };
+
+               pinctrl_uart2: uart2grp {
+                       fsl,pins = <
+                               MX27_UART2_PINGRP1
+                               MX27_UART2_RTSCTS_PINGRP1
+                       >;
+               };
+       };
+};
+
 &sdhci2 {
        bus-width = <4>;
        cd-gpios = <&gpio3 29 0>;
 
 &uart1 {
        fsl,uart-has-rtscts;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart1>;
        status = "okay";
 };
 
 &uart2 {
        fsl,uart-has-rtscts;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart2>;
        status = "okay";
 };
 
index 648541a33e8d163eb525960c5b2aef48acb04b64..56960c794388e43be2c19a6765456c83b1998fd2 100644 (file)
 
 &fec {
        phy-reset-gpios = <&gpio3 30 0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_fec1>;
        status = "okay";
 };
 
 &i2c2 {
        clock-frequency = <400000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c2>;
        status = "okay";
 
        at24@52 {
        };
 };
 
+&iomuxc {
+       imx27_phycard_s_som {
+               pinctrl_fec1: fec1grp {
+                       fsl,pins = <MX27_FEC1_PINGRP1>;
+               };
+
+               pinctrl_i2c2: i2c2grp {
+                       fsl,pins = <MX27_I2C2_PINGRP1>;
+               };
+       };
+};
+
 &nfc {
        nand-bus-width = <8>;
        nand-ecc-mode = "hw";