mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-20 21:19:24 +00:00

replace newly added precise compatible with old one for existed clock device of CV18XX series SoCs. Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Link: https://lore.kernel.org/r/20250504104553.1447819-4-inochiama@gmail.com Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Chen Wang <unicorn_wang@outlook.com> Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
|
|
*/
|
|
|
|
#define SOC_PERIPHERAL_IRQ(nr) ((nr) + 16)
|
|
|
|
#include <dt-bindings/pinctrl/pinctrl-cv1800b.h>
|
|
#include "cv180x-cpus.dtsi"
|
|
#include "cv180x.dtsi"
|
|
|
|
/ {
|
|
compatible = "sophgo,cv1800b";
|
|
|
|
memory@80000000 {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x4000000>;
|
|
};
|
|
|
|
soc {
|
|
interrupt-parent = <&plic>;
|
|
dma-noncoherent;
|
|
|
|
pinctrl: pinctrl@3001000 {
|
|
compatible = "sophgo,cv1800b-pinctrl";
|
|
reg = <0x03001000 0x1000>,
|
|
<0x05027000 0x1000>;
|
|
reg-names = "sys", "rtc";
|
|
};
|
|
|
|
clk: clock-controller@3002000 {
|
|
compatible = "sophgo,cv1800b-clk";
|
|
reg = <0x03002000 0x1000>;
|
|
clocks = <&osc>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
plic: interrupt-controller@70000000 {
|
|
compatible = "sophgo,cv1800b-plic", "thead,c900-plic";
|
|
reg = <0x70000000 0x4000000>;
|
|
interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>;
|
|
interrupt-controller;
|
|
#address-cells = <0>;
|
|
#interrupt-cells = <2>;
|
|
riscv,ndev = <101>;
|
|
};
|
|
|
|
clint: timer@74000000 {
|
|
compatible = "sophgo,cv1800b-clint", "thead,c900-clint";
|
|
reg = <0x74000000 0x10000>;
|
|
interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>;
|
|
};
|
|
};
|
|
};
|