Jagan Teki | 0edb066 | 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 | 0784510 | 2021-05-10 20:23:35 +0800 | [diff] [blame] | 6 | #include "binman.dtsi" |
Pragnesh Patel | 88eec61 | 2020-05-29 11:33:22 +0530 | [diff] [blame] | 7 | #include "fu540-c000-u-boot.dtsi" |
Pragnesh Patel | 01cdef2 | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 8 | #include "fu540-hifive-unleashed-a00-ddr.dtsi" |
Pragnesh Patel | 88eec61 | 2020-05-29 11:33:22 +0530 | [diff] [blame] | 9 | |
Jagan Teki | 0edb066 | 2020-04-23 22:30:56 +0530 | [diff] [blame] | 10 | / { |
11 | aliases { | ||||
Sagar Shrikant Kadam | eb75ee4 | 2020-06-28 07:45:00 -0700 | [diff] [blame] | 12 | cpu1 = &cpu1; |
13 | cpu2 = &cpu2; | ||||
14 | cpu3 = &cpu3; | ||||
15 | cpu4 = &cpu4; | ||||
Jagan Teki | 286bcdb | 2020-04-29 21:03:53 +0530 | [diff] [blame] | 16 | spi0 = &qspi0; |
Jagan Teki | 0edb066 | 2020-04-23 22:30:56 +0530 | [diff] [blame] | 17 | spi2 = &qspi2; |
18 | }; | ||||
Pragnesh Patel | 0eed87e | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 19 | |
Jagan Teki | 4243ff1 | 2020-07-15 15:38:59 +0530 | [diff] [blame] | 20 | config { |
21 | u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */ | ||||
22 | }; | ||||
23 | |||||
Bin Meng | 142dd57 | 2020-07-19 23:06:34 -0700 | [diff] [blame] | 24 | memory@80000000 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 25 | bootph-pre-ram; |
Bin Meng | 142dd57 | 2020-07-19 23:06:34 -0700 | [diff] [blame] | 26 | }; |
27 | |||||
Pragnesh Patel | 0eed87e | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 28 | hfclk { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-pre-ram; |
Pragnesh Patel | 0eed87e | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 30 | }; |
31 | |||||
32 | rtcclk { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-pre-ram; |
Pragnesh Patel | 0eed87e | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 34 | }; |
35 | |||||
36 | }; | ||||
37 | |||||
Sean Anderson | 422c3c5 | 2020-09-28 10:52:29 -0400 | [diff] [blame] | 38 | &clint { |
39 | clocks = <&rtcclk>; | ||||
40 | }; | ||||
41 | |||||
Jagan Teki | 4243ff1 | 2020-07-15 15:38:59 +0530 | [diff] [blame] | 42 | &qspi0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-pre-ram; |
Jagan Teki | 4243ff1 | 2020-07-15 15:38:59 +0530 | [diff] [blame] | 44 | |
45 | flash@0 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 46 | bootph-pre-ram; |
Jagan Teki | 4243ff1 | 2020-07-15 15:38:59 +0530 | [diff] [blame] | 47 | }; |
48 | }; | ||||
49 | |||||
Pragnesh Patel | 0eed87e | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 50 | &qspi2 { |
51 | mmc@0 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 52 | bootph-pre-ram; |
Pragnesh Patel | 0eed87e | 2020-05-29 11:33:25 +0530 | [diff] [blame] | 53 | }; |
Jagan Teki | 0edb066 | 2020-04-23 22:30:56 +0530 | [diff] [blame] | 54 | }; |
Pragnesh Patel | 01cdef2 | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 55 | |
56 | &gpio { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 57 | bootph-pre-ram; |
Pragnesh Patel | 01cdef2 | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 58 | }; |