summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-04-04 14:49:56 -0700
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-04-12 13:47:41 -0700
commitc75d52d67bfa1568d6ac490224bae44d808b7d52 (patch)
treedafe28ea383840932955d1baa5252a43c69304c6
parent4be70b922c864c682135d5c66743b6b4c6a51c8f (diff)
Fixup HiFive Unleashed design.dts
- Add stdout-path - Add PMP node - Point tlclk at refclk instead of PRCI Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
-rw-r--r--bsp/sifive-hifive-unleashed/design.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/bsp/sifive-hifive-unleashed/design.dts b/bsp/sifive-hifive-unleashed/design.dts
index ddad3e2..ee6897f 100644
--- a/bsp/sifive-hifive-unleashed/design.dts
+++ b/bsp/sifive-hifive-unleashed/design.dts
@@ -12,6 +12,7 @@
};
chosen {
+ stdout-path = "/soc/serial@10010000:115200";
};
firmware {
@@ -159,6 +160,10 @@
#size-cells = <2>;
compatible = "SiFive,FU540G-soc", "fu500-soc", "sifive-soc", "simple-bus";
ranges;
+ pmp: pmp@0 {
+ compatible = "riscv,pmp";
+ regions = <1>;
+ };
refclk: refclk {
#clock-cells = <0>;
compatible = "fixed-clock";
@@ -174,7 +179,7 @@
};
tlclk: tlclk {
compatible = "fixed-factor-clock";
- clocks = <&prci 0>;
+ clocks = <&refclk>;
#clock-cells = <0>;
clock-div = <2>;
clock-mult = <1>;