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 = "console=ttyS0,115200n8 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";
96 reg = <0xfffe0008 0x4>;
101 compatible = "syscon-reboot";
102 regmap = <&pll_cntl>;
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 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 interrupts = <BCM6358_IRQ_EXT4>,
146 periph_rst: reset-controller@fffe0034 {
147 compatible = "brcm,bcm6345-reset";
148 reg = <0xfffe0034 0x4>;
152 pinctrl: pin-controller@fffe0080 {
153 compatible = "brcm,bcm6358-pinctrl";
154 reg = <0xfffe0080 0x8>,
156 reg-names = "dirout", "dat", "mode";
157 brcm,gpiomode = <&gpiomode>;
162 interrupts-extended = <&ext_intc1 0 0>,
168 interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35",
171 pinctrl_ebi_cs: ebi_cs {
173 groups = "ebi_cs_grp";
176 pinctrl_uart1: uart1 {
178 groups = "uart1_grp";
181 pinctrl_serial_led: serial_led {
182 function = "serial_led";
183 groups = "serial_led_grp";
186 pinctrl_legacy_led: legacy_led {
187 function = "legacy_led";
188 groups = "legacy_led_grp";
196 pinctrl_spi_cs_23: spi_cs {
198 groups = "spi_cs_grp";
201 pinctrl_utopia: utopia {
203 groups = "utopia_grp";
206 pinctrl_pwm_syn_clk: pwm_syn_clk {
207 function = "pwm_syn_clk";
208 groups = "pwm_syn_clk_grp";
211 pinctrl_sys_irq: sys_irq {
212 function = "sys_irq";
213 groups = "sys_irq_grp";
217 gpiomode: gpiomode@fffe0098 {
218 compatible = "brcm,bcm6358-gpiomode", "syscon";
219 reg = <0xfffe0098 0x4>;
222 leds: led-controller@fffe00d0 {
223 #address-cells = <1>;
225 compatible = "brcm,bcm6358-leds";
226 reg = <0xfffe00d0 0x8>;
231 uart0: serial@fffe0100 {
232 compatible = "brcm,bcm6345-uart";
233 reg = <0xfffe0100 0x18>;
235 interrupt-parent = <&periph_intc>;
236 interrupts = <BCM6358_IRQ_UART0>;
238 clocks = <&periph_osc>;
239 clock-names = "periph";
244 uart1: serial@fffe0120 {
245 compatible = "brcm,bcm6345-uart";
246 reg = <0xfffe0120 0x18>;
248 interrupt-parent = <&periph_intc>;
249 interrupts = <BCM6358_IRQ_UART1>;
251 clocks = <&periph_osc>;
252 clock-names = "periph";
257 lsspi: spi@fffe0800 {
258 compatible = "brcm,bcm6358-spi";
259 reg = <0xfffe0800 0x70c>;
260 #address-cells = <1>;
263 interrupt-parent = <&periph_intc>;
264 interrupts = <BCM6358_IRQ_SPI>;
266 clocks = <&periph_clk BCM6358_CLK_SPI>;
269 resets = <&periph_rst BCM6358_RST_SPI>;
275 compatible = "brcm,bcm6358-ehci", "generic-ehci";
276 reg = <0xfffe1300 0x100>;
280 interrupt-parent = <&periph_intc>;
281 interrupts = <BCM6358_IRQ_EHCI>;
290 compatible = "brcm,bcm6358-ohci", "generic-ohci";
291 reg = <0xfffe1400 0x100>;
295 interrupt-parent = <&periph_intc>;
296 interrupts = <BCM6358_IRQ_OHCI>;
304 usbh: usb-phy@fffe1500 {
305 compatible = "brcm,bcm6358-usbh-phy";
306 reg = <0xfffe1500 0x38>;
310 resets = <&periph_rst BCM6358_RST_USBH>;