From c75d52d67bfa1568d6ac490224bae44d808b7d52 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Thu, 4 Apr 2019 14:49:56 -0700 Subject: Fixup HiFive Unleashed design.dts - Add stdout-path - Add PMP node - Point tlclk at refclk instead of PRCI Signed-off-by: Nathaniel Graff --- bsp/sifive-hifive-unleashed/design.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bsp') 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>; -- cgit v1.2.3