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/at91sam9n12.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/at91sam9n12.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9n12.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index e057f660296f..7b644c5b0bed 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi | |||
@@ -191,6 +191,14 @@ | |||
191 | }; | 191 | }; |
192 | }; | 192 | }; |
193 | 193 | ||
194 | nand { | ||
195 | pinctrl_nand: nand-0 { | ||
196 | atmel,pins = | ||
197 | <3 5 0x0 0x1 /* PD5 gpio RDY pin pull_up*/ | ||
198 | 3 4 0x0 0x1>; /* PD4 gpio enable pin pull_up */ | ||
199 | }; | ||
200 | }; | ||
201 | |||
194 | pioA: gpio@fffff400 { | 202 | pioA: gpio@fffff400 { |
195 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; | 203 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
196 | reg = <0xfffff400 0x200>; | 204 | reg = <0xfffff400 0x200>; |
@@ -315,6 +323,8 @@ | |||
315 | >; | 323 | >; |
316 | atmel,nand-addr-offset = <21>; | 324 | atmel,nand-addr-offset = <21>; |
317 | atmel,nand-cmd-offset = <22>; | 325 | atmel,nand-cmd-offset = <22>; |
326 | pinctrl-names = "default"; | ||
327 | pinctrl-0 = <&pinctrl_nand>; | ||
318 | gpios = <&pioD 5 0 | 328 | gpios = <&pioD 5 0 |
319 | &pioD 4 0 | 329 | &pioD 4 0 |
320 | 0 | 330 | 0 |