aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9g45.dtsi
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2013-04-03 02:03:52 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-24 06:02:57 -0400
commita68b728f7a217ce30b0eb77f6cb8e955d6ce6841 (patch)
tree62c47f3c2195fe258ffeef0909e6a92ff5f5c61e /arch/arm/boot/dts/at91sam9g45.dtsi
parentb6811e9ab714ca821f6663fa0b809eb790f99dd7 (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/at91sam9g45.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9g45.dtsi22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
index e085b8af9a52..cfdf429578b5 100644
--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -322,6 +322,24 @@
322 }; 322 };
323 }; 323 };
324 324
325 spi0 {
326 pinctrl_spi0: spi0-0 {
327 atmel,pins =
328 <1 0 0x1 0x0 /* PB0 periph A SPI0_MISO pin */
329 1 1 0x1 0x0 /* PB1 periph A SPI0_MOSI pin */
330 1 2 0x1 0x0>; /* PB2 periph A SPI0_SPCK pin */
331 };
332 };
333
334 spi1 {
335 pinctrl_spi1: spi1-0 {
336 atmel,pins =
337 <1 14 0x1 0x0 /* PB14 periph A SPI1_MISO pin */
338 1 15 0x1 0x0 /* PB15 periph A SPI1_MOSI pin */
339 1 16 0x1 0x0>; /* PB16 periph A SPI1_SPCK pin */
340 };
341 };
342
325 pioA: gpio@fffff200 { 343 pioA: gpio@fffff200 {
326 compatible = "atmel,at91rm9200-gpio"; 344 compatible = "atmel,at91rm9200-gpio";
327 reg = <0xfffff200 0x200>; 345 reg = <0xfffff200 0x200>;
@@ -538,6 +556,8 @@
538 compatible = "atmel,at91rm9200-spi"; 556 compatible = "atmel,at91rm9200-spi";
539 reg = <0xfffa4000 0x200>; 557 reg = <0xfffa4000 0x200>;
540 interrupts = <14 4 3>; 558 interrupts = <14 4 3>;
559 pinctrl-names = "default";
560 pinctrl-0 = <&pinctrl_spi0>;
541 status = "disabled"; 561 status = "disabled";
542 }; 562 };
543 563
@@ -547,6 +567,8 @@
547 compatible = "atmel,at91rm9200-spi"; 567 compatible = "atmel,at91rm9200-spi";
548 reg = <0xfffa8000 0x200>; 568 reg = <0xfffa8000 0x200>;
549 interrupts = <15 4 3>; 569 interrupts = <15 4 3>;
570 pinctrl-names = "default";
571 pinctrl-0 = <&pinctrl_spi1>;
550 status = "disabled"; 572 status = "disabled";
551 }; 573 };
552 }; 574 };