]> Pileus Git - ~andy/linux/blobdiff - arch/arm/boot/dts/bcm11351.dtsi
ARM: bcm281xx: Add device node for the GPIO controller
[~andy/linux] / arch / arm / boot / dts / bcm11351.dtsi
index 05a5aabe3b2ccadbef92c305659ccf4f51fd7580..77af39668090da09343043b60ac112076490c759 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>;