blob: fbfe296a03287febf0d65285f4ca29d317d552e2 [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 {
30 u-boot,dm-spl;
31 };
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 Patel88eec612020-05-29 11:33:22 +053062 };
63};
Pragnesh Patel0eed87e2020-05-29 11:33:25 +053064
65&prci {
66 u-boot,dm-spl;
67};
68
69&uart0 {
70 u-boot,dm-spl;
71};
72
73&qspi2 {
74 u-boot,dm-spl;
75};