Jagan Teki | 0c2964b | 2020-04-23 22:30:56 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
2 | /* | ||||
3 | * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> | ||||
4 | */ | ||||
5 | |||||
Bin Meng | ced2097 | 2021-05-10 20:23:35 +0800 | [diff] [blame] | 6 | #include "binman.dtsi" |
Pragnesh Patel | 2a449a3 | 2020-05-29 11:33:22 +0530 | [diff] [blame] | 7 | #include "fu540-c000-u-boot.dtsi" |
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 8 | #include "fu540-hifive-unleashed-a00-ddr.dtsi" |
Pragnesh Patel | 2a449a3 | 2020-05-29 11:33:22 +0530 | [diff] [blame] | 9 | |
Jagan Teki | 0c2964b | 2020-04-23 22:30:56 +0530 | [diff] [blame] | 10 | / { |
11 | aliases { | ||||
Sagar Shrikant Kadam | d2b7f84 | 2020-06-28 07:45:00 -0700 | [diff] [blame] | 12 | cpu1 = &cpu1; |
13 | cpu2 = &cpu2; | ||||
14 | cpu3 = &cpu3; | ||||
15 | cpu4 = &cpu4; | ||||
Jagan Teki | 76c8522 | 2020-04-29 21:03:53 +0530 | [diff] [blame] | 16 | spi0 = &qspi0; |
Jagan Teki | 0c2964b | 2020-04-23 22:30:56 +0530 | [diff] [blame] | 17 | spi2 = &qspi2; |
18 | }; | ||||
Pragnesh Patel | b65f19f | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 19 | |
Jagan Teki | 05fb96d | 2020-07-15 15:38:59 +0530 | [diff] [blame] | 20 | config { |
21 | u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */ | ||||
22 | }; | ||||
23 | |||||
Bin Meng | a9e7ec5 | 2020-07-19 23:06:34 -0700 | [diff] [blame] | 24 | memory@80000000 { |
25 | u-boot,dm-spl; | ||||
26 | }; | ||||
27 | |||||
Pragnesh Patel | b65f19f | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 28 | hfclk { |
29 | u-boot,dm-spl; | ||||
30 | }; | ||||
31 | |||||
32 | rtcclk { | ||||
33 | u-boot,dm-spl; | ||||
34 | }; | ||||
35 | |||||
Jagan Teki | 05fb96d | 2020-07-15 15:38:59 +0530 | [diff] [blame] | 36 | }; |
37 | |||||
Sean Anderson | 3d999194 | 2020-09-28 10:52:29 -0400 | [diff] [blame] | 38 | &clint { |
39 | clocks = <&rtcclk>; | ||||
40 | }; | ||||
41 | |||||
Jagan Teki | 05fb96d | 2020-07-15 15:38:59 +0530 | [diff] [blame] | 42 | &qspi0 { |
43 | u-boot,dm-spl; | ||||
44 | |||||
45 | flash@0 { | ||||
46 | u-boot,dm-spl; | ||||
47 | }; | ||||
Pragnesh Patel | b65f19f | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 48 | }; |
49 | |||||
50 | &qspi2 { | ||||
51 | mmc@0 { | ||||
52 | u-boot,dm-spl; | ||||
53 | }; | ||||
Jagan Teki | 0c2964b | 2020-04-23 22:30:56 +0530 | [diff] [blame] | 54 | }; |
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 55 | |
56 | &gpio { | ||||
57 | u-boot,dm-spl; | ||||
58 | }; |