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 = "console=ttyS0,115200n8 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";
138 reg = <0x10000068 0x4>;
143 compatible = "syscon-reboot";
144 regmap = <&pll_cntl>;
149 pinctrl: pin-controller@10000080 {
150 compatible = "brcm,bcm6328-pinctrl";
151 reg = <0x10000080 0x8>,
155 reg-names = "dirout", "dat", "mode", "mux";
160 interrupt-parent = <&ext_intc>;
161 interrupts = <3 0>, <2 0>, <0 0>, <1 0>;
162 interrupt-names = "gpio12", "gpio15",
165 pinctrl_serial_led: serial_led {
166 pinctrl_serial_led_data: serial_led_data {
167 function = "serial_led_data";
171 pinctrl_serial_led_clk: serial_led_clk {
172 function = "serial_led_clk";
177 pinctrl_inet_act_led: inet_act_led {
178 function = "inet_act_led";
182 pinctrl_pcie_clkreq: pcie_clkreq {
183 function = "pcie_clkreq";
187 pinctrl_ephy0_spd_led: ephy0_spd_led {
192 pinctrl_ephy1_spd_led: ephy1_spd_led {
197 pinctrl_ephy2_spd_led: ephy2_spd_led {
202 pinctrl_ephy3_spd_led: ephy3_spd_led {
207 pinctrl_ephy0_act_led: ephy0_act_led {
208 function = "ephy0_act_led";
212 pinctrl_ephy1_act_led: ephy1_act_led {
213 function = "ephy1_act_led";
217 pinctrl_ephy2_act_led: ephy2_act_led {
218 function = "ephy2_act_led";
222 pinctrl_ephy3_act_led: ephy3_act_led {
223 function = "ephy3_act_led";
227 pinctrl_hsspi_cs1: hsspi_cs1 {
228 function = "hsspi_cs1";
232 pinctrl_usb_port1_device: usb_port1_device {
233 function = "usb_device_port";
237 pinctrl_usb_port1_host: usb_port1_host {
238 function = "usb_host_port";
243 uart0: serial@10000100 {
244 compatible = "brcm,bcm6345-uart";
245 reg = <0x10000100 0x18>;
247 interrupt-parent = <&periph_intc>;
248 interrupts = <BCM6328_IRQ_UART0>;
250 clocks = <&periph_osc>;
251 clock-names = "periph";
256 uart1: serial@10000120 {
257 compatible = "brcm,bcm6345-uart";
258 reg = <0x10000120 0x18>;
260 interrupt-parent = <&periph_intc>;
261 interrupts = <BCM6328_IRQ_UART1>;
263 clocks = <&periph_osc>;
264 clock-names = "periph";
269 nflash: nand@10000200 {
270 #address-cells = <1>;
272 compatible = "brcm,nand-bcm6368",
273 "brcm,brcmnand-v2.2",
275 reg = <0x10000200 0x180>,
282 interrupt-parent = <&periph_intc>;
283 interrupts = <BCM6328_IRQ_NAND>;
288 leds: led-controller@10000800 {
289 #address-cells = <1>;
291 compatible = "brcm,bcm6328-leds";
292 reg = <0x10000800 0x24>;
297 hsspi: spi@10001000 {
298 compatible = "brcm,bcm6328-hsspi";
299 reg = <0x10001000 0x600>;
300 #address-cells = <1>;
303 interrupt-parent = <&periph_intc>;
304 interrupts = <BCM6328_IRQ_HSSPI>;
306 clocks = <&periph_clk BCM6328_CLK_HSSPI>,
308 clock-names = "hsspi",
311 resets = <&periph_rst BCM6328_RST_SPI>;
316 periph_pwr: power-controller@10001848 {
317 compatible = "brcm,bcm6328-power-controller";
318 reg = <0x10001848 0x4>;
320 #power-domain-cells = <1>;
324 compatible = "brcm,bcm6328-ehci", "generic-ehci";
325 reg = <0x10002500 0x100>;
329 interrupt-parent = <&periph_intc>;
330 interrupts = <BCM6328_IRQ_EHCI>;
339 compatible = "brcm,bcm6328-ohci", "generic-ohci";
340 reg = <0x10002600 0x100>;
344 interrupt-parent = <&periph_intc>;
345 interrupts = <BCM6328_IRQ_OHCI>;
353 usbh: usb-phy@10002700 {
354 compatible = "brcm,bcm6328-usbh-phy";
355 reg = <0x10002700 0x38>;
359 clocks = <&periph_clk BCM6328_CLK_USBH>;
360 clock-names = "usbh";
362 power-domains = <&periph_pwr BCM6328_POWER_DOMAIN_USBH>;
363 resets = <&periph_rst BCM6328_RST_USBH>;