]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: enable GPIO-a for Broadcom NSP
authorYendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>
Fri, 4 Dec 2015 17:12:42 +0000 (12:12 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 11 Feb 2016 19:59:29 +0000 (11:59 -0800)
This enables the GPIO-a support for Broadcom NSP SoC

Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-nsp.dtsi

index 10bdef557ba0505ceb05583db76fa88580188b1b..49f9376d0d1210133da0a76d0341b21256707138 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
+               gpioa: gpio@0020 {
+                       compatible = "brcm,nsp-gpio-a";
+                       reg = <0x0020 0x70>,
+                             <0x3f1c4 0x1c>;
+                       #gpio-cells = <2>;
+                       gpio-controller;
+                       ngpios = <32>;
+                       interrupt-controller;
+                       interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+                       gpio-ranges = <&pinctrl 0 0 32>;
+               };
+
                uart0: serial@0300 {
                        compatible = "ns16550a";
                        reg = <0x0300 0x100>;