1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/clock/bcm6362-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/bcm6362-interrupt-controller.h>
9 #include <dt-bindings/reset/bcm6362-reset.h>
10 #include <dt-bindings/soc/bcm6362-pm.h>
15 compatible = "brcm,bcm6362";
27 bootargs = "console=ttyS0,115200n8 earlycon";
28 stdout-path = "serial0:115200n8";
32 periph_osc: periph-osc {
33 compatible = "fixed-clock";
37 clock-frequency = <50000000>;
38 clock-output-names = "periph";
41 hsspi_osc: hsspi-osc {
42 compatible = "fixed-clock";
46 clock-frequency = <400000000>;
47 clock-output-names = "hsspi_osc";
54 mips-hpt-frequency = <200000000>;
57 compatible = "brcm,bmips4350", "mips,mips4Kc";
63 compatible = "brcm,bmips4350", "mips,mips4Kc";
69 cpu_intc: interrupt-controller {
71 compatible = "mti,cpu-interrupt-controller";
74 #interrupt-cells = <1>;
78 device_type = "memory";
86 compatible = "simple-bus";
89 periph_clk: clock-controller@10000004 {
90 compatible = "brcm,bcm6362-clocks";
91 reg = <0x10000004 0x4>;
95 pll_cntl: syscon@10000008 {
96 compatible = "syscon";
97 reg = <0x10000008 0x4>;
102 compatible = "syscon-reboot";
103 regmap = <&pll_cntl>;
108 periph_rst: reset-controller@10000010 {
109 compatible = "brcm,bcm6345-reset";
110 reg = <0x10000010 0x4>;
114 ext_intc: interrupt-controller@10000018 {
115 #address-cells = <1>;
116 compatible = "brcm,bcm6345-ext-intc";
117 reg = <0x10000018 0x4>;
119 interrupt-controller;
120 #interrupt-cells = <2>;
122 interrupts = <BCM6362_IRQ_EXT0>,
128 periph_intc: interrupt-controller@10000020 {
129 #address-cells = <1>;
130 compatible = "brcm,bcm6345-l1-intc";
131 reg = <0x10000020 0x10>,
134 interrupt-controller;
135 #interrupt-cells = <1>;
137 interrupt-parent = <&cpu_intc>;
138 interrupts = <2>, <3>;
141 wdt: watchdog@1000005c {
142 compatible = "brcm,bcm7038-wdt";
143 reg = <0x1000005c 0xc>;
145 clocks = <&periph_osc>;
150 gpio: syscon@10000080 {
151 compatible = "syscon", "simple-mfd";
152 reg = <0x10000080 0x80>;
155 pinctrl: pin-controller {
156 compatible = "brcm,bcm6362-pinctrl";
161 interrupts-extended = <&ext_intc 0 0>,
165 interrupt-names = "gpio24",
170 pinctrl_usb_device_led: usb_device_led {
171 function = "usb_device_led";
175 pinctrl_sys_irq: sys_irq {
176 function = "sys_irq";
180 pinctrl_serial_led: serial_led {
181 pinctrl_serial_led_clk: serial_led_clk {
182 function = "serial_led_clk";
186 pinctrl_serial_led_data: serial_led_data {
187 function = "serial_led_data";
192 pinctrl_robosw_led_data: robosw_led_data {
193 function = "robosw_led_data";
197 pinctrl_robosw_led_clk: robosw_led_clk {
198 function = "robosw_led_clk";
202 pinctrl_robosw_led0: robosw_led0 {
203 function = "robosw_led0";
207 pinctrl_robosw_led1: robosw_led1 {
208 function = "robosw_led1";
212 pinctrl_inet_led: inet_led {
213 function = "inet_led";
217 pinctrl_spi_cs2: spi_cs2 {
218 function = "spi_cs2";
222 pinctrl_spi_cs3: spi_cs3 {
223 function = "spi_cs3";
227 pinctrl_ntr_pulse: ntr_pulse {
228 function = "ntr_pulse";
232 pinctrl_uart1_scts: uart1_scts {
233 function = "uart1_scts";
237 pinctrl_uart1_srts: uart1_srts {
238 function = "uart1_srts";
242 pinctrl_uart1: uart1 {
243 pinctrl_uart1_sdin: uart1_sdin {
244 function = "uart1_sdin";
248 pinctrl_uart1_sdout: uart1_sdout {
249 function = "uart1_sdout";
254 pinctrl_adsl_spi: adsl_spi {
255 pinctrl_adsl_spi_miso: adsl_spi_miso {
256 function = "adsl_spi_miso";
260 pinctrl_adsl_spi_mosi: adsl_spi_mosi {
261 function = "adsl_spi_mosi";
265 pinctrl_adsl_spi_clk: adsl_spi_clk {
266 function = "adsl_spi_clk";
270 pinctrl_adsl_spi_cs: adsl_spi_cs {
271 function = "adsl_spi_cs";
276 pinctrl_ephy0_led: ephy0_led {
277 function = "ephy0_led";
281 pinctrl_ephy1_led: ephy1_led {
282 function = "ephy1_led";
286 pinctrl_ephy2_led: ephy2_led {
287 function = "ephy2_led";
291 pinctrl_ephy3_led: ephy3_led {
292 function = "ephy3_led";
296 pinctrl_ext_irq0: ext_irq0 {
297 function = "ext_irq0";
301 pinctrl_ext_irq1: ext_irq1 {
302 function = "ext_irq1";
306 pinctrl_ext_irq2: ext_irq2 {
307 function = "ext_irq2";
311 pinctrl_ext_irq3: ext_irq3 {
312 function = "ext_irq3";
323 uart0: serial@10000100 {
324 compatible = "brcm,bcm6345-uart";
325 reg = <0x10000100 0x18>;
327 interrupt-parent = <&periph_intc>;
328 interrupts = <BCM6362_IRQ_UART0>;
330 clocks = <&periph_osc>;
331 clock-names = "periph";
336 uart1: serial@10000120 {
337 compatible = "brcm,bcm6345-uart";
338 reg = <0x10000120 0x18>;
340 interrupt-parent = <&periph_intc>;
341 interrupts = <BCM6362_IRQ_UART1>;
343 clocks = <&periph_osc>;
344 clock-names = "periph";
349 nflash: nand@10000200 {
350 #address-cells = <1>;
352 compatible = "brcm,nand-bcm6368",
353 "brcm,brcmnand-v2.2",
355 reg = <0x10000200 0x180>,
362 interrupt-parent = <&periph_intc>;
363 interrupts = <BCM6362_IRQ_NAND>;
365 clocks = <&periph_clk BCM6362_CLK_NAND>;
366 clock-names = "nand";
368 pinctrl-names = "default";
369 pinctrl-0 = <&pinctrl_nand>;
374 lsspi: spi@10000800 {
375 compatible = "brcm,bcm6358-spi";
376 reg = <0x10000800 0x70c>;
377 #address-cells = <1>;
380 interrupt-parent = <&periph_intc>;
381 interrupts = <BCM6362_IRQ_LSSPI>;
383 clocks = <&periph_clk BCM6362_CLK_SPI>;
386 resets = <&periph_rst BCM6362_RST_SPI>;
391 hsspi: spi@10001000 {
392 compatible = "brcm,bcm6328-hsspi";
393 reg = <0x10001000 0x600>;
394 #address-cells = <1>;
397 interrupt-parent = <&periph_intc>;
398 interrupts = <BCM6362_IRQ_HSSPI>;
400 clocks = <&periph_clk BCM6362_CLK_HSSPI>,
402 clock-names = "hsspi",
405 resets = <&periph_rst BCM6362_RST_SPI>;
410 periph_pwr: power-controller@10001848 {
411 compatible = "brcm,bcm6362-power-controller";
412 reg = <0x10001848 0x4>;
413 #power-domain-cells = <1>;
416 leds: led-controller@10001900 {
417 #address-cells = <1>;
419 compatible = "brcm,bcm6328-leds";
420 reg = <0x10001900 0x24>;
426 compatible = "brcm,bcm6362-ehci", "generic-ehci";
427 reg = <0x10002500 0x100>;
431 interrupt-parent = <&periph_intc>;
432 interrupts = <BCM6362_IRQ_EHCI>;
441 compatible = "brcm,bcm6362-ohci", "generic-ohci";
442 reg = <0x10002600 0x100>;
446 interrupt-parent = <&periph_intc>;
447 interrupts = <BCM6362_IRQ_OHCI>;
455 usbh: usb-phy@10002700 {
456 compatible = "brcm,bcm6362-usbh-phy";
457 reg = <0x10002700 0x38>;
461 clocks = <&periph_clk BCM6362_CLK_USBH>;
462 clock-names = "usbh";
464 power-domains = <&periph_pwr BCM6362_POWER_DOMAIN_USBH>;
465 resets = <&periph_rst BCM6362_RST_USBH>;