aliases {
pflash = &pflash;
+ gpio0 = &gpio0;
};
cpus {
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>;
+ };
};
};