1 // SPDX-License-Identifier: GPL-2.0-or-later
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>
15 compatible = "brcm,bcm6328";
26 bootargs = "earlycon";
27 stdout-path = "serial0:115200n8";
31 periph_osc: periph-osc {
32 compatible = "fixed-clock";
36 clock-frequency = <50000000>;
37 clock-output-names = "periph";
40 hsspi_osc: hsspi-osc {
41 compatible = "fixed-clock";
45 clock-frequency = <133333333>;
46 clock-output-names = "hsspi_osc";
53 mips-hpt-frequency = <160000000>;
56 compatible = "brcm,bmips4350", "mips,mips4Kc";
62 compatible = "brcm,bmips4350", "mips,mips4Kc";
68 cpu_intc: interrupt-controller {
70 compatible = "mti,cpu-interrupt-controller";
73 #interrupt-cells = <1>;
77 device_type = "memory";
85 compatible = "simple-bus";
88 periph_clk: clock-controller@10000004 {
89 compatible = "brcm,bcm6328-clocks";
90 reg = <0x10000004 0x4>;
94 periph_rst: reset-controller@10000010 {
95 compatible = "brcm,bcm6345-reset";
96 reg = <0x10000010 0x4>;
100 ext_intc: interrupt-controller@10000018 {
101 #address-cells = <1>;
102 compatible = "brcm,bcm6345-ext-intc";
103 reg = <0x10000018 0x4>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
108 interrupts = <BCM6328_IRQ_EXTO>,
114 periph_intc: interrupt-controller@10000020 {
115 #address-cells = <1>;
116 compatible = "brcm,bcm6345-l1-intc";
117 reg = <0x10000020 0x10>,
120 interrupt-controller;
121 #interrupt-cells = <1>;
123 interrupt-parent = <&cpu_intc>;
124 interrupts = <2>, <3>;
127 wdt: watchdog@1000005c {
128 compatible = "brcm,bcm7038-wdt";
129 reg = <0x1000005c 0xc>;
131 clocks = <&periph_osc>;
136 pll_cntl: syscon@10000068 {
137 compatible = "syscon", "simple-mfd";
138 reg = <0x10000068 0x4>;
142 compatible = "syscon-reboot";
148 gpio: syscon@10000080 {
149 compatible = "syscon", "simple-mfd";
150 reg = <0x10000080 0x80>;
153 pinctrl: pin-controller {
154 compatible = "brcm,bcm6328-pinctrl";
159 interrupts-extended = <&ext_intc 3 0>,
163 interrupt-names = "gpio12",
168 pinctrl_serial_led: serial_led {
169 pinctrl_serial_led_data: serial_led_data {
170 function = "serial_led_data";
174 pinctrl_serial_led_clk: serial_led_clk {
175 function = "serial_led_clk";
180 pinctrl_inet_act_led: inet_act_led {
181 function = "inet_act_led";
185 pinctrl_pcie_clkreq: pcie_clkreq {
186 function = "pcie_clkreq";
190 pinctrl_ephy0_spd_led: ephy0_spd_led {
195 pinctrl_ephy1_spd_led: ephy1_spd_led {
200 pinctrl_ephy2_spd_led: ephy2_spd_led {
205 pinctrl_ephy3_spd_led: ephy3_spd_led {
210 pinctrl_ephy0_act_led: ephy0_act_led {
211 function = "ephy0_act_led";
215 pinctrl_ephy1_act_led: ephy1_act_led {
216 function = "ephy1_act_led";
220 pinctrl_ephy2_act_led: ephy2_act_led {
221 function = "ephy2_act_led";
225 pinctrl_ephy3_act_led: ephy3_act_led {
226 function = "ephy3_act_led";
230 pinctrl_hsspi_cs1: hsspi_cs1 {
231 function = "hsspi_cs1";
235 pinctrl_usb_port1_device: usb_port1_device {
236 function = "usb_device_port";
240 pinctrl_usb_port1_host: usb_port1_host {
241 function = "usb_host_port";
247 uart0: serial@10000100 {
248 compatible = "brcm,bcm6345-uart";
249 reg = <0x10000100 0x18>;
251 interrupt-parent = <&periph_intc>;
252 interrupts = <BCM6328_IRQ_UART0>;
254 clocks = <&periph_osc>;
255 clock-names = "periph";
260 uart1: serial@10000120 {
261 compatible = "brcm,bcm6345-uart";
262 reg = <0x10000120 0x18>;
264 interrupt-parent = <&periph_intc>;
265 interrupts = <BCM6328_IRQ_UART1>;
267 clocks = <&periph_osc>;
268 clock-names = "periph";
273 nflash: nand@10000200 {
274 #address-cells = <1>;
276 compatible = "brcm,nand-bcm6368",
277 "brcm,brcmnand-v2.2",
279 reg = <0x10000200 0x180>,
286 interrupt-parent = <&periph_intc>;
287 interrupts = <BCM6328_IRQ_NAND>;
292 leds: led-controller@10000800 {
293 #address-cells = <1>;
295 compatible = "brcm,bcm6328-leds";
296 reg = <0x10000800 0x24>;
301 hsspi: spi@10001000 {
302 #address-cells = <1>;
304 compatible = "brcm,bcm6328-hsspi";
305 reg = <0x10001000 0x600>;
307 interrupt-parent = <&periph_intc>;
308 interrupts = <BCM6328_IRQ_HSSPI>;
310 clocks = <&periph_clk BCM6328_CLK_HSSPI>,
312 clock-names = "hsspi",
315 resets = <&periph_rst BCM6328_RST_SPI>;
320 serdes_cntl: syscon@10001800 {
321 compatible = "syscon";
322 reg = <0x10001800 0x4>;
326 periph_pwr: power-controller@10001848 {
327 compatible = "brcm,bcm6328-power-controller";
328 reg = <0x10001848 0x4>;
330 #power-domain-cells = <1>;
334 compatible = "brcm,bcm6328-ehci", "generic-ehci";
335 reg = <0x10002500 0x100>;
339 interrupt-parent = <&periph_intc>;
340 interrupts = <BCM6328_IRQ_EHCI>;
349 compatible = "brcm,bcm6328-ohci", "generic-ohci";
350 reg = <0x10002600 0x100>;
354 interrupt-parent = <&periph_intc>;
355 interrupts = <BCM6328_IRQ_OHCI>;
363 usbh: usb-phy@10002700 {
364 compatible = "brcm,bcm6328-usbh-phy";
365 reg = <0x10002700 0x38>;
369 clocks = <&periph_clk BCM6328_CLK_USBH>;
370 clock-names = "usbh";
372 power-domains = <&periph_pwr BCM6328_POWER_DOMAIN_USBH>;
373 resets = <&periph_rst BCM6328_RST_USBH>;
378 ethernet: ethernet@1000d800 {
379 compatible = "brcm,bcm6328-enetsw";
380 reg = <0x1000d800 0x80>,
387 interrupt-parent = <&periph_intc>;
388 interrupts = <BCM6328_IRQ_ENETSW_RX_DMA0>,
389 <BCM6328_IRQ_ENETSW_TX_DMA0>;
390 interrupt-names = "rx",
393 clocks = <&periph_clk BCM6328_CLK_ROBOSW>;
395 resets = <&periph_rst BCM6328_RST_ENETSW>,
396 <&periph_rst BCM6328_RST_EPHY>;
398 power-domains = <&periph_pwr BCM6328_POWER_DOMAIN_ROBOSW>,
399 <&periph_pwr BCM6328_POWER_DOMAIN_EPHY>;
407 switch0: switch@10e00000 {
408 #address-cells = <1>;
410 compatible = "brcm,bcm6328-switch";
411 reg = <0x10e00000 0x8000>;
415 #address-cells = <1>;
422 phy-mode = "internal";
423 ethernet = <ðernet>;
433 mdio: mdio@10e000b0 {
434 #address-cells = <1>;
436 compatible = "brcm,bcm6368-mdio-mux";
437 reg = <0x10e000b0 0x8>;
440 #address-cells = <1>;
444 phy1: ethernet-phy@1 {
445 compatible = "ethernet-phy-ieee802.3-c22";
449 phy2: ethernet-phy@2 {
450 compatible = "ethernet-phy-ieee802.3-c22";
454 phy3: ethernet-phy@3 {
455 compatible = "ethernet-phy-ieee802.3-c22";
459 phy4: ethernet-phy@4 {
460 compatible = "ethernet-phy-ieee802.3-c22";
466 #address-cells = <1>;
472 pcie: pcie@10e40000 {
473 compatible = "brcm,bcm6328-pcie";
474 reg = <0x10e40000 0x10000>;
475 #address-cells = <3>;
479 bus-range = <0x00 0x01>;
480 ranges = <0x2000000 0 0x10f00000 0x10f00000 0 0x100000>;
481 linux,pci-probe-only = <1>;
483 interrupt-parent = <&periph_intc>;
484 interrupts = <BCM6328_IRQ_PCIE_RC>;
486 clocks = <&periph_clk BCM6328_CLK_PCIE>;
487 clock-names = "pcie";
489 resets = <&periph_rst BCM6328_RST_PCIE>,
490 <&periph_rst BCM6328_RST_PCIE_EXT>,
491 <&periph_rst BCM6328_RST_PCIE_CORE>,
492 <&periph_rst BCM6328_RST_PCIE_HARD>;
493 reset-names = "pcie",
498 power-domains = <&periph_pwr BCM6328_POWER_DOMAIN_PCIE>;
500 brcm,serdes = <&serdes_cntl>;