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