2 * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+
7 #include <dt-bindings/clock/bcm6318-clock.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/power-domain/bcm6318-power-domain.h>
10 #include <dt-bindings/reset/bcm6318-reset.h>
11 #include "skeleton.dtsi"
14 compatible = "brcm,bcm6318";
21 reg = <0x10000000 0x4>;
27 compatible = "brcm,bcm6318-cpu", "mips,mips4Kc";
35 compatible = "simple-bus";
40 hsspi_pll: hsspi-pll {
41 compatible = "fixed-clock";
43 clock-frequency = <250000000>;
46 periph_osc: periph-osc {
47 compatible = "fixed-clock";
49 clock-frequency = <50000000>;
53 periph_clk: periph-clk {
54 compatible = "brcm,bcm6345-clk";
55 reg = <0x10000004 0x4>;
61 compatible = "simple-bus";
66 periph_rst: reset-controller@10000010 {
67 compatible = "brcm,bcm6345-reset";
68 reg = <0x10000010 0x4>;
72 wdt: watchdog@10000068 {
73 compatible = "brcm,bcm6345-wdt";
74 reg = <0x10000068 0xc>;
75 clocks = <&periph_osc>;
79 compatible = "wdt-reboot";
83 pll_cntl: syscon@10000074 {
84 compatible = "syscon";
85 reg = <0x10000074 0x4>;
89 compatible = "syscon-reboot";
95 gpio1: gpio-controller@10000080 {
96 compatible = "brcm,bcm6345-gpio";
97 reg = <0x10000080 0x4>, <0x10000088 0x4>;
105 gpio0: gpio-controller@10000084 {
106 compatible = "brcm,bcm6345-gpio";
107 reg = <0x10000084 0x4>, <0x1000008c 0x4>;
114 uart0: serial@10000100 {
115 compatible = "brcm,bcm6345-uart";
116 reg = <0x10000100 0x18>;
117 clocks = <&periph_osc>;
122 leds: led-controller@10000200 {
123 compatible = "brcm,bcm6328-leds";
124 reg = <0x10000200 0x28>;
125 #address-cells = <1>;
131 periph_pwr: power-controller@100008e8 {
132 compatible = "brcm,bcm6328-power-domain";
133 reg = <0x100008e8 0x4>;
134 #power-domain-cells = <1>;
138 compatible = "brcm,bcm6328-hsspi";
139 #address-cells = <1>;
141 reg = <0x10003000 0x600>;
142 clocks = <&periph_clk BCM6318_CLK_HSSPI>, <&hsspi_pll>;
143 clock-names = "hsspi", "pll";
144 resets = <&periph_rst BCM6318_RST_SPI>;
145 spi-max-frequency = <33333334>;
151 memory-controller@10004000 {
152 compatible = "brcm,bcm6318-mc";
153 reg = <0x10004000 0x38>;