2 * Copyright (C) 2018 Ã
\81lvaro Fernández Rojas <noltari@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+
7 #include <dt-bindings/clock/bcm6362-clock.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/power-domain/bcm6362-power-domain.h>
10 #include <dt-bindings/reset/bcm6362-reset.h>
11 #include "skeleton.dtsi"
14 compatible = "brcm,bcm6362";
22 reg = <0x10000000 0x4>;
28 compatible = "brcm,bcm6362-cpu", "mips,mips4Kc";
35 compatible = "brcm,bcm6362-cpu", "mips,mips4Kc";
43 compatible = "simple-bus";
48 hsspi_pll: hsspi-pll {
49 compatible = "fixed-clock";
51 clock-frequency = <133333333>;
54 periph_osc: periph-osc {
55 compatible = "fixed-clock";
57 clock-frequency = <50000000>;
61 periph_clk: periph-clk {
62 compatible = "brcm,bcm6345-clk";
63 reg = <0x10000004 0x4>;
69 compatible = "simple-bus";
74 pll_cntl: syscon@10000008 {
75 compatible = "syscon";
76 reg = <0x10000008 0x4>;
80 compatible = "syscon-reboot";
86 periph_rst: reset-controller@10000010 {
87 compatible = "brcm,bcm6345-reset";
88 reg = <0x10000010 0x4>;
92 wdt: watchdog@1000005c {
93 compatible = "brcm,bcm6345-wdt";
94 reg = <0x1000005c 0xc>;
95 clocks = <&periph_osc>;
99 compatible = "wdt-reboot";
103 gpio1: gpio-controller@10000080 {
104 compatible = "brcm,bcm6345-gpio";
105 reg = <0x10000080 0x4>, <0x10000088 0x4>;
113 gpio0: gpio-controller@10000084 {
114 compatible = "brcm,bcm6345-gpio";
115 reg = <0x10000084 0x4>, <0x1000008c 0x4>;
122 uart0: serial@10000100 {
123 compatible = "brcm,bcm6345-uart";
124 reg = <0x10000100 0x18>;
125 clocks = <&periph_osc>;
130 uart1: serial@10000120 {
131 compatible = "brcm,bcm6345-uart";
132 reg = <0x10000120 0x18>;
133 clocks = <&periph_osc>;
138 lsspi: spi@10000800 {
139 compatible = "brcm,bcm6358-spi";
140 reg = <0x10000800 0x70c>;
141 #address-cells = <1>;
143 clocks = <&periph_clk BCM6362_CLK_SPI>;
144 resets = <&periph_rst BCM6362_RST_SPI>;
145 spi-max-frequency = <20000000>;
151 hsspi: spi@10001000 {
152 compatible = "brcm,bcm6328-hsspi";
153 #address-cells = <1>;
155 reg = <0x10001000 0x600>;
156 clocks = <&periph_clk BCM6362_CLK_HSSPI>, <&hsspi_pll>;
157 clock-names = "hsspi", "pll";
158 resets = <&periph_rst BCM6362_RST_SPI>;
159 spi-max-frequency = <50000000>;
165 leds: led-controller@10001900 {
166 compatible = "brcm,bcm6328-leds";
167 reg = <0x10001900 0x24>;
168 #address-cells = <1>;
174 periph_pwr: power-controller@10001848 {
175 compatible = "brcm,bcm6328-power-domain";
176 reg = <0x10001848 0x4>;
177 #power-domain-cells = <1>;
180 ehci: usb-controller@10002500 {
181 compatible = "brcm,bcm6362-ehci", "generic-ehci";
182 reg = <0x10002500 0x100>;
189 ohci: usb-controller@10002600 {
190 compatible = "brcm,bcm6362-ohci", "generic-ohci";
191 reg = <0x10002600 0x100>;
198 usbh: usb-phy@10002700 {
199 compatible = "brcm,bcm6368-usbh";
200 reg = <0x10002700 0x38>;
202 clocks = <&periph_clk BCM6362_CLK_USBH>;
203 clock-names = "usbh";
204 power-domains = <&periph_pwr BCM6362_PWR_USBH>;
205 resets = <&periph_rst BCM6362_RST_USBH>;
210 memory-controller@10003000 {
211 compatible = "brcm,bcm6328-mc";
212 reg = <0x10003000 0x864>;