~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: e89b7d01d09544661a3c51a3f86aa0193c3e8af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
 */

#include "binman.dtsi"
#include "fu540-c000-u-boot.dtsi"
#include "fu540-hifive-unleashed-a00-ddr.dtsi"

/ {
	aliases {
		cpu1 = &cpu1;
		cpu2 = &cpu2;
		cpu3 = &cpu3;
		cpu4 = &cpu4;
		spi0 = &qspi0;
		spi2 = &qspi2;
	};

	config {
		u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
	};

	memory@80000000 {
		bootph-pre-ram;
	};

	hfclk {
		bootph-pre-ram;
	};

	rtcclk {
		bootph-pre-ram;
	};

};

&clint {
	clocks = <&rtcclk>;
};

&qspi0 {
	bootph-pre-ram;

	flash@0 {
		bootph-pre-ram;
	};
};

&qspi2 {
	mmc@0 {
		bootph-pre-ram;
	};
};

&gpio {
	bootph-pre-ram;
};