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