1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/clock/bcm6328-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/bcm6328-interrupt-controller.h>
9 #include <dt-bindings/reset/bcm6328-reset.h>
10 #include <dt-bindings/soc/bcm6328-pm.h>
15 compatible = "brcm,bcm6328";
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";
40 hsspi_osc: hsspi-osc {
41 compatible = "fixed-clock";
45 clock-frequency = <133333333>;
46 clock-output-names = "hsspi_osc";
53 mips-hpt-frequency = <160000000>;
56 compatible = "brcm,bmips4350", "mips,mips4Kc";
62 compatible = "brcm,bmips4350", "mips,mips4Kc";
68 cpu_intc: interrupt-controller {
70 compatible = "mti,cpu-interrupt-controller";
73 #interrupt-cells = <1>;
77 device_type = "memory";
85 compatible = "simple-bus";
88 periph_clk: clock-controller@10000004 {
89 compatible = "brcm,bcm6328-clocks";
90 reg = <0x10000004 0x4>;
94 periph_rst: reset-controller@10000010 {
95 compatible = "brcm,bcm6345-reset";
96 reg = <0x10000010 0x4>;
100 ext_intc: interrupt-controller@10000018 {
101 #address-cells = <1>;
102 compatible = "brcm,bcm6345-ext-intc";
103 reg = <0x10000018 0x4>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
108 interrupts = <BCM6328_IRQ_EXTO>,
114 periph_intc: interrupt-controller@10000020 {
115 #address-cells = <1>;
116 compatible = "brcm,bcm6345-l1-intc";
117 reg = <0x10000020 0x10>,
120 interrupt-controller;
121 #interrupt-cells = <1>;
123 interrupt-parent = <&cpu_intc>;
124 interrupts = <2>, <3>;
127 wdt: watchdog@1000005c {
128 compatible = "brcm,bcm7038-wdt";
129 reg = <0x1000005c 0xc>;
131 clocks = <&periph_osc>;
136 pll_cntl: syscon@10000068 {
137 compatible = "syscon", "simple-mfd";
138 reg = <0x10000068 0x4>;
142 compatible = "syscon-reboot";
148 gpio: syscon@10000080 {
149 compatible = "syscon", "simple-mfd";
150 reg = <0x10000080 0x80>;
153 pinctrl: pin-controller {
154 compatible = "brcm,bcm6328-pinctrl";
159 interrupts-extended = <&ext_intc 3 0>,
163 interrupt-names = "gpio12",
168 pinctrl_serial_led: serial_led {
169 pinctrl_serial_led_data: serial_led_data {
170 function = "serial_led_data";
174 pinctrl_serial_led_clk: serial_led_clk {
175 function = "serial_led_clk";
180 pinctrl_inet_act_led: inet_act_led {
181 function = "inet_act_led";
185 pinctrl_pcie_clkreq: pcie_clkreq {
186 function = "pcie_clkreq";
190 pinctrl_ephy0_spd_led: ephy0_spd_led {
195 pinctrl_ephy1_spd_led: ephy1_spd_led {
200 pinctrl_ephy2_spd_led: ephy2_spd_led {
205 pinctrl_ephy3_spd_led: ephy3_spd_led {
210 pinctrl_ephy0_act_led: ephy0_act_led {
211 function = "ephy0_act_led";
215 pinctrl_ephy1_act_led: ephy1_act_led {
216 function = "ephy1_act_led";
220 pinctrl_ephy2_act_led: ephy2_act_led {
221 function = "ephy2_act_led";
225 pinctrl_ephy3_act_led: ephy3_act_led {
226 function = "ephy3_act_led";
230 pinctrl_hsspi_cs1: hsspi_cs1 {
231 function = "hsspi_cs1";
235 pinctrl_usb_port1_device: usb_port1_device {
236 function = "usb_device_port";
240 pinctrl_usb_port1_host: usb_port1_host {
241 function = "usb_host_port";
247 uart0: serial@10000100 {
248 compatible = "brcm,bcm6345-uart";
249 reg = <0x10000100 0x18>;
251 interrupt-parent = <&periph_intc>;
252 interrupts = <BCM6328_IRQ_UART0>;
254 clocks = <&periph_osc>;
255 clock-names = "periph";
260 uart1: serial@10000120 {
261 compatible = "brcm,bcm6345-uart";
262 reg = <0x10000120 0x18>;
264 interrupt-parent = <&periph_intc>;
265 interrupts = <BCM6328_IRQ_UART1>;
267 clocks = <&periph_osc>;
268 clock-names = "periph";
273 nflash: nand@10000200 {
274 #address-cells = <1>;
276 compatible = "brcm,nand-bcm6368",
277 "brcm,brcmnand-v2.2",
279 reg = <0x10000200 0x180>,
286 interrupt-parent = <&periph_intc>;
287 interrupts = <BCM6328_IRQ_NAND>;
292 leds: led-controller@10000800 {
293 #address-cells = <1>;
295 compatible = "brcm,bcm6328-leds";
296 reg = <0x10000800 0x24>;
301 hsspi: spi@10001000 {
302 compatible = "brcm,bcm6328-hsspi";
303 reg = <0x10001000 0x600>;
304 #address-cells = <1>;
307 interrupt-parent = <&periph_intc>;
308 interrupts = <BCM6328_IRQ_HSSPI>;
310 clocks = <&periph_clk BCM6328_CLK_HSSPI>,
312 clock-names = "hsspi",
315 resets = <&periph_rst BCM6328_RST_SPI>;
320 periph_pwr: power-controller@10001848 {
321 compatible = "brcm,bcm6328-power-controller";
322 reg = <0x10001848 0x4>;
324 #power-domain-cells = <1>;
328 compatible = "brcm,bcm6328-ehci", "generic-ehci";
329 reg = <0x10002500 0x100>;
333 interrupt-parent = <&periph_intc>;
334 interrupts = <BCM6328_IRQ_EHCI>;
343 compatible = "brcm,bcm6328-ohci", "generic-ohci";
344 reg = <0x10002600 0x100>;
348 interrupt-parent = <&periph_intc>;
349 interrupts = <BCM6328_IRQ_OHCI>;
357 usbh: usb-phy@10002700 {
358 compatible = "brcm,bcm6328-usbh-phy";
359 reg = <0x10002700 0x38>;
363 clocks = <&periph_clk BCM6328_CLK_USBH>;
364 clock-names = "usbh";
366 power-domains = <&periph_pwr BCM6328_POWER_DOMAIN_USBH>;
367 resets = <&periph_rst BCM6328_RST_USBH>;