1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/clock/bcm6368-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/bcm6368-interrupt-controller.h>
9 #include <dt-bindings/reset/bcm6368-reset.h>
14 compatible = "brcm,bcm6368";
26 bootargs = "console=ttyS0,115200n8 earlycon";
27 stdout-path = "serial0:115200n8";
31 periph_osc: periph-osc {
32 compatible = "fixed-clock";
36 clock-frequency = <50000000>;
37 clock-output-names = "periph";
44 mips-hpt-frequency = <200000000>;
47 compatible = "brcm,bmips4350", "mips,mips4Kc";
53 compatible = "brcm,bmips4350", "mips,mips4Kc";
59 cpu_intc: interrupt-controller {
61 compatible = "mti,cpu-interrupt-controller";
64 #interrupt-cells = <1>;
68 device_type = "memory";
76 compatible = "simple-bus";
79 periph_clk: clock-controller@10000004 {
80 compatible = "brcm,bcm6368-clocks";
81 reg = <0x10000004 0x4>;
85 pll_cntl: syscon@10000008 {
86 compatible = "syscon";
87 reg = <0x10000008 0x4>;
92 compatible = "syscon-reboot";
98 periph_rst: reset-controller@10000010 {
99 compatible = "brcm,bcm6345-reset";
100 reg = <0x10000010 0x4>;
104 ext_intc0: interrupt-controller@10000018 {
105 #address-cells = <1>;
106 compatible = "brcm,bcm6345-ext-intc";
107 reg = <0x10000018 0x4>;
109 interrupt-controller;
110 #interrupt-cells = <2>;
112 interrupts = <BCM6368_IRQ_EXT0>,
118 ext_intc1: interrupt-controller@1000001c {
119 #address-cells = <1>;
120 compatible = "brcm,bcm6345-ext-intc";
121 reg = <0x1000001c 0x4>;
123 interrupt-controller;
124 #interrupt-cells = <2>;
126 interrupts = <BCM6368_IRQ_EXT4>,
130 periph_intc: interrupt-controller@10000020 {
131 #address-cells = <1>;
132 compatible = "brcm,bcm6345-l1-intc";
133 reg = <0x10000020 0x10>,
136 interrupt-controller;
137 #interrupt-cells = <1>;
139 interrupt-parent = <&cpu_intc>;
140 interrupts = <2>, <3>;
143 wdt: watchdog@1000005c {
144 compatible = "brcm,bcm7038-wdt";
145 reg = <0x1000005c 0xc>;
147 clocks = <&periph_osc>;
152 gpio: syscon@10000080 {
153 compatible = "syscon", "simple-mfd";
154 reg = <0x10000080 0x80>;
157 pinctrl: pin-controller {
158 compatible = "brcm,bcm6368-pinctrl";
163 interrupts-extended = <&ext_intc1 0 0>,
169 interrupt-names = "gpio32",
176 pinctrl_analog_afe_0: analog_afe_0 {
177 function = "analog_afe_0";
181 pinctrl_analog_afe_1: analog_afe_1 {
182 function = "analog_afe_1";
186 pinctrl_sys_irq: sys_irq {
187 function = "sys_irq";
191 pinctrl_serial_led: serial_led {
192 pinctrl_serial_led_data: serial_led_data {
193 function = "serial_led_data";
197 pinctrl_serial_led_clk: serial_led_clk {
198 function = "serial_led_clk";
203 pinctrl_inet_led: inet_led {
204 function = "inet_led";
208 pinctrl_ephy0_led: ephy0_led {
209 function = "ephy0_led";
213 pinctrl_ephy1_led: ephy1_led {
214 function = "ephy1_led";
218 pinctrl_ephy2_led: ephy2_led {
219 function = "ephy2_led";
223 pinctrl_ephy3_led: ephy3_led {
224 function = "ephy3_led";
228 pinctrl_robosw_led_data: robosw_led_data {
229 function = "robosw_led_data";
233 pinctrl_robosw_led_clk: robosw_led_clk {
234 function = "robosw_led_clk";
238 pinctrl_robosw_led0: robosw_led0 {
239 function = "robosw_led0";
243 pinctrl_robosw_led1: robosw_led1 {
244 function = "robosw_led1";
248 pinctrl_usb_device_led: usb_device_led {
249 function = "usb_device_led";
254 pinctrl_pci_req1: pci_req1 {
255 function = "pci_req1";
259 pinctrl_pci_gnt1: pci_gnt1 {
260 function = "pci_gnt1";
264 pinctrl_pci_intb: pci_intb {
265 function = "pci_intb";
269 pinctrl_pci_req0: pci_req0 {
270 function = "pci_req0";
274 pinctrl_pci_gnt0: pci_gnt0 {
275 function = "pci_gnt0";
280 pinctrl_pcmcia: pcmcia {
281 pinctrl_pcmcia_cd1: pcmcia_cd1 {
282 function = "pcmcia_cd1";
286 pinctrl_pcmcia_cd2: pcmcia_cd2 {
287 function = "pcmcia_cd2";
291 pinctrl_pcmcia_vs1: pcmcia_vs1 {
292 function = "pcmcia_vs1";
296 pinctrl_pcmcia_vs2: pcmcia_vs2 {
297 function = "pcmcia_vs2";
302 pinctrl_ebi_cs2: ebi_cs2 {
303 function = "ebi_cs2";
307 pinctrl_ebi_cs3: ebi_cs3 {
308 function = "ebi_cs3";
312 pinctrl_spi_cs2: spi_cs2 {
313 function = "spi_cs2";
317 pinctrl_spi_cs3: spi_cs3 {
318 function = "spi_cs3";
322 pinctrl_spi_cs4: spi_cs4 {
323 function = "spi_cs4";
327 pinctrl_spi_cs5: spi_cs5 {
328 function = "spi_cs5";
332 pinctrl_uart1: uart1 {
339 gpiobasemode: gpiobasemode@100000b8 {
340 compatible = "brcm,bcm6368-gpiobasemode", "syscon";
341 reg = <0x100000b8 0x4>;
344 leds: led-controller@100000d0 {
345 #address-cells = <1>;
347 compatible = "brcm,bcm6358-leds";
348 reg = <0x100000d0 0x8>;
353 uart0: serial@10000100 {
354 compatible = "brcm,bcm6345-uart";
355 reg = <0x10000100 0x18>;
357 interrupt-parent = <&periph_intc>;
358 interrupts = <BCM6368_IRQ_UART0>;
360 clocks = <&periph_osc>;
361 clock-names = "periph";
366 uart1: serial@10000120 {
367 compatible = "brcm,bcm6345-uart";
368 reg = <0x10000120 0x18>;
370 interrupt-parent = <&periph_intc>;
371 interrupts = <BCM6368_IRQ_UART1>;
373 clocks = <&periph_osc>;
374 clock-names = "periph";
379 nflash: nand@10000200 {
380 #address-cells = <1>;
382 compatible = "brcm,nand-bcm6368",
383 "brcm,brcmnand-v2.1",
385 reg = <0x10000200 0x180>,
392 interrupt-parent = <&periph_intc>;
393 interrupts = <BCM6368_IRQ_NAND>;
395 clocks = <&periph_clk BCM6368_CLK_NAND>;
396 clock-names = "nand";
401 lsspi: spi@10000800 {
402 compatible = "brcm,bcm6358-spi";
403 reg = <0x10000800 0x70c>;
404 #address-cells = <1>;
407 interrupt-parent = <&periph_intc>;
408 interrupts = <BCM6368_IRQ_SPI>;
410 clocks = <&periph_clk BCM6368_CLK_SPI>;
413 resets = <&periph_rst BCM6368_RST_SPI>;
419 compatible = "brcm,bcm6368-ehci", "generic-ehci";
420 reg = <0x10001500 0x100>;
424 interrupt-parent = <&periph_intc>;
425 interrupts = <BCM6368_IRQ_EHCI>;
434 compatible = "brcm,bcm6368-ohci", "generic-ohci";
435 reg = <0x10001600 0x100>;
439 interrupt-parent = <&periph_intc>;
440 interrupts = <BCM6368_IRQ_OHCI>;
448 usbh: usb-phy@10001700 {
449 compatible = "brcm,bcm6368-usbh-phy";
450 reg = <0x10001700 0x38>;
454 clocks = <&periph_clk BCM6368_CLK_USBH>;
455 clock-names = "usbh";
457 resets = <&periph_rst BCM6368_RST_USBH>;
462 random: rng@10004180 {
463 compatible = "brcm,bcm6368-rng";
464 reg = <0x10004180 0x14>;
466 clocks = <&periph_clk BCM6368_CLK_IPSEC>;
467 clock-names = "ipsec";
469 resets = <&periph_rst BCM6368_RST_IPSEC>;
473 pflash: nor@18000000 {
474 #address-cells = <1>;
476 compatible = "cfi-flash";
477 reg = <0x18000000 0x2000000>;