diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-07-12 11:36:52 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-10-12 23:31:41 -0400 |
commit | 7a38d450b62e7b27b350352c0ab08b66bea00131 (patch) | |
tree | 6f803df1f2eb156795cabed646a93e99f36dac44 /arch/arm/boot/dts/at91sam9260.dtsi | |
parent | 0cdc7e8e113634992d1b2ee6f14cbf9850a9c35e (diff) |
arm: at91: dt: at91sam9 add nand pinctrl support
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9260.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9260.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi index 838328a18297..9a24ffbb7231 100644 --- a/arch/arm/boot/dts/at91sam9260.dtsi +++ b/arch/arm/boot/dts/at91sam9260.dtsi | |||
@@ -208,6 +208,14 @@ | |||
208 | }; | 208 | }; |
209 | }; | 209 | }; |
210 | 210 | ||
211 | nand { | ||
212 | pinctrl_nand: nand-0 { | ||
213 | atmel,pins = | ||
214 | <2 13 0x0 0x1 /* PC13 gpio RDY pin pull_up */ | ||
215 | 2 14 0x0 0x1>; /* PC14 gpio enable pin pull_up */ | ||
216 | }; | ||
217 | }; | ||
218 | |||
211 | pioA: gpio@fffff400 { | 219 | pioA: gpio@fffff400 { |
212 | compatible = "atmel,at91rm9200-gpio"; | 220 | compatible = "atmel,at91rm9200-gpio"; |
213 | reg = <0xfffff400 0x200>; | 221 | reg = <0xfffff400 0x200>; |
@@ -382,6 +390,8 @@ | |||
382 | >; | 390 | >; |
383 | atmel,nand-addr-offset = <21>; | 391 | atmel,nand-addr-offset = <21>; |
384 | atmel,nand-cmd-offset = <22>; | 392 | atmel,nand-cmd-offset = <22>; |
393 | pinctrl-names = "default"; | ||
394 | pinctrl-0 = <&pinctrl_nand>; | ||
385 | gpios = <&pioC 13 0 | 395 | gpios = <&pioC 13 0 |
386 | &pioC 14 0 | 396 | &pioC 14 0 |
387 | 0 | 397 | 0 |