dt-bindings: update risc-v cpu properties
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 10 Feb 2021 05:02:17 +0000 (14:02 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 23 Feb 2021 01:51:07 +0000 (17:51 -0800)
commit7ef71c719eb462edaa6078405654d2447c7a5488
treea8fb2206ac860afbd2e83bb65b6ccd1123ab2c91
parent11481d6b5783fe4b6a6ba2870e49da4b4ebb2259
dt-bindings: update risc-v cpu properties

The Canaan Kendryte K210 SoC CPU cores are based on a rocket chip
version using a draft verion of the RISC-V ISA specifications. To avoid
any confusion with CPU cores using stable specifications, add the
compatible string "canaan,k210" for this SoC CPU cores.

Also add the "riscv,none" value to the mmu-type property to allow a DT
to indicate that the CPU being described does not have an MMU or that
it has an MMU that is not usable (which is the case for the K210 SoC).

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Documentation/devicetree/bindings/riscv/cpus.yaml