Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
2 | /* | ||||
3 | * Copyright (C) 2020-2021 SiFive, Inc | ||||
4 | */ | ||||
5 | |||||
6 | #include "binman.dtsi" | ||||
7 | #include "fu740-c000-u-boot.dtsi" | ||||
8 | #include "fu740-hifive-unmatched-a00-ddr.dtsi" | ||||
9 | |||||
10 | / { | ||||
11 | aliases { | ||||
12 | spi0 = &spi0; | ||||
13 | }; | ||||
14 | |||||
15 | memory@80000000 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 16 | bootph-pre-ram; |
Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 17 | }; |
18 | |||||
Thomas Skibo | f50fad6 | 2021-11-24 14:32:09 -0800 | [diff] [blame] | 19 | config { |
20 | u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */ | ||||
21 | }; | ||||
22 | |||||
Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 23 | hfclk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 24 | bootph-pre-ram; |
Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 25 | }; |
26 | |||||
27 | rtcclk { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 28 | bootph-pre-ram; |
Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 29 | }; |
30 | |||||
31 | }; | ||||
32 | |||||
33 | &clint { | ||||
34 | clocks = <&rtcclk>; | ||||
35 | }; | ||||
36 | |||||
Thomas Skibo | f50fad6 | 2021-11-24 14:32:09 -0800 | [diff] [blame] | 37 | &qspi0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-pre-ram; |
Thomas Skibo | f50fad6 | 2021-11-24 14:32:09 -0800 | [diff] [blame] | 39 | flash@0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 40 | bootph-pre-ram; |
Thomas Skibo | f50fad6 | 2021-11-24 14:32:09 -0800 | [diff] [blame] | 41 | }; |
42 | }; | ||||
43 | |||||
Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 44 | &spi0 { |
45 | mmc@0 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 46 | bootph-pre-ram; |
Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 47 | }; |
48 | }; | ||||
49 | |||||
50 | &gpio { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 51 | bootph-pre-ram; |
Green Wan | e552af3 | 2021-05-27 06:52:12 -0700 | [diff] [blame] | 52 | }; |