brcm63xx: Add Sercomm AD1018 support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6345.dtsi
index 16ba8bd6c028b8d44aada0fa2ea95839cdf3f295..b16c132cea33d4b99891450616665f7b21446957 100644 (file)
@@ -5,6 +5,7 @@
 
        aliases {
                pflash = &pflash;
+               gpio0 = &gpio0;
        };
 
        cpus {
@@ -45,7 +46,7 @@
                compatible = "simple-bus";
 
                periph_intc: interrupt-controller@fffe000c {
-                       compatible = "brcm,bcm6345-l2-intc";
+                       compatible = "brcm,bcm6345-l1-intc";
                        reg = <0xfffe000c 0x9>;
 
                        interrupt-controller;
                        interrupt-parent = <&cpu_intc>;
                        interrupts = <3>, <4>, <5>, <6>;
                };
+
+               gpio0: gpio-controller@fffe0404 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0xfffe0404 4>, <0xfffe0408 4>;
+
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       ngpios = <16>;
+               };
        };
 };