riscv: dts: canaan: fix the k210's memory node
authorConor Dooley <conor.dooley@microchip.com>
Tue, 5 Jul 2022 21:52:06 +0000 (22:52 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 14 Jul 2022 21:57:41 +0000 (14:57 -0700)
commit465c12749b363e0259a3f50d84ec34261d9ba00e
tree88c5e20b8116628aadd5042df1036e755332d468
parent727b05e46cffd74adca96ca13e57352339875586
riscv: dts: canaan: fix the k210's memory node

The k210 U-Boot port has been using the clocks defined in the
devicetree to bring up the board's SRAM, but this violates the
dt-schema. As such, move the clocks to a dedicated node with
the same compatible string. The regs property does not fit in
either node, so is replaced by comments.

Tested-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220705215213.1802496-6-mail@conchuod.ie
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/canaan/k210.dtsi