]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: dts: microchip: reparent mpfs clocks
authorConor Dooley <conor.dooley@microchip.com>
Wed, 13 Apr 2022 07:58:36 +0000 (08:58 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sat, 23 Apr 2022 01:40:30 +0000 (18:40 -0700)
commitfa0d684554a39a9d0fd4dd9b6ed8e9973f0bbb23
tree8db58490c7768b0b96326050cfb26c34133085dd
parent1dc2d3175d79df04bb01dde5eb281a726583d5b5
riscv: dts: microchip: reparent mpfs clocks

The 600M clock in the fabric is not the real reference, replace it with
a 125M clock which is the correct value for the icicle kit. Rename the
msspllclk node to mssrefclk since this is now the input to, not the
output of, the msspll clock. Control of the msspll clock has been moved
into the clock configurator, so add the register range for it to the clk
configurator. Finally, add a new output of the clock config block which
will provide the 1M reference clock for the MTIMER and the rtc.

Fixes: f76b06d45c80 ("riscv: dts: microchip: add new peripherals to icicle kit device tree")
Fixes: 6b215eb5b39b ("RISC-V: Initial DTS for Microchip ICICLE board")
Reviewed-by: Daire McNamara <daire.mcnamara@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220413075835.3354193-10-conor.dooley@microchip.com
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi