blob: 0d3f7108faa9316fb4c4085c5a1ed100571d0bb1 [file] [log] [blame]
Pragnesh Patel88eec612020-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 Patel0eed87e2020-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 Meng6c6a29c2020-06-08 20:28:25 -070030 u-boot,dm-spl;
Pragnesh Patel0eed87e2020-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 Patel88eec612020-05-29 11:33:22 +053049 soc {
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053050 u-boot,dm-spl;
Pragnesh Patel88eec612020-05-29 11:33:22 +053051 otp: otp@10070000 {
52 compatible = "sifive,fu540-c000-otp";
53 reg = <0x0 0x10070000 0x0 0x0FFF>;
54 fuse-count = <0x1000>;
55 };
Pragnesh Patel0eed87e2020-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 Patelfdf5dba2020-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
66 0x0 0x100b8000 0x0 0x0fff>;
67 clocks = <&prci PRCI_CLK_DDRPLL>;
68 clock-frequency = <933333324>;
69 u-boot,dm-spl;
70 };
Pragnesh Patel88eec612020-05-29 11:33:22 +053071 };
72};
Pragnesh Patel0eed87e2020-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 Patel329e0232020-05-29 11:33:32 +053085
86&eth0 {
87 assigned-clocks = <&prci PRCI_CLK_GEMGXLPLL>;
88 assigned-clock-rates = <125000000>;
89};