blob: afdb4f4402ecf87caa7eca2d51962dae8ff1d0f0 [file] [log] [blame]
Pragnesh Patel2a449a32020-05-29 11:33:22 +05301// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * (C) Copyright 2019 SiFive, Inc
4 */
5
6/ {
Pragnesh Patelb65f19f2020-05-29 11:33:25 +05307 cpus {
8 assigned-clocks = <&prci PRCI_CLK_COREPLL>;
9 assigned-clock-rates = <1000000000>;
10 u-boot,dm-spl;
11 cpu0: cpu@0 {
12 clocks = <&prci PRCI_CLK_COREPLL>;
13 u-boot,dm-spl;
14 status = "okay";
15 cpu0_intc: interrupt-controller {
16 u-boot,dm-spl;
17 };
18 };
19 cpu1: cpu@1 {
20 clocks = <&prci PRCI_CLK_COREPLL>;
21 u-boot,dm-spl;
22 cpu1_intc: interrupt-controller {
23 u-boot,dm-spl;
24 };
25 };
26 cpu2: cpu@2 {
27 clocks = <&prci PRCI_CLK_COREPLL>;
28 u-boot,dm-spl;
29 cpu2_intc: interrupt-controller {
Bin Menge3870c82020-06-08 20:28:25 -070030 u-boot,dm-spl;
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053031 };
32 };
33 cpu3: cpu@3 {
34 clocks = <&prci PRCI_CLK_COREPLL>;
35 u-boot,dm-spl;
36 cpu3_intc: interrupt-controller {
37 u-boot,dm-spl;
38 };
39 };
40 cpu4: cpu@4 {
41 clocks = <&prci PRCI_CLK_COREPLL>;
42 u-boot,dm-spl;
43 cpu4_intc: interrupt-controller {
44 u-boot,dm-spl;
45 };
46 };
47 };
48
Pragnesh Patel2a449a32020-05-29 11:33:22 +053049 soc {
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053050 u-boot,dm-spl;
Pragnesh Patel2a449a32020-05-29 11:33:22 +053051 otp: otp@10070000 {
52 compatible = "sifive,fu540-c000-otp";
Bin Meng3961e142020-06-08 20:28:26 -070053 reg = <0x0 0x10070000 0x0 0x1000>;
Pragnesh Patel2a449a32020-05-29 11:33:22 +053054 fuse-count = <0x1000>;
55 };
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053056 clint@2000000 {
57 compatible = "riscv,clint0";
58 interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7 &cpu1_intc 3 &cpu1_intc 7 &cpu2_intc 3 &cpu2_intc 7 &cpu3_intc 3 &cpu3_intc 7 &cpu4_intc 3 &cpu4_intc 7>;
59 reg = <0x0 0x2000000 0x0 0xc0000>;
60 u-boot,dm-spl;
61 };
Pragnesh Patel45ffc912020-05-29 11:33:28 +053062 dmc: dmc@100b0000 {
63 compatible = "sifive,fu540-c000-ddr";
64 reg = <0x0 0x100b0000 0x0 0x0800
65 0x0 0x100b2000 0x0 0x2000
Bin Meng3961e142020-06-08 20:28:26 -070066 0x0 0x100b8000 0x0 0x1000>;
Pragnesh Patel45ffc912020-05-29 11:33:28 +053067 clocks = <&prci PRCI_CLK_DDRPLL>;
68 clock-frequency = <933333324>;
69 u-boot,dm-spl;
70 };
Pragnesh Patel2a449a32020-05-29 11:33:22 +053071 };
72};
Pragnesh Patelb65f19f2020-05-29 11:33:25 +053073
74&prci {
75 u-boot,dm-spl;
76};
77
78&uart0 {
79 u-boot,dm-spl;
80};
81
82&qspi2 {
83 u-boot,dm-spl;
84};
Pragnesh Patelbb337f92020-05-29 11:33:32 +053085
86&eth0 {
87 assigned-clocks = <&prci PRCI_CLK_GEMGXLPLL>;
88 assigned-clock-rates = <125000000>;
89};
Pragnesh Patel8a521282020-05-29 12:14:51 +053090
91&l2cache {
92 status = "okay";
93};