Kaynağa Gözat

arm64: dts: Add APM X-Gene v2 SoC Designware GPIO controller DTS entry

This patch adds Designware GPIO controller DTS node for APM
X-Gene v2 platforms.

Signed-off-by: Duc Dang <dhdang@apm.com>
Duc Dang 10 yıl önce
ebeveyn
işleme
9ba6739d28
1 değiştirilmiş dosya ile 15 ekleme ve 0 silme
  1. 15 0
      arch/arm64/boot/dts/apm/apm-shadowcat.dtsi

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

@@ -431,6 +431,21 @@
 			#gpio-cells = <2>;
 			#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>;
+			};
+		};
+
 		sbgpio: sbgpio@17001000{
 		sbgpio: sbgpio@17001000{
 			compatible = "apm,xgene-gpio-sb";
 			compatible = "apm,xgene-gpio-sb";
 			reg = <0x0 0x17001000 0x0 0x400>;
 			reg = <0x0 0x17001000 0x0 0x400>;