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 interrupts = <BCM6358_IRQ_EXT0>,
133 ext_intc1: interrupt-controller@fffe001c {
134 #address-cells = <1>;
135 compatible = "brcm,bcm6345-ext-intc";
136 reg = <0xfffe001c 0x4>;
138 interrupt-controller;
139 #interrupt-cells = <2>;
141 interrupts = <BCM6358_IRQ_EXT4>,
145 periph_rst: reset-controller@fffe0034 {
146 compatible = "brcm,bcm6345-reset";
147 reg = <0xfffe0034 0x4>;
151 wdt: watchdog@fffe005c {
152 compatible = "brcm,bcm7038-wdt";
153 reg = <0xfffe005c 0xc>;
155 clocks = <&periph_osc>;
160 gpio: syscon@fffe0080 {
161 compatible = "syscon", "simple-mfd";
162 reg = <0xfffe0080 0x50>;
165 pinctrl: pin-controller {
166 compatible = "brcm,bcm6358-pinctrl";
171 interrupts-extended = <&ext_intc1 0 0>,
177 interrupt-names = "gpio32",
184 pinctrl_ebi_cs: ebi_cs {
186 groups = "ebi_cs_grp";
189 pinctrl_uart1: uart1 {
191 groups = "uart1_grp";
194 pinctrl_serial_led: serial_led {
195 function = "serial_led";
196 groups = "serial_led_grp";
199 pinctrl_legacy_led: legacy_led {
200 function = "legacy_led";
201 groups = "legacy_led_grp";
209 pinctrl_spi_cs_23: spi_cs {
211 groups = "spi_cs_grp";
214 pinctrl_utopia: utopia {
216 groups = "utopia_grp";
219 pinctrl_pwm_syn_clk: pwm_syn_clk {
220 function = "pwm_syn_clk";
221 groups = "pwm_syn_clk_grp";
224 pinctrl_sys_irq: sys_irq {
225 function = "sys_irq";
226 groups = "sys_irq_grp";
231 leds: led-controller@fffe00d0 {
232 #address-cells = <1>;
234 compatible = "brcm,bcm6358-leds";
235 reg = <0xfffe00d0 0x8>;
240 uart0: serial@fffe0100 {
241 compatible = "brcm,bcm6345-uart";
242 reg = <0xfffe0100 0x18>;
244 interrupt-parent = <&periph_intc>;
245 interrupts = <BCM6358_IRQ_UART0>;
247 clocks = <&periph_osc>;
248 clock-names = "periph";
253 uart1: serial@fffe0120 {
254 compatible = "brcm,bcm6345-uart";
255 reg = <0xfffe0120 0x18>;
257 interrupt-parent = <&periph_intc>;
258 interrupts = <BCM6358_IRQ_UART1>;
260 clocks = <&periph_osc>;
261 clock-names = "periph";
266 lsspi: spi@fffe0800 {
267 compatible = "brcm,bcm6358-spi";
268 reg = <0xfffe0800 0x70c>;
269 #address-cells = <1>;
272 interrupt-parent = <&periph_intc>;
273 interrupts = <BCM6358_IRQ_SPI>;
275 clocks = <&periph_clk BCM6358_CLK_SPI>;
278 resets = <&periph_rst BCM6358_RST_SPI>;
284 compatible = "brcm,bcm6358-ehci", "generic-ehci";
285 reg = <0xfffe1300 0x100>;
289 interrupt-parent = <&periph_intc>;
290 interrupts = <BCM6358_IRQ_EHCI>;
299 compatible = "brcm,bcm6358-ohci", "generic-ohci";
300 reg = <0xfffe1400 0x100>;
304 interrupt-parent = <&periph_intc>;
305 interrupts = <BCM6358_IRQ_OHCI>;
313 usbh: usb-phy@fffe1500 {
314 compatible = "brcm,bcm6358-usbh-phy";
315 reg = <0xfffe1500 0x38>;
319 resets = <&periph_rst BCM6358_RST_USBH>;