diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-09-16 16:59:41 +0900 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-09-19 13:20:14 -0700 |
commit | f025d9d9934b84cd03b7796072d10686029c408e (patch) | |
tree | f0cda442e01447d30cd9ad1e16f81588f42d67ca /arch/riscv/include | |
parent | 21190b74bcf3a36ebab9a715088c29f59877e1f3 (diff) | |
download | linux-f025d9d9934b84cd03b7796072d10686029c408e.tar.gz linux-f025d9d9934b84cd03b7796072d10686029c408e.tar.bz2 linux-f025d9d9934b84cd03b7796072d10686029c408e.zip |
riscv: Fix Kendryte K210 device tree
The Kendryte K210 SoC CLINT is compatible with Sifive clint v0
(sifive,clint0). Fix the Kendryte K210 device tree clint entry to be
inline with the sifive timer definition documented in
Documentation/devicetree/bindings/timer/sifive,clint.yaml.
The device tree clint entry is renamed similarly to u-boot device tree
definition to improve compatibility with u-boot defined device tree.
To ensure correct initialization, the interrup-cells attribute is added
and the interrupt-extended attribute definition fixed.
This fixes boot failures with Kendryte K210 SoC boards.
Note that the clock referenced is kept as K210_CLK_ACLK, which does not
necessarilly match the clint MTIME increment rate. This however does not
seem to cause any problem for now.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/include')
0 files changed, 0 insertions, 0 deletions