1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
6 #include <dt-bindings/clock/bcm6348-clock.h>
7 #include <dt-bindings/dma/bcm6348-dma.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/reset/bcm6348-reset.h>
10 #include "skeleton.dtsi"
13 compatible = "brcm,bcm6348";
20 reg = <0xfffe0000 0x4>;
26 compatible = "brcm,bcm6348-cpu", "mips,mips4Kc";
34 compatible = "simple-bus";
39 periph_osc: periph-osc {
40 compatible = "fixed-clock";
42 clock-frequency = <50000000>;
46 periph_clk: periph-clk {
47 compatible = "brcm,bcm6345-clk";
48 reg = <0xfffe0004 0x4>;
53 pflash: nor@1fc00000 {
54 compatible = "cfi-flash";
55 reg = <0x1fc00000 0x2000000>;
64 compatible = "simple-bus";
69 pll_cntl: syscon@fffe0008 {
70 compatible = "syscon";
71 reg = <0xfffe0008 0x4>;
75 compatible = "syscon-reboot";
81 periph_rst: reset-controller@fffe0028 {
82 compatible = "brcm,bcm6345-reset";
83 reg = <0xfffe0028 0x4>;
87 wdt: watchdog@fffe021c {
88 compatible = "brcm,bcm6345-wdt";
89 reg = <0xfffe021c 0xc>;
90 clocks = <&periph_osc>;
94 compatible = "wdt-reboot";
98 uart0: serial@fffe0300 {
99 compatible = "brcm,bcm6345-uart";
100 reg = <0xfffe0300 0x18>;
101 clocks = <&periph_osc>;
106 gpio1: gpio-controller@fffe0400 {
107 compatible = "brcm,bcm6345-gpio";
108 reg = <0xfffe0400 0x4>, <0xfffe0408 0x4>;
116 gpio0: gpio-controller@fffe0404 {
117 compatible = "brcm,bcm6345-gpio";
118 reg = <0xfffe0404 0x4>, <0xfffe040c 0x4>;
126 compatible = "brcm,bcm6348-spi";
127 reg = <0xfffe0c00 0xc0>;
128 #address-cells = <1>;
130 clocks = <&periph_clk BCM6348_CLK_SPI>;
131 resets = <&periph_rst BCM6348_RST_SPI>;
132 spi-max-frequency = <20000000>;
138 ohci: usb-controller@fffe1b00 {
139 compatible = "brcm,bcm6348-ohci", "generic-ohci";
140 reg = <0xfffe1b00 0x100>;
147 usbh: usb-phy@fffe1c00 {
148 compatible = "brcm,bcm6348-usbh";
149 reg = <0xfffe1c00 0x4>;
151 clocks = <&periph_clk BCM6348_CLK_USBH>;
152 clock-names = "usbh";
153 resets = <&periph_rst BCM6348_RST_USBH>;
158 memory-controller@fffe2300 {
159 compatible = "brcm,bcm6338-mc";
160 reg = <0xfffe2300 0x38>;
164 enet0: ethernet@fffe6000 {
165 compatible = "brcm,bcm6348-enet";
166 #address-cells = <1>;
168 reg = <0xfffe6000 0x2dc>;
169 dmas = <&iudma BCM6348_DMA_ENET0_RX>,
170 <&iudma BCM6348_DMA_ENET0_TX>;
177 enet1: ethernet@fffe6800 {
178 compatible = "brcm,bcm6348-enet";
179 #address-cells = <1>;
181 reg = <0xfffe6800 0x2dc>;
182 dmas = <&iudma BCM6348_DMA_ENET1_RX>,
183 <&iudma BCM6348_DMA_ENET1_TX>;
190 iudma: dma-controller@fffe7000 {
191 compatible = "brcm,bcm6348-iudma";
192 reg = <0xfffe7000 0x1c>,
200 clocks = <&periph_clk BCM6348_CLK_ENET>;
201 resets = <&periph_rst BCM6348_RST_ENET>,
202 <&periph_rst BCM6348_RST_DMAMEM>;