ARM: bcm281xx: Add device node for the GPIO controller
authorMarkus Mayer <markus.mayer@linaro.org>
Tue, 10 Sep 2013 18:07:03 +0000 (11:07 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 31 Oct 2013 17:28:54 +0000 (10:28 -0700)
Add the GPIO controller device node for the Broadcom bcm281xx family of
mobile SoCs.

Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Christian Daudt <bcm@fixthebug.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/bcm11351.dtsi

index 05a5aab..77af396 100644 (file)
                clock-frequency = <32768>;
        };
 
+       gpio: gpio@35003000 {
+               compatible = "brcm,bcm11351-gpio", "brcm,kona-gpio";
+               reg = <0x35003000 0x800>;
+               interrupts =
+                      <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH
+                       GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH
+                       GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH
+                       GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
+                       GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
+                       GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
+               #gpio-cells = <2>;
+               #interrupt-cells = <2>;
+               gpio-controller;
+               interrupt-controller;
+       };
+
        sdio1: sdio@3f180000 {
                compatible = "brcm,kona-sdhci";
                reg = <0x3f180000 0x10000>;