[PATCH v7 15/22] riscv: sifive: dts: fu540: Add clock for cpus node
Pragnesh Patel
pragnesh.patel at sifive.com
Sat May 2 12:06:19 CEST 2020
Add clock-frequency and clocks in cpus node, so that
clock will be enabled by cpu driver.
Signed-off-by: Pragnesh Patel <pragnesh.patel at sifive.com>
---
arch/riscv/dts/fu540-c000-u-boot.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/dts/fu540-c000-u-boot.dtsi b/arch/riscv/dts/fu540-c000-u-boot.dtsi
index e93b8a9bcf..ab697ab93c 100644
--- a/arch/riscv/dts/fu540-c000-u-boot.dtsi
+++ b/arch/riscv/dts/fu540-c000-u-boot.dtsi
@@ -7,6 +7,8 @@
cpus {
u-boot,dm-spl;
cpu0: cpu at 0 {
+ clocks = <&prci PRCI_CLK_COREPLL>;
+ clock-frequency = <1000000000>;
u-boot,dm-spl;
status = "okay";
cpu0_intc: interrupt-controller {
@@ -14,24 +16,32 @@
};
};
cpu1: cpu at 1 {
+ clocks = <&prci PRCI_CLK_COREPLL>;
+ clock-frequency = <1000000000>;
u-boot,dm-spl;
cpu1_intc: interrupt-controller {
u-boot,dm-spl;
};
};
cpu2: cpu at 2 {
+ clocks = <&prci PRCI_CLK_COREPLL>;
+ clock-frequency = <1000000000>;
u-boot,dm-spl;
cpu2_intc: interrupt-controller {
u-boot,dm-spl;
};
};
cpu3: cpu at 3 {
+ clocks = <&prci PRCI_CLK_COREPLL>;
+ clock-frequency = <1000000000>;
u-boot,dm-spl;
cpu3_intc: interrupt-controller {
u-boot,dm-spl;
};
};
cpu4: cpu at 4 {
+ clocks = <&prci PRCI_CLK_COREPLL>;
+ clock-frequency = <1000000000>;
u-boot,dm-spl;
cpu4_intc: interrupt-controller {
u-boot,dm-spl;
--
2.17.1
More information about the U-Boot
mailing list