1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/clock/bcm6358-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/bcm6358-interrupt-controller.h>
9 #include <dt-bindings/reset/bcm6358-reset.h>
14 compatible = "brcm,bcm6358";
25 bootargs = "earlycon";
26 stdout-path = "serial0:115200n8";
30 periph_osc: periph-osc {
31 compatible = "fixed-clock";
35 clock-frequency = <50000000>;
36 clock-output-names = "periph";
43 mips-hpt-frequency = <150000000>;
46 compatible = "brcm,bmips4350", "mips,mips4Kc";
52 compatible = "brcm,bmips4350", "mips,mips4Kc";
58 cpu_intc: interrupt-controller {
60 compatible = "mti,cpu-interrupt-controller";
63 #interrupt-cells = <1>;
67 device_type = "memory";
71 pflash: nor@1e000000 {
74 compatible = "cfi-flash";
75 reg = <0x1e000000 0x2000000>;
85 compatible = "simple-bus";
88 periph_clk: clock-controller@fffe0004 {
89 compatible = "brcm,bcm6358-clocks";
90 reg = <0xfffe0004 0x4>;
94 pll_cntl: syscon@fffe0008 {
95 compatible = "syscon", "simple-mfd";
96 reg = <0xfffe0008 0x4>;
100 compatible = "syscon-reboot";
106 periph_intc: interrupt-controller@fffe000c {
107 #address-cells = <1>;
108 compatible = "brcm,bcm6345-l1-intc";
109 reg = <0xfffe000c 0x8>,
112 interrupt-controller;
113 #interrupt-cells = <1>;
115 interrupt-parent = <&cpu_intc>;
116 interrupts = <2>, <3>;
119 ext_intc0: interrupt-controller@fffe0014 {
120 #address-cells = <1>;
121 compatible = "brcm,bcm6345-ext-intc";
122 reg = <0xfffe0014 0x4>;
124 interrupt-controller;
125 #interrupt-cells = <2>;
127 interrupt-parent = <&periph_intc>;
128 interrupts = <BCM6358_IRQ_EXT0>,
134 ext_intc1: interrupt-controller@fffe001c {
135 #address-cells = <1>;
136 compatible = "brcm,bcm6345-ext-intc";
137 reg = <0xfffe001c 0x4>;
139 interrupt-controller;
140 #interrupt-cells = <2>;
142 interrupt-parent = <&periph_intc>;
143 interrupts = <BCM6358_IRQ_EXT4>,
147 periph_rst: reset-controller@fffe0034 {
148 compatible = "brcm,bcm6345-reset";
149 reg = <0xfffe0034 0x4>;
153 wdt: watchdog@fffe005c {
154 compatible = "brcm,bcm7038-wdt";
155 reg = <0xfffe005c 0xc>;
157 clocks = <&periph_osc>;
162 gpio_cntl: syscon@fffe0080 {
163 #address-cells = <1>;
165 compatible = "brcm,bcm6358-gpio-sysctl",
166 "syscon", "simple-mfd";
167 reg = <0xfffe0080 0x50>;
168 ranges = <0 0xfffe0080 0x80>;
172 compatible = "brcm,bcm6358-gpio";
173 reg-names = "dirout", "dat";
174 reg = <0x0 0x8>, <0x8 0x8>;
177 gpio-ranges = <&pinctrl 0 0 40>;
181 pinctrl: pinctrl@18 {
182 compatible = "brcm,bcm6358-pinctrl";
185 pinctrl_ebi_cs: ebi_cs-pins {
187 groups = "ebi_cs_grp";
190 pinctrl_uart1: uart1-pins {
192 groups = "uart1_grp";
195 pinctrl_serial_led: serial_led-pins {
196 function = "serial_led";
197 groups = "serial_led_grp";
200 pinctrl_legacy_led: legacy_led-pins {
201 function = "legacy_led";
202 groups = "legacy_led_grp";
205 pinctrl_led: led-pins {
210 pinctrl_spi_cs_23: spi_cs-pins {
212 groups = "spi_cs_grp";
215 pinctrl_utopia: utopia-pins {
217 groups = "utopia_grp";
220 pinctrl_pwm_syn_clk: pwm_syn_clk-pins {
221 function = "pwm_syn_clk";
222 groups = "pwm_syn_clk_grp";
225 pinctrl_sys_irq: sys_irq-pins {
226 function = "sys_irq";
227 groups = "sys_irq_grp";
232 leds: led-controller@fffe00d0 {
233 #address-cells = <1>;
235 compatible = "brcm,bcm6358-leds";
236 reg = <0xfffe00d0 0x8>;
241 uart0: serial@fffe0100 {
242 compatible = "brcm,bcm6345-uart";
243 reg = <0xfffe0100 0x18>;
245 interrupt-parent = <&periph_intc>;
246 interrupts = <BCM6358_IRQ_UART0>;
248 clocks = <&periph_osc>;
249 clock-names = "periph";
254 uart1: serial@fffe0120 {
255 compatible = "brcm,bcm6345-uart";
256 reg = <0xfffe0120 0x18>;
258 interrupt-parent = <&periph_intc>;
259 interrupts = <BCM6358_IRQ_UART1>;
261 clocks = <&periph_osc>;
262 clock-names = "periph";
267 lsspi: spi@fffe0800 {
268 #address-cells = <1>;
270 compatible = "brcm,bcm6358-spi";
271 reg = <0xfffe0800 0x70c>;
273 interrupt-parent = <&periph_intc>;
274 interrupts = <BCM6358_IRQ_SPI>;
276 clocks = <&periph_clk BCM6358_CLK_SPI>;
279 resets = <&periph_rst BCM6358_RST_SPI>;
285 compatible = "brcm,bcm6348-pci";
286 reg = <0xfffe1000 0x200>,
287 <0x08000000 0x10000>;
290 #address-cells = <3>;
294 bus-range = <0x00 0x01>;
295 ranges = <0x2000000 0 0x30000000 0x30000000 0 0x8000000>;
296 linux,pci-probe-only = <1>;
298 interrupt-parent = <&periph_intc>;
299 interrupts = <BCM6358_IRQ_MPI>;
301 resets = <&periph_rst BCM6358_RST_MPI>;
310 compatible = "brcm,bcm6358-ehci", "generic-ehci";
311 reg = <0xfffe1300 0x100>;
315 interrupt-parent = <&periph_intc>;
316 interrupts = <BCM6358_IRQ_EHCI>;
325 compatible = "brcm,bcm6358-ohci", "generic-ohci";
326 reg = <0xfffe1400 0x100>;
330 interrupt-parent = <&periph_intc>;
331 interrupts = <BCM6358_IRQ_OHCI>;
339 usbh: usb-phy@fffe1500 {
340 compatible = "brcm,bcm6358-usbh-phy";
341 reg = <0xfffe1500 0x38>;
345 resets = <&periph_rst BCM6358_RST_USBH>;
350 ethernet0: ethernet@fffe4000 {
351 compatible = "brcm,bcm6358-emac";
352 reg = <0xfffe4000 0x2dc>;
354 clocks = <&periph_clk BCM6358_CLK_ENET0>;
356 interrupt-parent = <&periph_intc>;
357 interrupts = <BCM6358_IRQ_EMAC0>,
358 <BCM6358_IRQ_EMAC0_RX_DMA>,
359 <BCM6358_IRQ_EMAC0_TX_DMA>;
360 interrupt-names = "emac",
364 brcm,iudma = <&iudma>;
372 #address-cells = <1>;
377 ethernet1: ethernet@fffe4800 {
378 compatible = "brcm,bcm6358-emac";
379 reg = <0xfffe4800 0x2dc>;
381 clocks = <&periph_clk BCM6358_CLK_ENET1>;
383 interrupt-parent = <&periph_intc>;
384 interrupts = <BCM6358_IRQ_EMAC1>,
385 <BCM6358_IRQ_EMAC1_RX_DMA>,
386 <BCM6358_IRQ_EMAC1_TX_DMA>;
387 interrupt-names = "emac",
391 brcm,iudma = <&iudma>;
400 #address-cells = <1>;
405 iudma: dma@fffe5000 {
406 #address-cells = <1>;
408 compatible = "brcm,bcm6358-iudma";
409 reg = <0xfffe5000 0x24>,
418 clocks = <&periph_clk BCM6358_CLK_EMUSB>,
419 <&periph_clk BCM6358_CLK_USBSU>,
420 <&periph_clk BCM6358_CLK_EPHY>,
421 <&periph_clk BCM6358_CLK_ENET>;
423 resets = <&periph_rst BCM6358_RST_ENET>,
424 <&periph_rst BCM6358_RST_EPHY>;