brcm63xx: use upstreamed compatible name for the periph intc
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6318.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6318";
5
6 aliases {
7 gpio0 = &gpio0;
8 gpio1 = &gpio1;
9 };
10
11 cpus {
12 #address-cells = <1>;
13 #size-cells = <0>;
14
15 cpu@0 {
16 compatible = "brcm,bmips3300", "mips,mips4Kc";
17 device_type = "cpu";
18 reg = <0>;
19 };
20 };
21
22 cpu_intc: interrupt-controller {
23 #address-cells = <0>;
24 compatible = "mti,cpu-interrupt-controller";
25
26 interrupt-controller;
27 #interrupt-cells = <1>;
28 };
29
30 memory { device_type = "memory"; reg = <0 0>; };
31
32 ubus@10000000 {
33 #address-cells = <1>;
34 #size-cells = <1>;
35 ranges;
36 compatible = "simple-bus";
37
38 ext_intc: interrupt-controller@10000018 {
39 compatible = "brcm,bcm6345-ext-intc";
40 reg = <0x10000018 0x4>;
41
42 interrupt-controller;
43 #interrupt-cells = <2>;
44
45 interrupt-parent = <&periph_intc>;
46 interrupts = <24>, <25>, <26>, <27>;
47 };
48
49 periph_intc: interrupt-controller@10000020 {
50 compatible = "brcm,bcm6345-l1-intc";
51 reg = <0x10000020 0x20>;
52
53 interrupt-controller;
54 #interrupt-cells = <1>;
55
56 interrupt-parent = <&cpu_intc>;
57 interrupts = <2>;
58 };
59
60 gpio1: gpio-controller@10000080 {
61 compatible = "brcm,bcm6345-gpio";
62 reg = <0x10000080 4>, <0x10000088 4>;
63
64 gpio-controller;
65 #gpio-cells = <2>;
66
67 ngpios = <18>;
68 };
69
70 gpio0: gpio-controller@10000084 {
71 compatible = "brcm,bcm6345-gpio";
72 reg = <0x10000084 4>, <0x1000008c 4>;
73
74 gpio-controller;
75 #gpio-cells = <2>;
76 };
77 };
78 };