Browse Source

arm64: dts: Add Designware GPIO dts binding for APM X-Gene v1 platform

This patch adds Designware GPIO dts binding for APM X-Gene v1 platform.

Signed-off-by: Duc Dang <dhdang@apm.com>
Duc Dang 10 years ago
parent
commit
e38ec5b9a9
1 changed files with 15 additions and 0 deletions
  1. 15 0
      arch/arm64/boot/dts/apm/apm-storm.dtsi

+ 15 - 0
arch/arm64/boot/dts/apm/apm-storm.dtsi

@@ -732,6 +732,21 @@
 			#gpio-cells = <2>;
 		};
 
+		dwgpio: dwgpio@1c024000 {
+			compatible = "snps,dw-apb-gpio";
+			reg = <0x0 0x1c024000 0x0 0x1000>;
+			reg-io-width = <4>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			porta: gpio-controller@0 {
+				compatible = "snps,dw-apb-gpio-port";
+				gpio-controller;
+				snps,nr-gpios = <32>;
+				reg = <0>;
+			};
+		};
+
 		phy1: phy@1f21a000 {
 			compatible = "apm,xgene-phy";
 			reg = <0x0 0x1f21a000 0x0 0x100>;