From patchwork Sat May 2 10:06:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pragnesh Patel X-Patchwork-Id: 244791 List-Id: U-Boot discussion From: pragnesh.patel at sifive.com (Pragnesh Patel) Date: Sat, 2 May 2020 15:36:19 +0530 Subject: [PATCH v7 15/22] riscv: sifive: dts: fu540: Add clock for cpus node In-Reply-To: <20200502100628.24809-1-pragnesh.patel@sifive.com> References: <20200502100628.24809-1-pragnesh.patel@sifive.com> Message-ID: <20200502100628.24809-16-pragnesh.patel@sifive.com> Add clock-frequency and clocks in cpus node, so that clock will be enabled by cpu driver. Signed-off-by: Pragnesh Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- 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;