blob: e89b7d01d09544661a3c51a3f86aa0193c3e8af1 [file] [log] [blame]
Jagan Teki0edb0662020-04-23 22:30:56 +05301// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
4 */
5
Bin Meng07845102021-05-10 20:23:35 +08006#include "binman.dtsi"
Pragnesh Patel88eec612020-05-29 11:33:22 +05307#include "fu540-c000-u-boot.dtsi"
Pragnesh Patel01cdef22020-05-29 11:33:35 +05308#include "fu540-hifive-unleashed-a00-ddr.dtsi"
Pragnesh Patel88eec612020-05-29 11:33:22 +05309
Jagan Teki0edb0662020-04-23 22:30:56 +053010/ {
11 aliases {
Sagar Shrikant Kadameb75ee42020-06-28 07:45:00 -070012 cpu1 = &cpu1;
13 cpu2 = &cpu2;
14 cpu3 = &cpu3;
15 cpu4 = &cpu4;
Jagan Teki286bcdb2020-04-29 21:03:53 +053016 spi0 = &qspi0;
Jagan Teki0edb0662020-04-23 22:30:56 +053017 spi2 = &qspi2;
18 };
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053019
Jagan Teki4243ff12020-07-15 15:38:59 +053020 config {
21 u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
22 };
23
Bin Meng142dd572020-07-19 23:06:34 -070024 memory@80000000 {
Simon Glass8c103c32023-02-13 08:56:33 -070025 bootph-pre-ram;
Bin Meng142dd572020-07-19 23:06:34 -070026 };
27
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053028 hfclk {
Simon Glass8c103c32023-02-13 08:56:33 -070029 bootph-pre-ram;
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053030 };
31
32 rtcclk {
Simon Glass8c103c32023-02-13 08:56:33 -070033 bootph-pre-ram;
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053034 };
35
36};
37
Sean Anderson422c3c52020-09-28 10:52:29 -040038&clint {
39 clocks = <&rtcclk>;
40};
41
Jagan Teki4243ff12020-07-15 15:38:59 +053042&qspi0 {
Simon Glass8c103c32023-02-13 08:56:33 -070043 bootph-pre-ram;
Jagan Teki4243ff12020-07-15 15:38:59 +053044
45 flash@0 {
Simon Glass8c103c32023-02-13 08:56:33 -070046 bootph-pre-ram;
Jagan Teki4243ff12020-07-15 15:38:59 +053047 };
48};
49
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053050&qspi2 {
51 mmc@0 {
Simon Glass8c103c32023-02-13 08:56:33 -070052 bootph-pre-ram;
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053053 };
Jagan Teki0edb0662020-04-23 22:30:56 +053054};
Pragnesh Patel01cdef22020-05-29 11:33:35 +053055
56&gpio {
Simon Glass8c103c32023-02-13 08:56:33 -070057 bootph-pre-ram;
Pragnesh Patel01cdef22020-05-29 11:33:35 +053058};