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/interrupt-controller/irq.h>
10 #include <dt-bindings/reset/bcm6358-reset.h>
15 compatible = "brcm,bcm6358";
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";
44 mips-hpt-frequency = <150000000>;
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";
72 pflash: nor@1e000000 {
75 compatible = "cfi-flash";
76 reg = <0x1e000000 0x2000000>;
86 compatible = "simple-bus";
89 periph_clk: clock-controller@fffe0004 {
90 compatible = "brcm,bcm6358-clocks";
91 reg = <0xfffe0004 0x4>;
95 pll_cntl: syscon@fffe0008 {
96 compatible = "syscon", "simple-mfd";
97 reg = <0xfffe0008 0x4>;
101 compatible = "syscon-reboot";
107 periph_intc: interrupt-controller@fffe000c {
108 #address-cells = <1>;
109 compatible = "brcm,bcm6345-l1-intc";
110 reg = <0xfffe000c 0x8>,
113 interrupt-controller;
114 #interrupt-cells = <1>;
116 interrupt-parent = <&cpu_intc>;
117 interrupts = <2>, <3>;
120 ext_intc0: interrupt-controller@fffe0014 {
121 #address-cells = <1>;
122 compatible = "brcm,bcm6345-ext-intc";
123 reg = <0xfffe0014 0x4>;
125 interrupt-controller;
126 #interrupt-cells = <2>;
128 interrupt-parent = <&periph_intc>;
129 interrupts = <BCM6358_IRQ_EXT0>,
135 ext_intc1: interrupt-controller@fffe001c {
136 #address-cells = <1>;
137 compatible = "brcm,bcm6345-ext-intc";
138 reg = <0xfffe001c 0x4>;
140 interrupt-controller;
141 #interrupt-cells = <2>;
143 interrupt-parent = <&periph_intc>;
144 interrupts = <BCM6358_IRQ_EXT4>,
148 periph_rst: reset-controller@fffe0034 {
149 compatible = "brcm,bcm6345-reset";
150 reg = <0xfffe0034 0x4>;
154 wdt: watchdog@fffe005c {
155 compatible = "brcm,bcm7038-wdt";
156 reg = <0xfffe005c 0xc>;
158 clocks = <&periph_osc>;
163 gpio_cntl: syscon@fffe0080 {
164 #address-cells = <1>;
166 compatible = "brcm,bcm6358-gpio-sysctl",
167 "syscon", "simple-mfd";
168 reg = <0xfffe0080 0x50>;
169 ranges = <0 0xfffe0080 0x80>;
173 compatible = "brcm,bcm6358-gpio";
174 reg-names = "dirout", "dat";
175 reg = <0x0 0x8>, <0x8 0x8>;
178 gpio-ranges = <&pinctrl 0 0 40>;
182 pinctrl: pinctrl@18 {
183 compatible = "brcm,bcm6358-pinctrl";
186 pinctrl_ebi_cs: ebi_cs-pins {
188 groups = "ebi_cs_grp";
191 pinctrl_uart1: uart1-pins {
193 groups = "uart1_grp";
196 pinctrl_serial_led: serial_led-pins {
197 function = "serial_led";
198 groups = "serial_led_grp";
201 pinctrl_legacy_led: legacy_led-pins {
202 function = "legacy_led";
203 groups = "legacy_led_grp";
206 pinctrl_led: led-pins {
211 pinctrl_spi_cs_23: spi_cs-pins {
213 groups = "spi_cs_grp";
216 pinctrl_utopia: utopia-pins {
218 groups = "utopia_grp";
221 pinctrl_pwm_syn_clk: pwm_syn_clk-pins {
222 function = "pwm_syn_clk";
223 groups = "pwm_syn_clk_grp";
226 pinctrl_sys_irq: sys_irq-pins {
227 function = "sys_irq";
228 groups = "sys_irq_grp";
233 leds: led-controller@fffe00d0 {
234 #address-cells = <1>;
236 compatible = "brcm,bcm6358-leds";
237 reg = <0xfffe00d0 0x8>;
242 uart0: serial@fffe0100 {
243 compatible = "brcm,bcm6345-uart";
244 reg = <0xfffe0100 0x18>;
246 interrupt-parent = <&periph_intc>;
247 interrupts = <BCM6358_IRQ_UART0>;
249 clocks = <&periph_osc>;
250 clock-names = "periph";
255 uart1: serial@fffe0120 {
256 compatible = "brcm,bcm6345-uart";
257 reg = <0xfffe0120 0x18>;
259 interrupt-parent = <&periph_intc>;
260 interrupts = <BCM6358_IRQ_UART1>;
262 clocks = <&periph_osc>;
263 clock-names = "periph";
268 lsspi: spi@fffe0800 {
269 #address-cells = <1>;
271 compatible = "brcm,bcm6358-spi";
272 reg = <0xfffe0800 0x70c>;
274 interrupt-parent = <&periph_intc>;
275 interrupts = <BCM6358_IRQ_SPI>;
277 clocks = <&periph_clk BCM6358_CLK_SPI>;
280 resets = <&periph_rst BCM6358_RST_SPI>;
286 compatible = "brcm,bcm6348-pci";
287 reg = <0xfffe1000 0x200>;
288 #address-cells = <3>;
292 bus-range = <0x00 0x01>;
293 ranges = <0x2000000 0 0x30000000 0x30000000 0 0x8000000>,
294 <0x1000000 0 0x08000000 0x08000000 0 0x0010000>;
295 linux,pci-probe-only = <1>;
297 interrupt-parent = <&periph_intc>;
298 interrupts = <BCM6358_IRQ_MPI>;
300 resets = <&periph_rst BCM6358_RST_MPI>;
309 compatible = "brcm,bcm6358-ehci", "generic-ehci";
310 reg = <0xfffe1300 0x100>;
314 interrupt-parent = <&periph_intc>;
315 interrupts = <BCM6358_IRQ_EHCI>;
324 compatible = "brcm,bcm6358-ohci", "generic-ohci";
325 reg = <0xfffe1400 0x100>;
329 interrupt-parent = <&periph_intc>;
330 interrupts = <BCM6358_IRQ_OHCI>;
338 usbh: usb-phy@fffe1500 {
339 compatible = "brcm,bcm6358-usbh-phy";
340 reg = <0xfffe1500 0x38>;
344 resets = <&periph_rst BCM6358_RST_USBH>;
349 ethernet0: ethernet@fffe4000 {
350 compatible = "brcm,bcm6358-emac";
351 reg = <0xfffe4000 0x2dc>;
353 clocks = <&periph_clk BCM6358_CLK_ENET0>;
355 interrupt-parent = <&periph_intc>;
356 interrupts = <BCM6358_IRQ_EMAC0>,
357 <BCM6358_IRQ_EMAC0_RX_DMA>,
358 <BCM6358_IRQ_EMAC0_TX_DMA>;
359 interrupt-names = "emac",
363 brcm,iudma = <&iudma>;
371 #address-cells = <1>;
376 ethernet1: ethernet@fffe4800 {
377 compatible = "brcm,bcm6358-emac";
378 reg = <0xfffe4800 0x2dc>;
380 clocks = <&periph_clk BCM6358_CLK_ENET1>;
382 interrupt-parent = <&periph_intc>;
383 interrupts = <BCM6358_IRQ_EMAC1>,
384 <BCM6358_IRQ_EMAC1_RX_DMA>,
385 <BCM6358_IRQ_EMAC1_TX_DMA>;
386 interrupt-names = "emac",
390 brcm,iudma = <&iudma>;
399 #address-cells = <1>;
404 iudma: dma@fffe5000 {
405 #address-cells = <1>;
407 compatible = "brcm,bcm6358-iudma";
408 reg = <0xfffe5000 0x24>,
417 clocks = <&periph_clk BCM6358_CLK_EMUSB>,
418 <&periph_clk BCM6358_CLK_USBSU>,
419 <&periph_clk BCM6358_CLK_EPHY>,
420 <&periph_clk BCM6358_CLK_ENET>;
422 resets = <&periph_rst BCM6358_RST_ENET>,
423 <&periph_rst BCM6358_RST_EPHY>;