brcm63xx: fix BCM3368 interrupt controller addresses
[openwrt.git] / target / linux / brcm63xx / dts / bcm3368.dtsi
1 / {
2         #address-cells = <1>;
3         #size-cells = <1>;
4         compatible = "brcm,bcm3368";
5
6         aliases {
7                 pflash = &pflash;
8                 gpio0 = &gpio0;
9                 gpio1 = &gpio1;
10         };
11
12         cpus {
13                 #address-cells = <1>;
14                 #size-cells = <0>;
15
16                 cpu@0 {
17                         compatible = "brcm,bmips4350", "mips,mips4Kc";
18                         device_type = "cpu";
19                         reg = <0>;
20                 };
21
22                 cpu@1 {
23                         compatible = "brcm,bmips4350", "mips,mips4Kc";
24                         device_type = "cpu";
25                         reg = <1>;
26                 };
27         };
28
29         cpu_intc: interrupt-controller {
30                 #address-cells = <0>;
31                 compatible = "mti,cpu-interrupt-controller";
32
33                 interrupt-controller;
34                 #interrupt-cells = <1>;
35         };
36
37         memory { device_type = "memory"; reg = <0 0>; };
38
39         pflash: nor@1e000000 {
40                 compatible = "cfi-flash";
41                 reg = <0x1e000000 0x2000000>;
42                 bank-width = <2>;
43                 #address-cells = <1>;
44                 #size-cells = <1>;
45
46                 status = "disabled";
47         };
48
49         ubus@fff00000 {
50                 #address-cells = <1>;
51                 #size-cells = <1>;
52                 ranges;
53                 compatible = "simple-bus";
54
55                 periph_intc: interrupt-controller@fff8c00c {
56                         compatible = "brcm,bcm6345-periph-intc";
57                         reg = <0xfff8c00c 0x8>;
58
59                         interrupt-controller;
60                         #interrupt-cells = <1>;
61
62                         interrupt-parent = <&cpu_intc>;
63                         interrupts = <2>;
64                 };
65
66                 ext_intc0: interrupt-controller@fff8c014 {
67                         compatible = "brcm,bcm6345-ext-intc";
68                         reg = <0xfff8c014 0x4>;
69
70                         interrupt-controller;
71                         #interrupt-cells = <2>;
72
73                         interrupt-parent = <&periph_intc>;
74                         interrupts = <25>, <26>, <27>, <28>;
75                 };
76
77                 gpio1: gpio-controller@fff8c080 {
78                         compatible = "brcm,bcm6345-gpio";
79                         reg = <0xfff8c080 4>, <0xfff8c088 4>;
80
81                         gpio-controller;
82                         #gpio-cells = <2>;
83
84                         ngpios = <8>;
85                 };
86
87                 gpio0: gpio-controller@fff8c084 {
88                         compatible = "brcm,bcm6345-gpio";
89                         reg = <0xfff8c084 4>, <0xfff8c08c 4>;
90
91                         gpio-controller;
92                         #gpio-cells = <2>;
93                 };
94         };
95 };