arm: at91: dt: at91sam9 add nand pinctrl support
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / at91sam9260.dtsi
index 838328a182975596412bf6131582abf181e364f0..9a24ffbb723103cc44a4f980781d081271078739 100644 (file)
                                        };
                                };
 
+                               nand {
+                                       pinctrl_nand: nand-0 {
+                                               atmel,pins =
+                                                       <2 13 0x0 0x1   /* PC13 gpio RDY pin pull_up */
+                                                        2 14 0x0 0x1>; /* PC14 gpio enable pin pull_up */
+                                       };
+                               };
+
                                pioA: gpio@fffff400 {
                                        compatible = "atmel,at91rm9200-gpio";
                                        reg = <0xfffff400 0x200>;
                              >;
                        atmel,nand-addr-offset = <21>;
                        atmel,nand-cmd-offset = <22>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_nand>;
                        gpios = <&pioC 13 0
                                 &pioC 14 0
                                 0