diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2013-04-03 02:03:52 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-24 06:02:57 -0400 |
commit | a68b728f7a217ce30b0eb77f6cb8e955d6ce6841 (patch) | |
tree | 62c47f3c2195fe258ffeef0909e6a92ff5f5c61e /arch/arm/boot/dts/at91sam9n12.dtsi | |
parent | b6811e9ab714ca821f6663fa0b809eb790f99dd7 (diff) |
ARM: dts: add pinctrl property for spi node for atmel SoC
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9n12.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9n12.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index f3f87ef30558..b2961f1ea51b 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi | |||
@@ -261,6 +261,24 @@ | |||
261 | }; | 261 | }; |
262 | }; | 262 | }; |
263 | 263 | ||
264 | spi0 { | ||
265 | pinctrl_spi0: spi0-0 { | ||
266 | atmel,pins = | ||
267 | <0 11 0x1 0x0 /* PA11 periph A SPI0_MISO pin */ | ||
268 | 0 12 0x1 0x0 /* PA12 periph A SPI0_MOSI pin */ | ||
269 | 0 13 0x1 0x0>; /* PA13 periph A SPI0_SPCK pin */ | ||
270 | }; | ||
271 | }; | ||
272 | |||
273 | spi1 { | ||
274 | pinctrl_spi1: spi1-0 { | ||
275 | atmel,pins = | ||
276 | <0 21 0x2 0x0 /* PA21 periph B SPI1_MISO pin */ | ||
277 | 0 22 0x2 0x0 /* PA22 periph B SPI1_MOSI pin */ | ||
278 | 0 23 0x2 0x0>; /* PA23 periph B SPI1_SPCK pin */ | ||
279 | }; | ||
280 | }; | ||
281 | |||
264 | pioA: gpio@fffff400 { | 282 | pioA: gpio@fffff400 { |
265 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; | 283 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
266 | reg = <0xfffff400 0x200>; | 284 | reg = <0xfffff400 0x200>; |
@@ -380,6 +398,8 @@ | |||
380 | compatible = "atmel,at91rm9200-spi"; | 398 | compatible = "atmel,at91rm9200-spi"; |
381 | reg = <0xf0000000 0x100>; | 399 | reg = <0xf0000000 0x100>; |
382 | interrupts = <13 4 3>; | 400 | interrupts = <13 4 3>; |
401 | pinctrl-names = "default"; | ||
402 | pinctrl-0 = <&pinctrl_spi0>; | ||
383 | status = "disabled"; | 403 | status = "disabled"; |
384 | }; | 404 | }; |
385 | 405 | ||
@@ -389,6 +409,8 @@ | |||
389 | compatible = "atmel,at91rm9200-spi"; | 409 | compatible = "atmel,at91rm9200-spi"; |
390 | reg = <0xf0004000 0x100>; | 410 | reg = <0xf0004000 0x100>; |
391 | interrupts = <14 4 3>; | 411 | interrupts = <14 4 3>; |
412 | pinctrl-names = "default"; | ||
413 | pinctrl-0 = <&pinctrl_spi1>; | ||
392 | status = "disabled"; | 414 | status = "disabled"; |
393 | }; | 415 | }; |
394 | }; | 416 | }; |