brcm63xx: register interrupt-controllers through DT when possible
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / dts / bcm6318.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6318";
5
6 cpus {
7 #address-cells = <1>;
8 #size-cells = <0>;
9
10 cpu@0 {
11 compatible = "brcm,bmips3300", "mips,mips4Kc";
12 device_type = "cpu";
13 reg = <0>;
14 };
15 };
16
17 cpu_intc: interrupt-controller {
18 #address-cells = <0>;
19 compatible = "mti,cpu-interrupt-controller";
20
21 interrupt-controller;
22 #interrupt-cells = <1>;
23 };
24
25 memory { device_type = "memory"; reg = <0 0>; };
26
27 ubus@10000000 {
28 #address-cells = <1>;
29 #size-cells = <1>;
30 ranges;
31 compatible = "simple-bus";
32
33 ext_intc: interrupt-controller@10000018 {
34 compatible = "brcm,bcm6345-ext-intc";
35 reg = <0x10000018 0x4>;
36
37 interrupt-controller;
38 #interrupt-cells = <2>;
39
40 interrupt-parent = <&periph_intc>;
41 interrupts = <24>, <25>, <26>, <27>;
42 };
43
44 periph_intc: interrupt-controller@10000020 {
45 compatible = "brcm,bcm6345-l2-intc";
46 reg = <0x10000020 0x20>;
47
48 interrupt-controller;
49 #interrupt-cells = <1>;
50
51 interrupt-parent = <&cpu_intc>;
52 interrupts = <2>;
53 };
54 };
55 };