aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-04-03 02:02:18 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-24 06:02:44 -0400
commitd50f88a0c304835fd38ea91327a882679ac413db (patch)
treec63f17c9a34652f1ec9861e21f44e5c3f12cced2
parentf0db66a5cd8f494f9034a5883094102bc46f73bc (diff)
ARM: dts: add spi nodes for atmel SoC
Signed-off-by: Richard Genoud <richard.genoud@gmail.com> [wenyou.yang@atmel.com: add spi nodes for sam9260, sam9263, sam9g45 and sam9n12] [wenyou.yang@atmel.com: remove spi property "cs-gpios" to the board dts files] [wenyou.yang@atmel.com: submit the patch] Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--arch/arm/boot/dts/at91sam9260.dtsi18
-rw-r--r--arch/arm/boot/dts/at91sam9263.dtsi18
-rw-r--r--arch/arm/boot/dts/at91sam9g45.dtsi18
-rw-r--r--arch/arm/boot/dts/at91sam9n12.dtsi18
-rw-r--r--arch/arm/boot/dts/at91sam9x5.dtsi18
5 files changed, 90 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi
index cb7bcc51608d..6e31dc8f6f12 100644
--- a/arch/arm/boot/dts/at91sam9260.dtsi
+++ b/arch/arm/boot/dts/at91sam9260.dtsi
@@ -471,6 +471,24 @@
471 status = "disabled"; 471 status = "disabled";
472 }; 472 };
473 473
474 spi0: spi@fffc8000 {
475 #address-cells = <1>;
476 #size-cells = <0>;
477 compatible = "atmel,at91rm9200-spi";
478 reg = <0xfffc8000 0x200>;
479 interrupts = <12 4 3>;
480 status = "disabled";
481 };
482
483 spi1: spi@fffcc000 {
484 #address-cells = <1>;
485 #size-cells = <0>;
486 compatible = "atmel,at91rm9200-spi";
487 reg = <0xfffcc000 0x200>;
488 interrupts = <13 4 3>;
489 status = "disabled";
490 };
491
474 adc0: adc@fffe0000 { 492 adc0: adc@fffe0000 {
475 compatible = "atmel,at91sam9260-adc"; 493 compatible = "atmel,at91sam9260-adc";
476 reg = <0xfffe0000 0x100>; 494 reg = <0xfffe0000 0x100>;
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
index 271d4de026e9..6c6d9ae1577c 100644
--- a/arch/arm/boot/dts/at91sam9263.dtsi
+++ b/arch/arm/boot/dts/at91sam9263.dtsi
@@ -462,6 +462,24 @@
462 reg = <0xfffffd40 0x10>; 462 reg = <0xfffffd40 0x10>;
463 status = "disabled"; 463 status = "disabled";
464 }; 464 };
465
466 spi0: spi@fffa4000 {
467 #address-cells = <1>;
468 #size-cells = <0>;
469 compatible = "atmel,at91rm9200-spi";
470 reg = <0xfffa4000 0x200>;
471 interrupts = <14 4 3>;
472 status = "disabled";
473 };
474
475 spi1: spi@fffa8000 {
476 #address-cells = <1>;
477 #size-cells = <0>;
478 compatible = "atmel,at91rm9200-spi";
479 reg = <0xfffa8000 0x200>;
480 interrupts = <15 4 3>;
481 status = "disabled";
482 };
465 }; 483 };
466 484
467 nand0: nand@40000000 { 485 nand0: nand@40000000 {
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
index 6b1d4cab24c2..e085b8af9a52 100644
--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -531,6 +531,24 @@
531 reg = <0xfffffd40 0x10>; 531 reg = <0xfffffd40 0x10>;
532 status = "disabled"; 532 status = "disabled";
533 }; 533 };
534
535 spi0: spi@fffa4000 {
536 #address-cells = <1>;
537 #size-cells = <0>;
538 compatible = "atmel,at91rm9200-spi";
539 reg = <0xfffa4000 0x200>;
540 interrupts = <14 4 3>;
541 status = "disabled";
542 };
543
544 spi1: spi@fffa8000 {
545 #address-cells = <1>;
546 #size-cells = <0>;
547 compatible = "atmel,at91rm9200-spi";
548 reg = <0xfffa8000 0x200>;
549 interrupts = <15 4 3>;
550 status = "disabled";
551 };
534 }; 552 };
535 553
536 nand0: nand@40000000 { 554 nand0: nand@40000000 {
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index 7750f98dd764..f3f87ef30558 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -373,6 +373,24 @@
373 #size-cells = <0>; 373 #size-cells = <0>;
374 status = "disabled"; 374 status = "disabled";
375 }; 375 };
376
377 spi0: spi@f0000000 {
378 #address-cells = <1>;
379 #size-cells = <0>;
380 compatible = "atmel,at91rm9200-spi";
381 reg = <0xf0000000 0x100>;
382 interrupts = <13 4 3>;
383 status = "disabled";
384 };
385
386 spi1: spi@f0004000 {
387 #address-cells = <1>;
388 #size-cells = <0>;
389 compatible = "atmel,at91rm9200-spi";
390 reg = <0xf0004000 0x100>;
391 interrupts = <14 4 3>;
392 status = "disabled";
393 };
376 }; 394 };
377 395
378 nand0: nand@40000000 { 396 nand0: nand@40000000 {
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index aa98e641931f..83a4889f629b 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -505,6 +505,24 @@
505 trigger-value = <0x6>; 505 trigger-value = <0x6>;
506 }; 506 };
507 }; 507 };
508
509 spi0: spi@f0000000 {
510 #address-cells = <1>;
511 #size-cells = <0>;
512 compatible = "atmel,at91rm9200-spi";
513 reg = <0xf0000000 0x100>;
514 interrupts = <13 4 3>;
515 status = "disabled";
516 };
517
518 spi1: spi@f0004000 {
519 #address-cells = <1>;
520 #size-cells = <0>;
521 compatible = "atmel,at91rm9200-spi";
522 reg = <0xf0004000 0x100>;
523 interrupts = <14 4 3>;
524 status = "disabled";
525 };
508 }; 526 };
509 527
510 nand0: nand@40000000 { 528 nand0: nand@40000000 {