base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6362.dtsi
1 /dts-v1/;
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "brcm,bcm6362";
7
8 aliases {
9 nflash = &nflash;
10 pinctrl = &pinctrl;
11 serial0 = &uart0;
12 serial1 = &uart1;
13 spi0 = &lsspi;
14 spi1 = &hsspi;
15 };
16
17 cpus {
18 #address-cells = <1>;
19 #size-cells = <0>;
20
21 cpu@0 {
22 compatible = "brcm,bmips4350", "mips,mips4Kc";
23 device_type = "cpu";
24 reg = <0>;
25 };
26
27 cpu@1 {
28 compatible = "brcm,bmips4350", "mips,mips4Kc";
29 device_type = "cpu";
30 reg = <1>;
31 };
32 };
33
34 cpu_intc: interrupt-controller {
35 #address-cells = <0>;
36 compatible = "mti,cpu-interrupt-controller";
37
38 interrupt-controller;
39 #interrupt-cells = <1>;
40 };
41
42 memory { device_type = "memory"; reg = <0 0>; };
43
44 ubus@10000000 {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 ranges;
48 compatible = "simple-bus";
49 interrupt-parent = <&periph_intc>;
50
51 ext_intc: interrupt-controller@10000018 {
52 compatible = "brcm,bcm6345-ext-intc";
53 reg = <0x10000018 0x4>;
54
55 interrupt-controller;
56 #interrupt-cells = <2>;
57
58 interrupts = <40>, <41>, <42>, <43>;
59 };
60
61 periph_intc: interrupt-controller@10000020 {
62 compatible = "brcm,bcm6345-l1-intc";
63 reg = <0x10000020 0x10>,
64 <0x10000030 0x10>;
65
66 interrupt-controller;
67 #interrupt-cells = <1>;
68
69 interrupt-parent = <&cpu_intc>;
70 interrupts = <2>, <3>;
71 };
72
73 pinctrl: pin-controller@10000080 {
74 compatible = "brcm,bcm6362-pinctrl";
75 reg = <0x10000080 0x8>,
76 <0x10000088 0x8>,
77 <0x10000090 0x4>,
78 <0x10000098 0x4>,
79 <0x1000009c 0x4>,
80 <0x100000b8 0x4>;
81 reg-names = "dirout", "dat", "led",
82 "mode", "ctrl", "basemode";
83
84 gpio-controller;
85 #gpio-cells = <2>;
86
87 interrupt-parent = <&ext_intc>;
88 interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
89 interrupt-names = "gpio24", "gpio25",
90 "gpio26", "gpio27";
91
92 pinctrl_usb_device_led: usb_device_led {
93 function = "usb_device_led";
94 pins = "gpio0";
95 };
96
97 pinctrl_sys_irq: sys_irq {
98 function = "sys_irq";
99 pins = "gpio1";
100 };
101
102 pinctrl_serial_led: serial_led {
103 pinctrl_serial_led_clk: serial_led_clk {
104 function = "serial_led_clk";
105 pins = "gpio2";
106 };
107
108 pinctrl_serial_led_data: serial_led_data {
109 function = "serial_led_data";
110 pins = "gpio3";
111 };
112 };
113
114 pinctrl_robosw_led_data: robosw_led_data {
115 function = "robosw_led_data";
116 pins = "gpio4";
117 };
118
119 pinctrl_robosw_led_clk: robosw_led_clk {
120 function = "robosw_led_clk";
121 pins = "gpio5";
122 };
123
124 pinctrl_robosw_led0: robosw_led0 {
125 function = "robosw_led0";
126 pins = "gpio6";
127 };
128
129 pinctrl_robosw_led1: robosw_led1 {
130 function = "robosw_led1";
131 pins = "gpio7";
132 };
133
134 pinctrl_inet_led: inet_led {
135 function = "inet_led";
136 pins = "gpio8";
137 };
138
139 pinctrl_spi_cs2: spi_cs2 {
140 function = "spi_cs2";
141 pins = "gpio9";
142 };
143
144 pinctrl_spi_cs3: spi_cs3 {
145 function = "spi_cs3";
146 pins = "gpio10";
147 };
148
149 pinctrl_ntr_pulse: ntr_pulse {
150 function = "ntr_pulse";
151 pins = "gpio11";
152 };
153
154 pinctrl_uart1_scts: uart1_scts {
155 function = "uart1_scts";
156 pins = "gpio12";
157 };
158
159 pinctrl_uart1_srts: uart1_srts {
160 function = "uart1_srts";
161 pins = "gpio13";
162 };
163
164
165 pinctrl_uart1: uart1 {
166 pinctrl_uart1_sdin: uart1_sdin {
167 function = "uart1_sdin";
168 pins = "gpio14";
169 };
170
171 pinctrl_uart1_sdout: uart1_sdout {
172 function = "uart1_sdout";
173 pins = "gpio15";
174 };
175 };
176
177 pinctrl_adsl_spi: adsl_spi {
178 pinctrl_adsl_spi_miso: adsl_spi_miso {
179 function = "adsl_spi_miso";
180 pins = "gpio16";
181 };
182
183 pinctrl_adsl_spi_mosi: adsl_spi_mosi {
184 function = "adsl_spi_mosi";
185 pins = "gpio17";
186 };
187
188 pinctrl_adsl_spi_clk: adsl_spi_clk {
189 function = "adsl_spi_clk";
190 pins = "gpio18";
191 };
192
193 pinctrl_adsl_spi_cs: adsl_spi_cs {
194 function = "adsl_spi_cs";
195 pins = "gpio19";
196 };
197 };
198
199 pinctrl_ephy0_led: ephy0_led {
200 function = "ephy0_led";
201 pins = "gpio20";
202 };
203
204 pinctrl_ephy1_led: ephy1_led {
205 function = "ephy1_led";
206 pins = "gpio21";
207 };
208
209 pinctrl_ephy2_led: ephy2_led {
210 function = "ephy2_led";
211 pins = "gpio22";
212 };
213
214 pinctrl_ephy3_led: ephy3_led {
215 function = "ephy3_led";
216 pins = "gpio23";
217 };
218
219 pinctrl_ext_irq0: ext_irq0 {
220 function = "ext_irq0";
221 pins = "gpio24";
222 };
223
224 pinctrl_ext_irq1: ext_irq1 {
225 function = "ext_irq1";
226 pins = "gpio25";
227 };
228
229 pinctrl_ext_irq2: ext_irq2 {
230 function = "ext_irq2";
231 pins = "gpio26";
232 };
233
234 pinctrl_ext_irq3: ext_irq3 {
235 function = "ext_irq3";
236 pins = "gpio27";
237 };
238
239 pinctrl_nand: nand {
240 function = "nand";
241 group = "nand_grp";
242 };
243 };
244
245 uart0: serial@10000100 {
246 compatible = "brcm,bcm6345-uart";
247 reg = <0x10000100 0x18>;
248
249 interrupt-parent = <&periph_intc>;
250 interrupts = <3>;
251
252 /* clocks = <&periph_clk>; */
253 /* clock-names = "refclk"; */
254
255 status = "disabled";
256 };
257
258 uart1: serial@10000120 {
259 compatible = "brcm,bcm6345-uart";
260 reg = <0x10000120 0x18>;
261
262 interrupt-parent = <&periph_intc>;
263 interrupts = <4>;
264
265 /* clocks = <&periph_clk>; */
266 /* clock-names = "refclk"; */
267
268 status = "disabled";
269 };
270
271 lsspi: spi@10000800 {
272 #address-cells = <1>;
273 #size-cells = <0>;
274 compatible = "brcm,bcm6358-spi";
275 reg = <0x10000800 0x70c>;
276 interrupts = <2>;
277 /* clocks = <&clkctl 15>; */
278 };
279
280 hsspi: spi@10001000 {
281 #address-cells = <1>;
282 #size-cells = <0>;
283 compatible = "brcm,bcm6328-hsspi";
284 reg = <0x10001000 0x600>;
285 interrupts = <5>;
286 /* clocks = <&clkctl 16>; */
287 };
288
289 nflash: nand@10000200 {
290 #address-cells = <1>;
291 #size-cells = <0>;
292 compatible = "brcm,nand-bcm6368",
293 "brcm,brcmnand-v2.2",
294 "brcm,brcmnand";
295 reg = <0x10000200 0x180>,
296 <0x10000600 0x200>,
297 <0x10000070 0x10>;
298 reg-names = "nand",
299 "nand-cache",
300 "nand-int-base";
301
302 interrupt-parent = <&periph_intc>;
303 interrupts = <12>;
304
305 /* clocks = <&clkctl 20>; */
306
307 pinctrl-names = "default";
308 pinctrl-0 = <&pinctrl_nand>;
309
310 status = "disabled";
311 };
312
313 leds: led-controller@10001900 {
314 #address-cells = <1>;
315 #size-cells = <0>;
316 compatible = "brcm,bcm6328-leds";
317 reg = <0x10001900 0x24>;
318 status = "disabled";
319 };
320 };
321 };