1/*
2 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
3 *
4 * SPDX-License-Identifier:	GPL-2.0+
5 */
6
7#include <dt-bindings/gpio/gpio.h>
8#include "skeleton.dtsi"
9
10/ {
11	compatible = "brcm,bcm63268";
12
13	cpus {
14		reg = <0x10000000 0x4>;
15		#address-cells = <1>;
16		#size-cells = <0>;
17		u-boot,dm-pre-reloc;
18
19		cpu@0 {
20			compatible = "brcm,bcm63268-cpu", "mips,mips4Kc";
21			device_type = "cpu";
22			reg = <0>;
23			u-boot,dm-pre-reloc;
24		};
25
26		cpu@1 {
27			compatible = "brcm,bcm63268-cpu", "mips,mips4Kc";
28			device_type = "cpu";
29			reg = <1>;
30			u-boot,dm-pre-reloc;
31		};
32	};
33
34	clocks {
35		compatible = "simple-bus";
36		#address-cells = <1>;
37		#size-cells = <1>;
38		u-boot,dm-pre-reloc;
39
40		periph_osc: periph-osc {
41			compatible = "fixed-clock";
42			#clock-cells = <0>;
43			clock-frequency = <50000000>;
44			u-boot,dm-pre-reloc;
45		};
46	};
47
48	ubus {
49		compatible = "simple-bus";
50		#address-cells = <1>;
51		#size-cells = <1>;
52		u-boot,dm-pre-reloc;
53
54		pll_cntl: syscon@10000008 {
55			compatible = "syscon";
56			reg = <0x10000008 0x4>;
57		};
58
59		syscon-reboot {
60			compatible = "syscon-reboot";
61			regmap = <&pll_cntl>;
62			offset = <0x0>;
63			mask = <0x1>;
64		};
65
66		gpio1: gpio-controller@100000c0 {
67			compatible = "brcm,bcm6345-gpio";
68			reg = <0x100000c0 0x4>, <0x100000c8 0x4>;
69			gpio-controller;
70			#gpio-cells = <2>;
71			ngpios = <20>;
72
73			status = "disabled";
74		};
75
76		gpio0: gpio-controller@100000c4 {
77			compatible = "brcm,bcm6345-gpio";
78			reg = <0x100000c4 0x4>, <0x100000cc 0x4>;
79			gpio-controller;
80			#gpio-cells = <2>;
81
82			status = "disabled";
83		};
84
85		uart0: serial@10000180 {
86			compatible = "brcm,bcm6345-uart";
87			reg = <0x10000180 0x18>;
88			clocks = <&periph_osc>;
89
90			status = "disabled";
91		};
92
93		uart1: serial@100001a0 {
94			compatible = "brcm,bcm6345-uart";
95			reg = <0x100001a0 0x18>;
96			clocks = <&periph_osc>;
97
98			status = "disabled";
99		};
100
101		leds: led-controller@10001900 {
102			compatible = "brcm,bcm6328-leds";
103			reg = <0x10001900 0x24>;
104			#address-cells = <1>;
105			#size-cells = <0>;
106
107			status = "disabled";
108		};
109
110		memory-controller@10003000 {
111			compatible = "brcm,bcm6328-mc";
112			reg = <0x10003000 0x1000>;
113			u-boot,dm-pre-reloc;
114		};
115	};
116};
117