blob: e89b7d01d09544661a3c51a3f86aa0193c3e8af1 [file] [log] [blame]
Jagan Teki0c2964b2020-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 Mengced20972021-05-10 20:23:35 +08006#include "binman.dtsi"
Pragnesh Patel2a449a32020-05-29 11:33:22 +05307#include "fu540-c000-u-boot.dtsi"
Pragnesh Patele00653c2020-05-29 11:33:35 +05308#include "fu540-hifive-unleashed-a00-ddr.dtsi"
Pragnesh Patel2a449a32020-05-29 11:33:22 +05309
Jagan Teki0c2964b2020-04-23 22:30:56 +053010/ {
11 aliases {
Sagar Shrikant Kadamd2b7f842020-06-28 07:45:00 -070012 cpu1 = &cpu1;
13 cpu2 = &cpu2;
14 cpu3 = &cpu3;
15 cpu4 = &cpu4;
Jagan Teki76c85222020-04-29 21:03:53 +053016 spi0 = &qspi0;
Jagan Teki0c2964b2020-04-23 22:30:56 +053017 spi2 = &qspi2;
18 };
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053019
Jagan Teki05fb96d2020-07-15 15:38:59 +053020 config {
21 u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
22 };
23
Bin Menga9e7ec52020-07-19 23:06:34 -070024 memory@80000000 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070025 bootph-pre-ram;
Bin Menga9e7ec52020-07-19 23:06:34 -070026 };
27
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053028 hfclk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-pre-ram;
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053030 };
31
32 rtcclk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053034 };
35
Jagan Teki05fb96d2020-07-15 15:38:59 +053036};
37
Sean Anderson3d9991942020-09-28 10:52:29 -040038&clint {
39 clocks = <&rtcclk>;
40};
41
Jagan Teki05fb96d2020-07-15 15:38:59 +053042&qspi0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Jagan Teki05fb96d2020-07-15 15:38:59 +053044
45 flash@0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-pre-ram;
Jagan Teki05fb96d2020-07-15 15:38:59 +053047 };
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053048};
49
50&qspi2 {
51 mmc@0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070052 bootph-pre-ram;
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053053 };
Jagan Teki0c2964b2020-04-23 22:30:56 +053054};
Pragnesh Patele00653c2020-05-29 11:33:35 +053055
56&gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Pragnesh Patele00653c2020-05-29 11:33:35 +053058};