kernel: update 3.18 to 3.18.20
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6338.dtsi
index b52778106038e73d299d02112c99264fc656a8c7..d578a5b59b8e8118a6c9a95f73e1b6e1bf02cbd9 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-periph-intc";
                        reg = <0xfffe000c 0x8>;
 
                        interrupt-controller;
                        interrupt-parent = <&cpu_intc>;
                        interrupts = <3>, <4>, <5>, <6>;
                };
+
+               gpio0: gpio-controller@fffe0404 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0xfffe0404 4>, <0xfffe040c 4>;
+
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       ngpios = <8>;
+               };
        };
 };