1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
6 #include <dt-bindings/clock/bcm6368-clock.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/reset/bcm6368-reset.h>
9 #include "skeleton.dtsi"
12 compatible = "brcm,bcm6368";
19 reg = <0x10000000 0x4>;
25 compatible = "brcm,bcm6368-cpu", "mips,mips4Kc";
32 compatible = "brcm,bcm6368-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 = <0x10000004 0x4>;
59 pflash: nor@18000000 {
60 compatible = "cfi-flash";
61 reg = <0x18000000 0x2000000>;
70 compatible = "simple-bus";
75 pll_cntl: syscon@10000008 {
76 compatible = "syscon";
77 reg = <0x10000008 0x4>;
81 compatible = "syscon-reboot";
87 periph_rst: reset-controller@10000010 {
88 compatible = "brcm,bcm6345-reset";
89 reg = <0x10000010 0x4>;
93 wdt: watchdog@1000005c {
94 compatible = "brcm,bcm6345-wdt";
95 reg = <0x1000005c 0xc>;
96 clocks = <&periph_osc>;
100 compatible = "wdt-reboot";
104 gpio1: gpio-controller@10000080 {
105 compatible = "brcm,bcm6345-gpio";
106 reg = <0x10000080 0x4>, <0x10000088 0x4>;
114 gpio0: gpio-controller@10000084 {
115 compatible = "brcm,bcm6345-gpio";
116 reg = <0x10000084 0x4>, <0x1000008c 0x4>;
123 leds: led-controller@100000d0 {
124 compatible = "brcm,bcm6358-leds";
125 reg = <0x100000d0 0x8>;
126 #address-cells = <1>;
132 uart0: serial@10000100 {
133 compatible = "brcm,bcm6345-uart";
134 reg = <0x10000100 0x18>;
135 clocks = <&periph_osc>;
140 uart1: serial@10000120 {
141 compatible = "brcm,bcm6345-uart";
142 reg = <0x10000120 0x18>;
143 clocks = <&periph_osc>;
149 compatible = "brcm,bcm6358-spi";
150 reg = <0x10000800 0x70c>;
151 #address-cells = <1>;
153 clocks = <&periph_clk BCM6368_CLK_SPI>;
154 resets = <&periph_rst BCM6368_RST_SPI>;
155 spi-max-frequency = <20000000>;
161 memory-controller@10001200 {
162 compatible = "brcm,bcm6358-mc";
163 reg = <0x10001200 0x4c>;
167 ehci: usb-controller@10001500 {
168 compatible = "brcm,bcm6368-ehci", "generic-ehci";
169 reg = <0x10001500 0x100>;
176 ohci: usb-controller@10001600 {
177 compatible = "brcm,bcm6368-ohci", "generic-ohci";
178 reg = <0x10001600 0x100>;
185 usbh: usb-phy@10001700 {
186 compatible = "brcm,bcm6368-usbh";
187 reg = <0x10001700 0x38>;
189 clocks = <&periph_clk BCM6368_CLK_USBH>;
190 clock-names = "usbh";
191 resets = <&periph_rst BCM6368_RST_USBH>;