~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 39d62776c7c9b19b7e7c2e832d5add67d4f7a1fa (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
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright (C) 2020-2021 SiFive, Inc
 */

#include "binman.dtsi"
#include "fu740-c000-u-boot.dtsi"
#include "fu740-hifive-unmatched-a00-ddr.dtsi"

/ {
	aliases {
		spi0 = &spi0;
	};

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

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

	hfclk {
		bootph-pre-ram;
	};

	rtcclk {
		bootph-pre-ram;
	};

};

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

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

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

&gpio {
	bootph-pre-ram;
};