ARM: dts: imx27-pdk: Add NAND support
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 17 Apr 2014 18:23:30 +0000 (15:23 -0300)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:02:01 +0000 (23:02 +0800)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx27-pdk.dts

index 971961f8eef591564f5de333f5de151a34db94cc..042d7ffdffeefa7e59acd3088e84a797cb88746e 100644 (file)
        status = "okay";
 };
 
+&nfc {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_nand>;
+       nand-ecc-mode = "hw";
+       nand-on-flash-bbt;
+       status = "okay";
+};
+
 &uart1 {
        fsl,uart-has-rtscts;
        pinctrl-names = "default";
                        >;
                };
 
+               pinctrl_nand: nandgrp {
+                       fsl,pins = <
+                               MX27_PAD_NFRB__NFRB     0x0
+                               MX27_PAD_NFCLE__NFCLE   0x0
+                               MX27_PAD_NFWP_B__NFWP_B 0x0
+                               MX27_PAD_NFCE_B__NFCE_B 0x0
+                               MX27_PAD_NFALE__NFALE   0x0
+                               MX27_PAD_NFRE_B__NFRE_B 0x0
+                               MX27_PAD_NFWE_B__NFWE_B 0x0
+                       >;
+               };
+
                pinctrl_uart1: uart1grp {
                        fsl,pins = <
                                MX27_PAD_UART1_TXD__UART1_TXD 0x0