brcm63xx: fix BCM3368 external interrupts
[librecmc/librecmc.git] / target / linux / brcm63xx / dts / bcm3368.dtsi
index dba73b56cce95932882daf2b640f26154372525a..5be5c6a150e1c0b9f67f669c70958a0468871640 100644 (file)
@@ -5,6 +5,8 @@
 
        aliases {
                pflash = &pflash;
+               gpio0 = &gpio0;
+               gpio1 = &gpio1;
        };
 
        cpus {
                        #interrupt-cells = <2>;
 
                        interrupt-parent = <&periph_intc>;
-                       interrupts = <24>, <25>, <26>, <27>;
+                       interrupts = <25>, <26>, <27>, <28>;
+               };
+
+               gpio1: gpio-controller@fff8c080 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0xfff8c080 4>, <0xfff8c088 4>;
+
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       ngpios = <8>;
+               };
+
+               gpio0: gpio-controller@fff8c084 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0xfff8c084 4>, <0xfff8c08c 4>;
+
+                       gpio-controller;
+                       #gpio-cells = <2>;
                };
        };
 };