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 = <0x9820000 0x10000>;
198 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
199 clocks = <&crg HISTB_SDIO0_CIU_CLK>,
200 <&crg HISTB_SDIO0_BIU_CLK>;
201 clock-names = "ciu", "biu";
202 resets = <&crg 0x9c 4>;
203 reset-names = "reset";
208 compatible = "snps,dw-mshc";
209 reg = <0x9830000 0x10000>;
210 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
211 clocks = <&crg HISTB_MMC_CIU_CLK>,
212 <&crg HISTB_MMC_BIU_CLK>;
213 clock-names = "ciu", "biu";
216 gpio0: gpio@8b20000 {
217 compatible = "arm,pl061", "arm,primecell";
218 reg = <0x8b20000 0x1000>;
219 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
222 interrupt-controller;
223 #interrupt-cells = <2>;
224 clocks = <&crg HISTB_APB_CLK>;
225 clock-names = "apb_pclk";
229 gpio1: gpio@8b21000 {
230 compatible = "arm,pl061", "arm,primecell";
231 reg = <0x8b21000 0x1000>;
232 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
235 interrupt-controller;
236 #interrupt-cells = <2>;
237 clocks = <&crg HISTB_APB_CLK>;
238 clock-names = "apb_pclk";
242 gpio2: gpio@8b22000 {
243 compatible = "arm,pl061", "arm,primecell";
244 reg = <0x8b22000 0x1000>;
245 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
248 interrupt-controller;
249 #interrupt-cells = <2>;
250 clocks = <&crg HISTB_APB_CLK>;
251 clock-names = "apb_pclk";
255 gpio3: gpio@8b23000 {
256 compatible = "arm,pl061", "arm,primecell";
257 reg = <0x8b23000 0x1000>;
258 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
261 interrupt-controller;
262 #interrupt-cells = <2>;
263 clocks = <&crg HISTB_APB_CLK>;
264 clock-names = "apb_pclk";
268 gpio4: gpio@8b24000 {
269 compatible = "arm,pl061", "arm,primecell";
270 reg = <0x8b24000 0x1000>;
271 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
274 interrupt-controller;
275 #interrupt-cells = <2>;
276 clocks = <&crg HISTB_APB_CLK>;
277 clock-names = "apb_pclk";
281 gpio5: gpio@8004000 {
282 compatible = "arm,pl061", "arm,primecell";
283 reg = <0x8004000 0x1000>;
284 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
287 interrupt-controller;
288 #interrupt-cells = <2>;
289 clocks = <&crg HISTB_APB_CLK>;
290 clock-names = "apb_pclk";
294 gpio6: gpio@8b26000 {
295 compatible = "arm,pl061", "arm,primecell";
296 reg = <0x8b26000 0x1000>;
297 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
300 interrupt-controller;
301 #interrupt-cells = <2>;
302 clocks = <&crg HISTB_APB_CLK>;
303 clock-names = "apb_pclk";
307 gpio7: gpio@8b27000 {
308 compatible = "arm,pl061", "arm,primecell";
309 reg = <0x8b27000 0x1000>;
310 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
313 interrupt-controller;
314 #interrupt-cells = <2>;
315 clocks = <&crg HISTB_APB_CLK>;
316 clock-names = "apb_pclk";
320 gpio8: gpio@8b28000 {
321 compatible = "arm,pl061", "arm,primecell";
322 reg = <0x8b28000 0x1000>;
323 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
326 interrupt-controller;
327 #interrupt-cells = <2>;
328 clocks = <&crg HISTB_APB_CLK>;
329 clock-names = "apb_pclk";
333 gpio9: gpio@8b29000 {
334 compatible = "arm,pl061", "arm,primecell";
335 reg = <0x8b29000 0x1000>;
336 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
339 interrupt-controller;
340 #interrupt-cells = <2>;
341 clocks = <&crg HISTB_APB_CLK>;
342 clock-names = "apb_pclk";
346 gpio10: gpio@8b2a000 {
347 compatible = "arm,pl061", "arm,primecell";
348 reg = <0x8b2a000 0x1000>;
349 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
352 interrupt-controller;
353 #interrupt-cells = <2>;
354 clocks = <&crg HISTB_APB_CLK>;
355 clock-names = "apb_pclk";
359 gpio11: gpio@8b2b000 {
360 compatible = "arm,pl061", "arm,primecell";
361 reg = <0x8b2b000 0x1000>;
362 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
365 interrupt-controller;
366 #interrupt-cells = <2>;
367 clocks = <&crg HISTB_APB_CLK>;
368 clock-names = "apb_pclk";
372 gpio12: gpio@8b2c000 {
373 compatible = "arm,pl061", "arm,primecell";
374 reg = <0x8b2c000 0x1000>;
375 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
378 interrupt-controller;
379 #interrupt-cells = <2>;
380 clocks = <&crg HISTB_APB_CLK>;
381 clock-names = "apb_pclk";
385 gmac0: ethernet@9840000 {
386 compatible = "hisilicon,hi3798cv200-gmac", "hisilicon,hisi-gmac-v2";
387 reg = <0x9840000 0x1000>,
389 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
390 clocks = <&crg HISTB_ETH0_MAC_CLK>,
391 <&crg HISTB_ETH0_MACIF_CLK>;
392 clock-names = "mac_core", "mac_ifc";
393 resets = <&crg 0xcc 8>,
396 reset-names = "mac_core", "mac_ifc", "phy";
400 gmac1: ethernet@9841000 {
401 compatible = "hisilicon,hi3798cv200-gmac", "hisilicon,hisi-gmac-v2";
402 reg = <0x9841000 0x1000>,
404 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
405 clocks = <&crg HISTB_ETH1_MAC_CLK>,
406 <&crg HISTB_ETH1_MACIF_CLK>;
407 clock-names = "mac_core", "mac_ifc";
408 resets = <&crg 0xcc 9>,
411 reset-names = "mac_core", "mac_ifc", "phy";
416 compatible = "hisilicon,hix5hd2-ir";
417 reg = <0x8001000 0x1000>;
418 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
419 clocks = <&sysctrl HISTB_IR_CLK>;