1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
6 #include <dt-bindings/clock/bcm6358-clock.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/reset/bcm6358-reset.h>
9 #include "skeleton.dtsi"
12 compatible = "brcm,bcm6358";
19 reg = <0xfffe0000 0x4>;
25 compatible = "brcm,bcm6358-cpu", "mips,mips4Kc";
32 compatible = "brcm,bcm6358-cpu", "mips,mips4Kc";
40 compatible = "simple-bus";
45 periph_osc: periph-osc {
46 compatible = "fixed-clock";
48 clock-frequency = <50000000>;
52 periph_clk: periph-clk {
53 compatible = "brcm,bcm6345-clk";
54 reg = <0xfffe0004 0x4>;
59 pflash: nor@1e000000 {
60 compatible = "cfi-flash";
61 reg = <0x1e000000 0x2000000>;
70 compatible = "simple-bus";
75 pll_cntl: syscon@fffe0008 {
76 compatible = "syscon";
77 reg = <0xfffe0008 0x4>;
81 compatible = "syscon-reboot";
87 periph_rst: reset-controller@fffe0034 {
88 compatible = "brcm,bcm6345-reset";
89 reg = <0xfffe0034 0x4>;
93 wdt: watchdog@fffe005c {
94 compatible = "brcm,bcm6345-wdt";
95 reg = <0xfffe005c 0xc>;
96 clocks = <&periph_osc>;
100 compatible = "wdt-reboot";
104 gpio1: gpio-controller@fffe0080 {
105 compatible = "brcm,bcm6345-gpio";
106 reg = <0xfffe0080 0x4>, <0xfffe0088 0x4>;
114 gpio0: gpio-controller@fffe0084 {
115 compatible = "brcm,bcm6345-gpio";
116 reg = <0xfffe0084 0x4>, <0xfffe008c 0x4>;
123 leds: led-controller@fffe00d0 {
124 compatible = "brcm,bcm6358-leds";
125 reg = <0xfffe00d0 0x8>;
126 #address-cells = <1>;
132 uart0: serial@fffe0100 {
133 compatible = "brcm,bcm6345-uart";
134 reg = <0xfffe0100 0x18>;
135 clocks = <&periph_osc>;
140 uart1: serial@fffe0120 {
141 compatible = "brcm,bcm6345-uart";
142 reg = <0xfffe0120 0x18>;
143 clocks = <&periph_osc>;
149 compatible = "brcm,bcm6358-spi";
150 reg = <0xfffe0800 0x70c>;
151 #address-cells = <1>;
153 clocks = <&periph_clk BCM6358_CLK_SPI>;
154 resets = <&periph_rst BCM6358_RST_SPI>;
155 spi-max-frequency = <20000000>;
161 memory-controller@fffe1200 {
162 compatible = "brcm,bcm6358-mc";
163 reg = <0xfffe1200 0x4c>;
167 ehci: usb-controller@fffe1300 {
168 compatible = "brcm,bcm6358-ehci", "generic-ehci";
169 reg = <0xfffe1300 0x100>;
176 ohci: usb-controller@fffe1400 {
177 compatible = "brcm,bcm6358-ohci", "generic-ohci";
178 reg = <0xfffe1400 0x100>;
185 usbh: usb-phy@fffe1500 {
186 compatible = "brcm,bcm6358-usbh";
187 reg = <0xfffe1500 0x28>;
189 resets = <&periph_rst BCM6358_RST_USBH>;