blob: 8fd825b4c33a5c33d03f2fd6a8295944ec30ae63 [file] [log] [blame]
Philippe Reynes697f15e2018-10-11 18:31:58 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com>
4 */
5
6#include "skeleton64.dtsi"
7
8/ {
9 compatible = "brcm,bcm6858";
10 #address-cells = <2>;
11 #size-cells = <2>;
12
13 cpus {
14 #address-cells = <2>;
15 #size-cells = <0>;
16 u-boot,dm-pre-reloc;
17
18 cpu0: cpu@0 {
19 compatible = "arm,cortex-a53", "arm,armv8";
20 device_type = "cpu";
21 reg = <0x0 0x0>;
22 next-level-cache = <&l2>;
23 u-boot,dm-pre-reloc;
24 };
25
26 cpu1: cpu@1 {
27 compatible = "arm,cortex-a53", "arm,armv8";
28 device_type = "cpu";
29 reg = <0x0 0x1>;
30 next-level-cache = <&l2>;
31 u-boot,dm-pre-reloc;
32 };
33
34 cpu2: cpu@2 {
35 compatible = "arm,cortex-a53", "arm,armv8";
36 device_type = "cpu";
37 reg = <0x0 0x2>;
38 next-level-cache = <&l2>;
39 u-boot,dm-pre-reloc;
40 };
41
42 cpu3: cpu@3 {
43 compatible = "arm,cortex-a53", "arm,armv8";
44 device_type = "cpu";
45 reg = <0x0 0x3>;
46 next-level-cache = <&l2>;
47 u-boot,dm-pre-reloc;
48 };
49
50 l2: l2-cache0 {
51 compatible = "cache";
52 u-boot,dm-pre-reloc;
53 };
54 };
55
56 clocks {
57 compatible = "simple-bus";
58 #address-cells = <2>;
59 #size-cells = <2>;
60 ranges;
61 u-boot,dm-pre-reloc;
62
63 periph_osc: periph-osc {
64 compatible = "fixed-clock";
65 #clock-cells = <0>;
66 clock-frequency = <200000000>;
67 u-boot,dm-pre-reloc;
68 };
69 };
70
71 ubus {
72 compatible = "simple-bus";
73 #address-cells = <2>;
74 #size-cells = <2>;
75 u-boot,dm-pre-reloc;
76
77 uart0: serial@ff800640 {
Álvaro Fernández Rojas4ab29872018-12-01 18:42:09 +010078 compatible = "brcm,bcm6345-uart";
Philippe Reynes697f15e2018-10-11 18:31:58 +020079 reg = <0x0 0xff800640 0x0 0x18>;
80 clocks = <&periph_osc>;
81
82 status = "disabled";
83 };
Philippe Reynese0ed3fc2019-01-28 15:37:30 +010084
85 wdt1: watchdog@ff802780 {
86 compatible = "brcm,bcm6345-wdt";
87 reg = <0x0 0xff802780 0x0 0x14>;
88 clocks = <&periph_osc>;
89 };
90
91 wdt2: watchdog@ff8027c0 {
92 compatible = "brcm,bcm6345-wdt";
93 reg = <0x0 0xff8027c0 0x0 0x14>;
94 clocks = <&periph_osc>;
95 };
96
97 wdt-reboot {
98 compatible = "wdt-reboot";
99 wdt = <&wdt1>;
100 };
Philippe Reynesc0200c12019-03-07 11:36:37 +0100101
102 gpio0: gpio-controller@0xff800500 {
103 compatible = "brcm,bcm6345-gpio";
104 reg = <0x0 0xff800500 0x0 0x4>,
105 <0x0 0xff800520 0x0 0x4>;
106 gpio-controller;
107 #gpio-cells = <2>;
108
109 status = "disabled";
110 };
111
112 gpio1: gpio-controller@0xff800504 {
113 compatible = "brcm,bcm6345-gpio";
114 reg = <0x0 0xff800504 0x0 0x4>,
115 <0x0 0xff800524 0x0 0x4>;
116 gpio-controller;
117 #gpio-cells = <2>;
118
119 status = "disabled";
120 };
121
122 gpio2: gpio-controller@0xff800508 {
123 compatible = "brcm,bcm6345-gpio";
124 reg = <0x0 0xff800508 0x0 0x4>,
125 <0x0 0xff800528 0x0 0x4>;
126 gpio-controller;
127 #gpio-cells = <2>;
128
129 status = "disabled";
130 };
131
132 gpio3: gpio-controller@0xff80050c {
133 compatible = "brcm,bcm6345-gpio";
134 reg = <0x0 0xff80050c 0x0 0x4>,
135 <0x0 0xff80052c 0x0 0x4>;
136 gpio-controller;
137 #gpio-cells = <2>;
138
139 status = "disabled";
140 };
141
142 gpio4: gpio-controller@0xff800510 {
143 compatible = "brcm,bcm6345-gpio";
144 reg = <0x0 0xff800510 0x0 0x4>,
145 <0x0 0xff800530 0x0 0x4>;
146 gpio-controller;
147 #gpio-cells = <2>;
148
149 status = "disabled";
150 };
151
152 gpio5: gpio-controller@0xff800514 {
153 compatible = "brcm,bcm6345-gpio";
154 reg = <0x0 0xff800514 0x0 0x4>,
155 <0x0 0xff800534 0x0 0x4>;
156 gpio-controller;
157 #gpio-cells = <2>;
158
159 status = "disabled";
160 };
161
162 gpio6: gpio-controller@0xff800518 {
163 compatible = "brcm,bcm6345-gpio";
164 reg = <0x0 0xff800518 0x0 0x4>,
165 <0x0 0xff800538 0x0 0x4>;
166 gpio-controller;
167 #gpio-cells = <2>;
168
169 status = "disabled";
170 };
171
172 gpio7: gpio-controller@0xff80051c {
173 compatible = "brcm,bcm6345-gpio";
174 reg = <0x0 0xff80051c 0x0 0x4>,
175 <0x0 0xff80053c 0x0 0x4>;
176 gpio-controller;
177 #gpio-cells = <2>;
178
179 status = "disabled";
180 };
Philippe Reynesd80b0882019-03-15 15:14:42 +0100181
182 nand: nand-controller@ff801800 {
183 compatible = "brcm,nand-bcm6858",
184 "brcm,brcmnand-v5.0",
185 "brcm,brcmnand";
186 reg-names = "nand", "nand-int-base", "nand-cache";
187 reg = <0x0 0xff801800 0x0 0x180>,
188 <0x0 0xff802000 0x0 0x10>,
189 <0x0 0xff801c00 0x0 0x200>;
190 parameter-page-big-endian = <0>;
191
192 status = "disabled";
193 };
Philippe Reynes697f15e2018-10-11 18:31:58 +0200194 };
195};