ARM: dts: hix5hd2: add gpio node
authorZhangfei Gao <zhangfei.gao@linaro.org>
Wed, 20 Aug 2014 07:36:37 +0000 (15:36 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 16 Sep 2014 03:00:39 +0000 (11:00 +0800)
Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/boot/dts/hisi-x5hd2.dtsi

index 18f52f0b5f8d05743f8d419747749e74a687d2c4..152f3ad1af6bab8a364f3be83bba6a4a0c39d696 100644 (file)
                                clock-names = "apb_pclk";
                                status = "disabled";
                        };
+
+                       gpio0: gpio@b20000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb20000 0x1000>;
+                               interrupts = <0 108 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio1: gpio@b21000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb21000 0x1000>;
+                               interrupts = <0 109 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio2: gpio@b22000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb22000 0x1000>;
+                               interrupts = <0 110 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio3: gpio@b23000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb23000 0x1000>;
+                               interrupts = <0 111 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio4: gpio@b24000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb24000 0x1000>;
+                               interrupts = <0 112 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio5: gpio@004000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0x004000 0x1000>;
+                               interrupts = <0 113 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio6: gpio@b26000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb26000 0x1000>;
+                               interrupts = <0 114 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio7: gpio@b27000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb27000 0x1000>;
+                               interrupts = <0 115 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio8: gpio@b28000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb28000 0x1000>;
+                               interrupts = <0 116 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio9: gpio@b29000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb29000 0x1000>;
+                               interrupts = <0 117 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio10: gpio@b2a000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb2a000 0x1000>;
+                               interrupts = <0 118 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio11: gpio@b2b000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb2b000 0x1000>;
+                               interrupts = <0 119 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio12: gpio@b2c000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb2c000 0x1000>;
+                               interrupts = <0 120 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio13: gpio@b2d000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb2d000 0x1000>;
+                               interrupts = <0 121 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio14: gpio@b2e000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb2e000 0x1000>;
+                               interrupts = <0 122 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio15: gpio@b2f000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb2f000 0x1000>;
+                               interrupts = <0 123 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio16: gpio@b30000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb30000 0x1000>;
+                               interrupts = <0 124 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
+
+                       gpio17: gpio@b31000 {
+                               compatible = "arm,pl061", "arm,primecell";
+                               reg = <0xb31000 0x1000>;
+                               interrupts = <0 125 0x4>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&clock HIX5HD2_FIXED_100M>;
+                               clock-names = "apb_pclk";
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               status = "disabled";
+                       };
                };
 
                local_timer@00a00600 {