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		bootph-pre-ram;
26	};
27
28	hfclk {
29		bootph-pre-ram;
30	};
31
32	rtcclk {
33		bootph-pre-ram;
34	};
35
36};
37
38&clint {
39	clocks = <&rtcclk>;
40};
41
42&qspi0 {
43	bootph-pre-ram;
44
45	flash@0 {
46		bootph-pre-ram;
47	};
48};
49
50&qspi2 {
51	mmc@0 {
52		bootph-pre-ram;
53	};
54};
55
56&gpio {
57	bootph-pre-ram;
58};
59