aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-09-28 10:52:28 -0400
committerAndes <uboot@andestech.com>2020-09-30 08:54:46 +0800
commite89e8983dc6ae36e05694b0991dba78257241606 (patch)
tree793b3dd7fa77fc7ec31879684fc05021f7da0443
parenta952c3a4546ba1d6c5a487cae2e73760ecfd0c60 (diff)
downloadu-boot-e89e8983dc6ae36e05694b0991dba78257241606.zip
u-boot-e89e8983dc6ae36e05694b0991dba78257241606.tar.gz
u-boot-e89e8983dc6ae36e05694b0991dba78257241606.tar.bz2
riscv: Update Kendryte device tree for new CLINT driver
The interrupt controller property is removed from the clint binding because the clint is not an interrupt-controller. That is, no other devices have an interrupt which is controlled by the clint. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Bin Meng <bin.meng@windriver.com>
-rw-r--r--arch/riscv/dts/k210.dtsi7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/riscv/dts/k210.dtsi b/arch/riscv/dts/k210.dtsi
index 2546c7d..84cff51 100644
--- a/arch/riscv/dts/k210.dtsi
+++ b/arch/riscv/dts/k210.dtsi
@@ -17,6 +17,8 @@
compatible = "kendryte,k210";
aliases {
+ cpu0 = &cpu0;
+ cpu1 = &cpu1;
dma0 = &dmac0;
gpio0 = &gpio0;
gpio1 = &gpio1_0;
@@ -126,14 +128,13 @@
read-only;
};
- clint0: interrupt-controller@2000000 {
+ clint0: clint@2000000 {
#interrupt-cells = <1>;
compatible = "kendryte,k210-clint", "riscv,clint0";
reg = <0x2000000 0xC000>;
- interrupt-controller;
interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
<&cpu1_intc 3>, <&cpu1_intc 7>;
- clocks = <&sysclk K210_CLK_CPU>;
+ clocks = <&sysclk K210_CLK_CLINT>;
};
plic0: interrupt-controller@C000000 {