diff mbox

[3/3] ARM: dts: enable GPIO-a for Broadcom NSP

Message ID 1449031685-19087-1-git-send-email-yrdreddy@broadcom.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yendapally Reddy Dhananjaya Reddy Dec. 2, 2015, 4:48 a.m. UTC
This enables the GPIO-a support for Broadcom NSP SoC

Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>
---
 arch/arm/boot/dts/bcm-nsp.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index 58aca27..16e3c2b 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -116,4 +116,16 @@ 
 			status = "disabled";
 		};
 	};
+
+	gpioa: gpio-a@18000020 {
+		compatible = "brcm,nsp-gpio-a";
+		reg = <0x18000020 0x70>,
+		      <0x1803f1c4 0x1c>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		ngpios = <32>;
+		interrupt-controller;
+		interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+		gpio-ranges = <&pinctrl 0 0 32>;
+	};
 };