bmips: remove unneeded console from bootargs
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm6328.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 /dts-v1/;
4
5 #include <dt-bindings/clock/bcm6328-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/bcm6328-interrupt-controller.h>
9 #include <dt-bindings/reset/bcm6328-reset.h>
10 #include <dt-bindings/soc/bcm6328-pm.h>
11
12 / {
13 #address-cells = <1>;
14 #size-cells = <1>;
15 compatible = "brcm,bcm6328";
16
17 aliases {
18 nflash = &nflash;
19 pinctrl = &pinctrl;
20 serial0 = &uart0;
21 serial1 = &uart1;
22 spi1 = &hsspi;
23 };
24
25 chosen {
26 bootargs = "earlycon";
27 stdout-path = "serial0:115200n8";
28 };
29
30 clocks {
31 periph_osc: periph-osc {
32 compatible = "fixed-clock";
33
34 #clock-cells = <0>;
35
36 clock-frequency = <50000000>;
37 clock-output-names = "periph";
38 };
39
40 hsspi_osc: hsspi-osc {
41 compatible = "fixed-clock";
42
43 #clock-cells = <0>;
44
45 clock-frequency = <133333333>;
46 clock-output-names = "hsspi_osc";
47 };
48 };
49
50 cpus {
51 #address-cells = <1>;
52 #size-cells = <0>;
53 mips-hpt-frequency = <160000000>;
54
55 cpu@0 {
56 compatible = "brcm,bmips4350", "mips,mips4Kc";
57 device_type = "cpu";
58 reg = <0>;
59 };
60
61 cpu@1 {
62 compatible = "brcm,bmips4350", "mips,mips4Kc";
63 device_type = "cpu";
64 reg = <1>;
65 };
66 };
67
68 cpu_intc: interrupt-controller {
69 #address-cells = <0>;
70 compatible = "mti,cpu-interrupt-controller";
71
72 interrupt-controller;
73 #interrupt-cells = <1>;
74 };
75
76 memory@0 {
77 device_type = "memory";
78 reg = <0 0>;
79 };
80
81 ubus {
82 #address-cells = <1>;
83 #size-cells = <1>;
84
85 compatible = "simple-bus";
86 ranges;
87
88 periph_clk: clock-controller@10000004 {
89 compatible = "brcm,bcm6328-clocks";
90 reg = <0x10000004 0x4>;
91 #clock-cells = <1>;
92 };
93
94 periph_rst: reset-controller@10000010 {
95 compatible = "brcm,bcm6345-reset";
96 reg = <0x10000010 0x4>;
97 #reset-cells = <1>;
98 };
99
100 ext_intc: interrupt-controller@10000018 {
101 #address-cells = <1>;
102 compatible = "brcm,bcm6345-ext-intc";
103 reg = <0x10000018 0x4>;
104
105 interrupt-controller;
106 #interrupt-cells = <2>;
107
108 interrupts = <BCM6328_IRQ_EXTO>,
109 <BCM6328_IRQ_EXT1>,
110 <BCM6328_IRQ_EXT2>,
111 <BCM6328_IRQ_EXT3>;
112 };
113
114 periph_intc: interrupt-controller@10000020 {
115 #address-cells = <1>;
116 compatible = "brcm,bcm6345-l1-intc";
117 reg = <0x10000020 0x10>,
118 <0x10000030 0x10>;
119
120 interrupt-controller;
121 #interrupt-cells = <1>;
122
123 interrupt-parent = <&cpu_intc>;
124 interrupts = <2>, <3>;
125 };
126
127 wdt: watchdog@1000005c {
128 compatible = "brcm,bcm7038-wdt";
129 reg = <0x1000005c 0xc>;
130
131 clocks = <&periph_osc>;
132
133 timeout-sec = <30>;
134 };
135
136 pll_cntl: syscon@10000068 {
137 compatible = "syscon", "simple-mfd";
138 reg = <0x10000068 0x4>;
139 native-endian;
140
141 syscon-reboot {
142 compatible = "syscon-reboot";
143 offset = <0>;
144 mask = <0x1>;
145 };
146 };
147
148 gpio: syscon@10000080 {
149 compatible = "syscon", "simple-mfd";
150 reg = <0x10000080 0x80>;
151 native-endian;
152
153 pinctrl: pin-controller {
154 compatible = "brcm,bcm6328-pinctrl";
155
156 gpio-controller;
157 #gpio-cells = <2>;
158
159 interrupts-extended = <&ext_intc 3 0>,
160 <&ext_intc 2 0>,
161 <&ext_intc 1 0>,
162 <&ext_intc 0 0>;
163 interrupt-names = "gpio12",
164 "gpio15",
165 "gpio23",
166 "gpio24";
167
168 pinctrl_serial_led: serial_led {
169 pinctrl_serial_led_data: serial_led_data {
170 function = "serial_led_data";
171 pins = "gpio6";
172 };
173
174 pinctrl_serial_led_clk: serial_led_clk {
175 function = "serial_led_clk";
176 pins = "gpio7";
177 };
178 };
179
180 pinctrl_inet_act_led: inet_act_led {
181 function = "inet_act_led";
182 pins = "gpio11";
183 };
184
185 pinctrl_pcie_clkreq: pcie_clkreq {
186 function = "pcie_clkreq";
187 pins = "gpio16";
188 };
189
190 pinctrl_ephy0_spd_led: ephy0_spd_led {
191 function = "led";
192 pins = "gpio17";
193 };
194
195 pinctrl_ephy1_spd_led: ephy1_spd_led {
196 function = "led";
197 pins = "gpio18";
198 };
199
200 pinctrl_ephy2_spd_led: ephy2_spd_led {
201 function = "led";
202 pins = "gpio19";
203 };
204
205 pinctrl_ephy3_spd_led: ephy3_spd_led {
206 function = "led";
207 pins = "gpio20";
208 };
209
210 pinctrl_ephy0_act_led: ephy0_act_led {
211 function = "ephy0_act_led";
212 pins = "gpio25";
213 };
214
215 pinctrl_ephy1_act_led: ephy1_act_led {
216 function = "ephy1_act_led";
217 pins = "gpio26";
218 };
219
220 pinctrl_ephy2_act_led: ephy2_act_led {
221 function = "ephy2_act_led";
222 pins = "gpio27";
223 };
224
225 pinctrl_ephy3_act_led: ephy3_act_led {
226 function = "ephy3_act_led";
227 pins = "gpio28";
228 };
229
230 pinctrl_hsspi_cs1: hsspi_cs1 {
231 function = "hsspi_cs1";
232 pins = "hsspi_cs1";
233 };
234
235 pinctrl_usb_port1_device: usb_port1_device {
236 function = "usb_device_port";
237 pins = "usb_port1";
238 };
239
240 pinctrl_usb_port1_host: usb_port1_host {
241 function = "usb_host_port";
242 pins = "usb_port1";
243 };
244 };
245 };
246
247 uart0: serial@10000100 {
248 compatible = "brcm,bcm6345-uart";
249 reg = <0x10000100 0x18>;
250
251 interrupt-parent = <&periph_intc>;
252 interrupts = <BCM6328_IRQ_UART0>;
253
254 clocks = <&periph_osc>;
255 clock-names = "periph";
256
257 status = "disabled";
258 };
259
260 uart1: serial@10000120 {
261 compatible = "brcm,bcm6345-uart";
262 reg = <0x10000120 0x18>;
263
264 interrupt-parent = <&periph_intc>;
265 interrupts = <BCM6328_IRQ_UART1>;
266
267 clocks = <&periph_osc>;
268 clock-names = "periph";
269
270 status = "disabled";
271 };
272
273 nflash: nand@10000200 {
274 #address-cells = <1>;
275 #size-cells = <0>;
276 compatible = "brcm,nand-bcm6368",
277 "brcm,brcmnand-v2.2",
278 "brcm,brcmnand";
279 reg = <0x10000200 0x180>,
280 <0x10000400 0x200>,
281 <0x10000070 0x10>;
282 reg-names = "nand",
283 "nand-cache",
284 "nand-int-base";
285
286 interrupt-parent = <&periph_intc>;
287 interrupts = <BCM6328_IRQ_NAND>;
288
289 status = "disabled";
290 };
291
292 leds: led-controller@10000800 {
293 #address-cells = <1>;
294 #size-cells = <0>;
295 compatible = "brcm,bcm6328-leds";
296 reg = <0x10000800 0x24>;
297
298 status = "disabled";
299 };
300
301 hsspi: spi@10001000 {
302 compatible = "brcm,bcm6328-hsspi";
303 reg = <0x10001000 0x600>;
304 #address-cells = <1>;
305 #size-cells = <0>;
306
307 interrupt-parent = <&periph_intc>;
308 interrupts = <BCM6328_IRQ_HSSPI>;
309
310 clocks = <&periph_clk BCM6328_CLK_HSSPI>,
311 <&hsspi_osc>;
312 clock-names = "hsspi",
313 "pll";
314
315 resets = <&periph_rst BCM6328_RST_SPI>;
316
317 status = "disabled";
318 };
319
320 periph_pwr: power-controller@10001848 {
321 compatible = "brcm,bcm6328-power-controller";
322 reg = <0x10001848 0x4>;
323
324 #power-domain-cells = <1>;
325 };
326
327 ehci: usb@10002500 {
328 compatible = "brcm,bcm6328-ehci", "generic-ehci";
329 reg = <0x10002500 0x100>;
330 big-endian;
331 ignore-oc;
332
333 interrupt-parent = <&periph_intc>;
334 interrupts = <BCM6328_IRQ_EHCI>;
335
336 phys = <&usbh 0>;
337 phy-names = "usb";
338
339 status = "disabled";
340 };
341
342 ohci: usb@10002600 {
343 compatible = "brcm,bcm6328-ohci", "generic-ohci";
344 reg = <0x10002600 0x100>;
345 big-endian;
346 no-big-frame-no;
347
348 interrupt-parent = <&periph_intc>;
349 interrupts = <BCM6328_IRQ_OHCI>;
350
351 phys = <&usbh 0>;
352 phy-names = "usb";
353
354 status = "disabled";
355 };
356
357 usbh: usb-phy@10002700 {
358 compatible = "brcm,bcm6328-usbh-phy";
359 reg = <0x10002700 0x38>;
360
361 #phy-cells = <1>;
362
363 clocks = <&periph_clk BCM6328_CLK_USBH>;
364 clock-names = "usbh";
365
366 power-domains = <&periph_pwr BCM6328_POWER_DOMAIN_USBH>;
367 resets = <&periph_rst BCM6328_RST_USBH>;
368
369 status = "disabled";
370 };
371 };
372 };