ARM: dts: Cygnus: define ngpios property in gpio controller's node
authorPramod Kumar <pramodku@broadcom.com>
Thu, 19 Nov 2015 03:52:14 +0000 (09:22 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 7 Dec 2015 03:45:18 +0000 (19:45 -0800)
Add ngpios property in cygnus ASIU, CCM and CRMU gpio controller's node

Signed-off-by: Pramod Kumar <pramodku@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi

index c9f1ac455e9a433f55ac725860b0a9eac9da29e7..f8b75a53181bf410bf1516f1321c75dc499abc02 100644 (file)
                        compatible = "brcm,cygnus-crmu-gpio";
                        reg = <0x03024800 0x50>,
                              <0x03024008 0x18>;
+                       ngpios = <6>;
                        #gpio-cells = <2>;
                        gpio-controller;
                };
                        compatible = "brcm,cygnus-ccm-gpio";
                        reg = <0x1800a000 0x50>,
                              <0x0301d164 0x20>;
+                       ngpios = <24>;
                        #gpio-cells = <2>;
                        gpio-controller;
                        interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
                gpio_asiu: gpio@180a5000 {
                        compatible = "brcm,cygnus-asiu-gpio";
                        reg = <0x180a5000 0x668>;
+                       ngpios = <146>;
                        #gpio-cells = <2>;
                        gpio-controller;