ARM: dts: imx25-pdk: Add UART1 pins
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 5 Mar 2014 20:30:36 +0000 (17:30 -0300)
committerShawn Guo <shawn.guo@freescale.com>
Wed, 30 Apr 2014 05:35:19 +0000 (13:35 +0800)
UART1 is the console port on mx25pdk board.

Add the pin configuration for UART1 port and also pass 'fsl,uart-has-rtscts'
to indicate that the port has RTS and CTS pins.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx25-pdk.dts

index 88267c5c3ef48f34aa8b5c4dc1d0eb58a67c5e2c..d6429804cdb2dcf6396d3a1142c8fdf6bdfa1162 100644 (file)
        status = "okay";
 };
 
+&iomuxc {
+       imx25-pdk {
+               pinctrl_uart1: uart1grp {
+                       fsl,pins = <
+                               MX25_PAD_UART1_RTS__UART1_RTS           0xe0
+                               MX25_PAD_UART1_CTS__UART1_CTS           0xe0
+                               MX25_PAD_UART1_TXD__UART1_TXD           0x80000000
+                               MX25_PAD_UART1_RXD__UART1_RXD           0xc0
+                       >;
+               };
+       };
+};
+
 &nfc {
        nand-on-flash-bbt;
        status = "okay";
 };
 
 &uart1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart1>;
+       fsl,uart-has-rtscts;
        status = "okay";
 };