1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/clock/bcm63268-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/bcm63268-interrupt-controller.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/reset/bcm63268-reset.h>
12 #include <dt-bindings/soc/bcm63268-pm.h>
17 compatible = "brcm,bcm63268";
29 bootargs = "earlycon";
30 stdout-path = "serial0:115200n8";
34 periph_osc: periph-osc {
35 compatible = "fixed-clock";
39 clock-frequency = <50000000>;
40 clock-output-names = "periph";
43 hsspi_osc: hsspi-osc {
44 compatible = "fixed-clock";
48 clock-frequency = <400000000>;
49 clock-output-names = "hsspi_osc";
56 mips-hpt-frequency = <200000000>;
59 compatible = "brcm,bmips4350", "mips,mips4Kc";
65 compatible = "brcm,bmips4350", "mips,mips4Kc";
71 cpu_intc: interrupt-controller {
73 compatible = "mti,cpu-interrupt-controller";
76 #interrupt-cells = <1>;
80 device_type = "memory";
88 compatible = "simple-bus";
91 periph_clk: clock-controller@10000004 {
92 compatible = "brcm,bcm63268-clocks";
93 reg = <0x10000004 0x4>;
97 pll_cntl: syscon@10000008 {
98 compatible = "syscon", "simple-mfd";
99 reg = <0x10000008 0x4>;
103 compatible = "syscon-reboot";
109 periph_rst: reset-controller@10000010 {
110 compatible = "brcm,bcm6345-reset";
111 reg = <0x10000010 0x4>;
115 ext_intc: interrupt-controller@10000018 {
116 #address-cells = <1>;
117 compatible = "brcm,bcm6345-ext-intc";
118 reg = <0x10000018 0x4>;
120 interrupt-controller;
121 #interrupt-cells = <2>;
123 interrupt-parent = <&periph_intc>;
124 interrupts = <BCM63268_IRQ_EXT0>,
130 periph_intc: interrupt-controller@10000020 {
131 #address-cells = <1>;
132 compatible = "brcm,bcm6345-l1-intc";
133 reg = <0x10000020 0x20>,
136 interrupt-controller;
137 #interrupt-cells = <1>;
139 interrupt-parent = <&cpu_intc>;
140 interrupts = <2>, <3>;
143 wdt: watchdog@1000009c {
144 compatible = "brcm,bcm7038-wdt";
145 reg = <0x1000009c 0xc>;
147 clocks = <&periph_osc>;
152 timer_clk: clock-controller@100000ac {
153 compatible = "brcm,bcm63268-timer-clocks";
154 reg = <0x100000ac 0x4>;
159 gpio_cntl: syscon@100000c0 {
160 #address-cells = <1>;
162 compatible = "brcm,bcm63268-gpio-sysctl",
163 "syscon", "simple-mfd";
164 reg = <0x100000c0 0x80>;
165 ranges = <0 0x100000c0 0x80>;
169 compatible = "brcm,bcm63268-gpio";
170 reg-names = "dirout", "dat";
171 reg = <0x0 0x8>, <0x8 0x8>;
174 gpio-ranges = <&pinctrl 0 0 52>;
178 pinctrl: pinctrl@10 {
179 compatible = "brcm,bcm63268-pinctrl";
180 reg = <0x10 0x4>, <0x18 0x8>, <0x38 0x4>;
182 pinctrl_serial_led: serial_led-pins {
183 pinctrl_serial_led_clk: serial_led_clk-pins {
184 function = "serial_led_clk";
188 pinctrl_serial_led_data: serial_led_data-pins {
189 function = "serial_led_data";
194 pinctrl_hsspi_cs4: hsspi_cs4-pins {
195 function = "hsspi_cs4";
199 pinctrl_hsspi_cs5: hsspi_cs5-pins {
200 function = "hsspi_cs5";
204 pinctrl_hsspi_cs6: hsspi_cs6-pins {
205 function = "hsspi_cs6";
209 pinctrl_hsspi_cs7: hsspi_cs7-pins {
210 function = "hsspi_cs7";
214 pinctrl_adsl_spi: adsl_spi {
215 pinctrl_adsl_spi_miso: adsl_spi_miso-pins {
216 function = "adsl_spi_miso";
220 pinctrl_adsl_spi_mosi: adsl_spi_mosi-pins {
221 function = "adsl_spi_mosi";
226 pinctrl_vreq_clk: vreq_clk-pins {
227 function = "vreq_clk";
231 pinctrl_pcie_clkreq_b: pcie_clkreq_b-pins {
232 function = "pcie_clkreq_b";
236 pinctrl_robosw_led_clk: robosw_led_clk-pins {
237 function = "robosw_led_clk";
241 pinctrl_robosw_led_data: robosw_led_data-pins {
242 function = "robosw_led_data";
246 pinctrl_nand: nand-pins {
251 pinctrl_gpio35_alt: gpio35_alt-pins {
252 function = "gpio35_alt";
256 pinctrl_dectpd: dectpd-pins {
258 group = "dectpd_grp";
261 pinctrl_vdsl_phy_override_0: vdsl_phy_override_0-pins {
262 function = "vdsl_phy_override_0";
263 group = "vdsl_phy_override_0_grp";
266 pinctrl_vdsl_phy_override_1: vdsl_phy_override_1-pins {
267 function = "vdsl_phy_override_1";
268 group = "vdsl_phy_override_1_grp";
271 pinctrl_vdsl_phy_override_2: vdsl_phy_override_2-pins {
272 function = "vdsl_phy_override_2";
273 group = "vdsl_phy_override_2_grp";
276 pinctrl_vdsl_phy_override_3: vdsl_phy_override_3-pins {
277 function = "vdsl_phy_override_3";
278 group = "vdsl_phy_override_3_grp";
281 pinctrl_dsl_gpio8: dsl_gpio8-pins {
282 function = "dsl_gpio8";
286 pinctrl_dsl_gpio9: dsl_gpio9-pins {
287 function = "dsl_gpio9";
293 uart0: serial@10000180 {
294 compatible = "brcm,bcm6345-uart";
295 reg = <0x10000180 0x18>;
297 interrupt-parent = <&periph_intc>;
298 interrupts = <BCM63268_IRQ_UART0>;
300 clocks = <&periph_osc>;
301 clock-names = "periph";
306 uart1: serial@100001a0 {
307 compatible = "brcm,bcm6345-uart";
308 reg = <0x100001a0 0x18>;
310 interrupt-parent = <&periph_intc>;
311 interrupts = <BCM63268_IRQ_UART1>;
313 clocks = <&periph_osc>;
314 clock-names = "periph";
319 nflash: nand@10000200 {
320 #address-cells = <1>;
322 compatible = "brcm,nand-bcm6368",
323 "brcm,brcmnand-v4.0",
325 reg = <0x10000200 0x180>,
332 interrupt-parent = <&periph_intc>;
333 interrupts = <BCM63268_IRQ_NAND>;
335 clocks = <&periph_clk BCM63268_CLK_NAND>;
336 clock-names = "nand";
338 pinctrl-names = "default";
339 pinctrl-0 = <&pinctrl_nand>;
344 lsspi: spi@10000800 {
345 #address-cells = <1>;
347 compatible = "brcm,bcm6358-spi";
348 reg = <0x10000800 0x70c>;
350 interrupt-parent = <&periph_intc>;
351 interrupts = <BCM63268_IRQ_LSSPI>;
353 clocks = <&periph_clk BCM63268_CLK_SPI>;
356 resets = <&periph_rst BCM63268_RST_SPI>;
361 hsspi: spi@10001000 {
362 #address-cells = <1>;
364 compatible = "brcm,bcm6328-hsspi";
365 reg = <0x10001000 0x600>;
367 interrupt-parent = <&periph_intc>;
368 interrupts = <BCM63268_IRQ_HSSPI>;
370 clocks = <&periph_clk BCM63268_CLK_HSSPI>,
372 clock-names = "hsspi",
375 resets = <&periph_rst BCM63268_RST_SPI>;
380 serdes_cntl: syscon@10001804 {
381 compatible = "syscon";
382 reg = <0x10001804 0x4>;
386 periph_pwr: power-controller@1000184c {
387 compatible = "brcm,bcm63268-power-controller";
388 reg = <0x1000184c 0x4>;
389 #power-domain-cells = <1>;
392 leds: led-controller@10001900 {
393 #address-cells = <1>;
395 compatible = "brcm,bcm6328-leds";
396 reg = <0x10001900 0x24>;
402 compatible = "brcm,bcm63268-ehci", "generic-ehci";
403 reg = <0x10002500 0x100>;
407 interrupt-parent = <&periph_intc>;
408 interrupts = <BCM63268_IRQ_EHCI>;
417 compatible = "brcm,bcm63268-ohci", "generic-ohci";
418 reg = <0x10002600 0x100>;
422 interrupt-parent = <&periph_intc>;
423 interrupts = <BCM63268_IRQ_OHCI>;
431 usbh: usb-phy@10002700 {
432 compatible = "brcm,bcm63268-usbh-phy";
433 reg = <0x10002700 0x38>;
437 clocks = <&periph_clk BCM63268_CLK_USBH>,
438 <&timer_clk BCM63268_TCLK_USB_REF>;
439 clock-names = "usbh",
442 power-domains = <&periph_pwr BCM63268_POWER_DOMAIN_USBH>;
443 resets = <&periph_rst BCM63268_RST_USBH>;
448 random: rng@10002880 {
449 compatible = "brcm,bcm6368-rng";
450 reg = <0x10002880 0x14>;
452 clocks = <&periph_clk BCM63268_CLK_IPSEC>;
453 clock-names = "ipsec";
455 resets = <&periph_rst BCM63268_RST_IPSEC>;
457 power-domains = <&periph_pwr BCM63268_POWER_DOMAIN_IPSEC>;
460 ethernet: ethernet@1000d800 {
461 compatible = "brcm,bcm63268-enetsw";
462 reg = <0x1000d800 0x80>,
469 interrupt-parent = <&periph_intc>;
470 interrupts = <BCM63268_IRQ_ENETSW_RX_DMA0>,
471 <BCM63268_IRQ_ENETSW_TX_DMA0>;
472 interrupt-names = "rx",
475 clocks = <&periph_clk BCM63268_CLK_GMAC>,
476 <&periph_clk BCM63268_CLK_ROBOSW>,
477 <&periph_clk BCM63268_CLK_ROBOSW250>,
478 <&timer_clk BCM63268_TCLK_EPHY1>,
479 <&timer_clk BCM63268_TCLK_EPHY2>,
480 <&timer_clk BCM63268_TCLK_EPHY3>,
481 <&timer_clk BCM63268_TCLK_GPHY1>;
483 resets = <&periph_rst BCM63268_RST_ENETSW>,
484 <&periph_rst BCM63268_RST_EPHY>,
485 <&periph_rst BCM63268_RST_GPHY>;
487 power-domains = <&periph_pwr BCM63268_POWER_DOMAIN_ROBOSW>;
495 pcie: pcie@106e0000 {
496 compatible = "brcm,bcm6328-pcie";
497 reg = <0x106e0000 0x10000>;
498 #address-cells = <3>;
502 bus-range = <0x00 0x01>;
503 ranges = <0x2000000 0 0x11000000 0x11000000 0 0xf00000>;
504 linux,pci-probe-only = <1>;
506 interrupt-parent = <&periph_intc>;
507 interrupts = <BCM63268_IRQ_PCIE_RC>;
509 clocks = <&periph_clk BCM63268_CLK_PCIE>;
510 clock-names = "pcie";
512 resets = <&periph_rst BCM63268_RST_PCIE>,
513 <&periph_rst BCM63268_RST_PCIE_EXT>,
514 <&periph_rst BCM63268_RST_PCIE_CORE>,
515 <&periph_rst BCM63268_RST_PCIE_HARD>;
516 reset-names = "pcie",
521 power-domains = <&periph_pwr BCM63268_POWER_DOMAIN_PCIE>;
523 brcm,serdes = <&serdes_cntl>;
528 switch0: switch@10700000 {
529 #address-cells = <1>;
531 compatible = "brcm,bcm63268-switch";
532 reg = <0x10700000 0x8000>;
536 #address-cells = <1>;
542 phy-mode = "internal";
543 ethernet = <ðernet>;
553 mdio: mdio@107000b0 {
554 #address-cells = <1>;
556 compatible = "brcm,bcm6368-mdio-mux";
557 reg = <0x107000b0 0x8>;
560 #address-cells = <1>;
564 phy1: ethernet-phy@1 {
565 compatible = "ethernet-phy-ieee802.3-c22";
569 phy2: ethernet-phy@2 {
570 compatible = "ethernet-phy-ieee802.3-c22";
574 phy3: ethernet-phy@3 {
575 compatible = "ethernet-phy-ieee802.3-c22";
579 phy4: ethernet-phy@4 {
580 compatible = "ethernet-phy-ieee802.3-c22";
586 #address-cells = <1>;