29dae01d7999d903b72b723718382c3234c3a612
[openwrt/staging/lynxis.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 spi0 = &lsspi;
11 };
12
13 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16
17 cpu@0 {
18 compatible = "brcm,bmips4350", "mips,mips4Kc";
19 device_type = "cpu";
20 reg = <0>;
21 };
22
23 cpu@1 {
24 compatible = "brcm,bmips4350", "mips,mips4Kc";
25 device_type = "cpu";
26 reg = <1>;
27 };
28 };
29
30 cpu_intc: interrupt-controller {
31 #address-cells = <0>;
32 compatible = "mti,cpu-interrupt-controller";
33
34 interrupt-controller;
35 #interrupt-cells = <1>;
36 };
37
38 memory { device_type = "memory"; reg = <0 0>; };
39
40 pflash: nor@1e000000 {
41 compatible = "cfi-flash";
42 reg = <0x1e000000 0x2000000>;
43 bank-width = <2>;
44 #address-cells = <1>;
45 #size-cells = <1>;
46
47 status = "disabled";
48 };
49
50 ubus@fff00000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 ranges;
54 compatible = "simple-bus";
55 interrupt-parent = <&periph_intc>;
56
57 periph_intc: interrupt-controller@fff8c00c {
58 compatible = "brcm,bcm6345-l1-intc";
59 reg = <0xfff8c00c 0x8>;
60
61 interrupt-controller;
62 #interrupt-cells = <1>;
63
64 interrupt-parent = <&cpu_intc>;
65 interrupts = <2>;
66 };
67
68 ext_intc0: interrupt-controller@fff8c014 {
69 compatible = "brcm,bcm6345-ext-intc";
70 reg = <0xfff8c014 0x4>;
71
72 interrupt-controller;
73 #interrupt-cells = <2>;
74
75 interrupts = <25>, <26>, <27>, <28>;
76 };
77
78 gpio1: gpio-controller@fff8c080 {
79 compatible = "brcm,bcm6345-gpio";
80 reg = <0xfff8c080 4>, <0xfff8c088 4>;
81
82 gpio-controller;
83 #gpio-cells = <2>;
84
85 ngpios = <8>;
86 };
87
88 gpio0: gpio-controller@fff8c084 {
89 compatible = "brcm,bcm6345-gpio";
90 reg = <0xfff8c084 4>, <0xfff8c08c 4>;
91
92 gpio-controller;
93 #gpio-cells = <2>;
94 };
95
96 lsspi: spi@fff8c800 {
97 #address-cells = <1>;
98 #size-cells = <0>;
99 compatible = "brcm,bcm6358-spi";
100 reg = <0xfff8c800 0x70c>;
101 interrupts = <1>;
102 /* clocks = <&clkctl 9>; */
103 };
104 };
105 };