aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2014-03-20 19:21:55 -0400
committerDinh Nguyen <dinguyen@altera.com>2014-05-22 17:32:05 -0400
commit6ec08c71da4580904c25c35e364b4b66e6f16914 (patch)
tree7c1c728d79d8d7d8ffe61b7dd0abfaa3c0ab56dd
parent8cb289ed60668d3350dda5aa19b4fa1dce1c07f1 (diff)
ARM: dts: socfpga: add gpio pieces
The cycloneV has three gpio controllers, each one with 29 gpios. This patch adds the three controller with the gpio driver which is now sitting the gpio tree. Cc: devicetree@vger.kernel.org Acked-by: Alan Tull <atull@altera.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
-rw-r--r--arch/arm/boot/dts/socfpga.dtsi60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 280966b92e5e..b8fa747bb23a 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -543,6 +543,66 @@
543 status = "disabled"; 543 status = "disabled";
544 }; 544 };
545 545
546 gpio@ff708000 {
547 #address-cells = <1>;
548 #size-cells = <0>;
549 compatible = "snps,dw-apb-gpio";
550 reg = <0xff708000 0x1000>;
551 clocks = <&per_base_clk>;
552 status = "disabled";
553
554 gpio0: gpio-controller@0 {
555 compatible = "snps,dw-apb-gpio-port";
556 gpio-controller;
557 #gpio-cells = <2>;
558 snps,nr-gpios = <29>;
559 reg = <0>;
560 interrupt-controller;
561 #interrupt-cells = <2>;
562 interrupts = <0 164 4>;
563 };
564 };
565
566 gpio@ff709000 {
567 #address-cells = <1>;
568 #size-cells = <0>;
569 compatible = "snps,dw-apb-gpio";
570 reg = <0xff709000 0x1000>;
571 clocks = <&per_base_clk>;
572 status = "disabled";
573
574 gpio1: gpio-controller@0 {
575 compatible = "snps,dw-apb-gpio-port";
576 gpio-controller;
577 #gpio-cells = <2>;
578 snps,nr-gpios = <29>;
579 reg = <0>;
580 interrupt-controller;
581 #interrupt-cells = <2>;
582 interrupts = <0 165 4>;
583 };
584 };
585
586 gpio@ff70a000 {
587 #address-cells = <1>;
588 #size-cells = <0>;
589 compatible = "snps,dw-apb-gpio";
590 reg = <0xff70a000 0x1000>;
591 clocks = <&per_base_clk>;
592 status = "disabled";
593
594 gpio2: gpio-controller@0 {
595 compatible = "snps,dw-apb-gpio-port";
596 gpio-controller;
597 #gpio-cells = <2>;
598 snps,nr-gpios = <27>;
599 reg = <0>;
600 interrupt-controller;
601 #interrupt-cells = <2>;
602 interrupts = <0 166 4>;
603 };
604 };
605
546 L2: l2-cache@fffef000 { 606 L2: l2-cache@fffef000 {
547 compatible = "arm,pl310-cache"; 607 compatible = "arm,pl310-cache";
548 reg = <0xfffef000 0x1000>; 608 reg = <0xfffef000 0x1000>;