2 * DTS File for HiSilicon Hi3798cv200 SoC.
4 * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd.
6 * Released under the GPLv2 only.
7 * SPDX-License-Identifier: GPL-2.0
10 #include <dt-bindings/clock/histb-clock.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/reset/ti-syscon.h>
15 compatible = "hisilicon,hi3798cv200";
16 interrupt-parent = <&gic>;
21 compatible = "arm,psci-0.2";
30 compatible = "arm,cortex-a53";
33 enable-method = "psci";
37 compatible = "arm,cortex-a53";
40 enable-method = "psci";
44 compatible = "arm,cortex-a53";
47 enable-method = "psci";
51 compatible = "arm,cortex-a53";
54 enable-method = "psci";
58 gic: interrupt-controller@f1001000 {
59 compatible = "arm,gic-400";
60 reg = <0x0 0xf1001000 0x0 0x1000>, /* GICD */
61 <0x0 0xf1002000 0x0 0x100>; /* GICC */
63 #interrupt-cells = <3>;
68 compatible = "arm,armv8-timer";
69 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
71 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
73 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
75 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
80 compatible = "simple-bus";
83 ranges = <0x0 0x0 0xf0000000 0x10000000>;
85 crg: clock-reset-controller@8a22000 {
86 compatible = "hisilicon,hi3798cv200-crg", "syscon", "simple-mfd";
87 reg = <0x8a22000 0x1000>;
91 gmacphyrst: reset-controller {
92 compatible = "ti,syscon-reset";
95 <0xcc 12 0xcc 12 0 0 (ASSERT_CLEAR |
96 DEASSERT_SET|STATUS_NONE)>,
97 <0xcc 13 0xcc 13 0 0 (ASSERT_CLEAR |
98 DEASSERT_SET|STATUS_NONE)>;
102 sysctrl: system-controller@8000000 {
103 compatible = "hisilicon,hi3798cv200-sysctrl", "syscon";
104 reg = <0x8000000 0x1000>;
109 uart0: serial@8b00000 {
110 compatible = "arm,pl011", "arm,primecell";
111 reg = <0x8b00000 0x1000>;
112 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
113 clocks = <&sysctrl HISTB_UART0_CLK>;
114 clock-names = "apb_pclk";
118 uart2: serial@8b02000 {
119 compatible = "arm,pl011", "arm,primecell";
120 reg = <0x8b02000 0x1000>;
121 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
122 clocks = <&crg HISTB_UART2_CLK>;
123 clock-names = "apb_pclk";
128 compatible = "hisilicon,hix5hd2-i2c";
129 reg = <0x8b10000 0x1000>;
130 #address-cells = <1>;
132 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
133 clock-frequency = <400000>;
134 clocks = <&crg HISTB_I2C0_CLK>;
139 compatible = "hisilicon,hix5hd2-i2c";
140 reg = <0x8b11000 0x1000>;
141 #address-cells = <1>;
143 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
144 clock-frequency = <400000>;
145 clocks = <&crg HISTB_I2C1_CLK>;
150 compatible = "hisilicon,hix5hd2-i2c";
151 reg = <0x8b12000 0x1000>;
152 #address-cells = <1>;
154 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
155 clock-frequency = <400000>;
156 clocks = <&crg HISTB_I2C2_CLK>;
161 compatible = "hisilicon,hix5hd2-i2c";
162 reg = <0x8b13000 0x1000>;
163 #address-cells = <1>;
165 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
166 clock-frequency = <400000>;
167 clocks = <&crg HISTB_I2C3_CLK>;
172 compatible = "hisilicon,hix5hd2-i2c";
173 reg = <0x8b14000 0x1000>;
174 #address-cells = <1>;
176 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
177 clock-frequency = <400000>;
178 clocks = <&crg HISTB_I2C4_CLK>;
183 compatible = "arm,pl022", "arm,primecell";
184 reg = <0x8b1a000 0x1000>;
185 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
187 cs-gpios = <&gpio7 1 0>;
188 clocks = <&crg HISTB_SPI0_CLK>;
189 clock-names = "apb_pclk";
190 #address-cells = <1>;
196 compatible = "snps,dw-mshc";
197 reg = <0x9830000 0x10000>;
198 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
199 clocks = <&crg HISTB_MMC_CIU_CLK>,
200 <&crg HISTB_MMC_BIU_CLK>;
201 clock-names = "ciu", "biu";
204 gpio0: gpio@8b20000 {
205 compatible = "arm,pl061", "arm,primecell";
206 reg = <0x8b20000 0x1000>;
207 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
210 interrupt-controller;
211 #interrupt-cells = <2>;
212 clocks = <&crg HISTB_APB_CLK>;
213 clock-names = "apb_pclk";
217 gpio1: gpio@8b21000 {
218 compatible = "arm,pl061", "arm,primecell";
219 reg = <0x8b21000 0x1000>;
220 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
223 interrupt-controller;
224 #interrupt-cells = <2>;
225 clocks = <&crg HISTB_APB_CLK>;
226 clock-names = "apb_pclk";
230 gpio2: gpio@8b22000 {
231 compatible = "arm,pl061", "arm,primecell";
232 reg = <0x8b22000 0x1000>;
233 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
236 interrupt-controller;
237 #interrupt-cells = <2>;
238 clocks = <&crg HISTB_APB_CLK>;
239 clock-names = "apb_pclk";
243 gpio3: gpio@8b23000 {
244 compatible = "arm,pl061", "arm,primecell";
245 reg = <0x8b23000 0x1000>;
246 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
249 interrupt-controller;
250 #interrupt-cells = <2>;
251 clocks = <&crg HISTB_APB_CLK>;
252 clock-names = "apb_pclk";
256 gpio4: gpio@8b24000 {
257 compatible = "arm,pl061", "arm,primecell";
258 reg = <0x8b24000 0x1000>;
259 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
262 interrupt-controller;
263 #interrupt-cells = <2>;
264 clocks = <&crg HISTB_APB_CLK>;
265 clock-names = "apb_pclk";
269 gpio5: gpio@8004000 {
270 compatible = "arm,pl061", "arm,primecell";
271 reg = <0x8004000 0x1000>;
272 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
275 interrupt-controller;
276 #interrupt-cells = <2>;
277 clocks = <&crg HISTB_APB_CLK>;
278 clock-names = "apb_pclk";
282 gpio6: gpio@8b26000 {
283 compatible = "arm,pl061", "arm,primecell";
284 reg = <0x8b26000 0x1000>;
285 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
288 interrupt-controller;
289 #interrupt-cells = <2>;
290 clocks = <&crg HISTB_APB_CLK>;
291 clock-names = "apb_pclk";
295 gpio7: gpio@8b27000 {
296 compatible = "arm,pl061", "arm,primecell";
297 reg = <0x8b27000 0x1000>;
298 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
301 interrupt-controller;
302 #interrupt-cells = <2>;
303 clocks = <&crg HISTB_APB_CLK>;
304 clock-names = "apb_pclk";
308 gpio8: gpio@8b28000 {
309 compatible = "arm,pl061", "arm,primecell";
310 reg = <0x8b28000 0x1000>;
311 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
314 interrupt-controller;
315 #interrupt-cells = <2>;
316 clocks = <&crg HISTB_APB_CLK>;
317 clock-names = "apb_pclk";
321 gpio9: gpio@8b29000 {
322 compatible = "arm,pl061", "arm,primecell";
323 reg = <0x8b29000 0x1000>;
324 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
327 interrupt-controller;
328 #interrupt-cells = <2>;
329 clocks = <&crg HISTB_APB_CLK>;
330 clock-names = "apb_pclk";
334 gpio10: gpio@8b2a000 {
335 compatible = "arm,pl061", "arm,primecell";
336 reg = <0x8b2a000 0x1000>;
337 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
340 interrupt-controller;
341 #interrupt-cells = <2>;
342 clocks = <&crg HISTB_APB_CLK>;
343 clock-names = "apb_pclk";
347 gpio11: gpio@8b2b000 {
348 compatible = "arm,pl061", "arm,primecell";
349 reg = <0x8b2b000 0x1000>;
350 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
353 interrupt-controller;
354 #interrupt-cells = <2>;
355 clocks = <&crg HISTB_APB_CLK>;
356 clock-names = "apb_pclk";
360 gpio12: gpio@8b2c000 {
361 compatible = "arm,pl061", "arm,primecell";
362 reg = <0x8b2c000 0x1000>;
363 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
366 interrupt-controller;
367 #interrupt-cells = <2>;
368 clocks = <&crg HISTB_APB_CLK>;
369 clock-names = "apb_pclk";
373 gmac0: ethernet@9840000 {
374 compatible = "hisilicon,hi3798cv200-gmac", "hisilicon,hisi-gmac-v2";
375 reg = <0x9840000 0x1000>,
377 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
378 clocks = <&crg HISTB_ETH0_MAC_CLK>,
379 <&crg HISTB_ETH0_MACIF_CLK>;
380 clock-names = "mac_core", "mac_ifc";
381 resets = <&crg 0xcc 8>,
384 reset-names = "mac_core", "mac_ifc", "phy";
388 gmac1: ethernet@9841000 {
389 compatible = "hisilicon,hi3798cv200-gmac", "hisilicon,hisi-gmac-v2";
390 reg = <0x9841000 0x1000>,
392 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
393 clocks = <&crg HISTB_ETH1_MAC_CLK>,
394 <&crg HISTB_ETH1_MACIF_CLK>;
395 clock-names = "mac_core", "mac_ifc";
396 resets = <&crg 0xcc 9>,
399 reset-names = "mac_core", "mac_ifc", "phy";
404 compatible = "hisilicon,hix5hd2-ir";
405 reg = <0x8001000 0x1000>;
406 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
407 clocks = <&sysctrl HISTB_IR_CLK>;