riscv: qemu: Split devicetree files for qemu_riscv32/64
[platform/kernel/u-boot.git] / arch / riscv / dts / hifive-unleashed-a00-u-boot.dtsi
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /*
3  * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
4  */
5
6 #include "binman.dtsi"
7 #include "fu540-c000-u-boot.dtsi"
8 #include "fu540-hifive-unleashed-a00-ddr.dtsi"
9
10 / {
11         aliases {
12                 cpu1 = &cpu1;
13                 cpu2 = &cpu2;
14                 cpu3 = &cpu3;
15                 cpu4 = &cpu4;
16                 spi0 = &qspi0;
17                 spi2 = &qspi2;
18         };
19
20         config {
21                 u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
22         };
23
24         memory@80000000 {
25                 u-boot,dm-spl;
26         };
27
28         hfclk {
29                 u-boot,dm-spl;
30         };
31
32         rtcclk {
33                 u-boot,dm-spl;
34         };
35
36 };
37
38 &clint {
39         clocks = <&rtcclk>;
40 };
41
42 &qspi0 {
43         u-boot,dm-spl;
44
45         flash@0 {
46                 u-boot,dm-spl;
47         };
48 };
49
50 &qspi2 {
51         mmc@0 {
52                 u-boot,dm-spl;
53         };
54 };
55
56 &gpio {
57         u-boot,dm-spl;
58 };