Files
Linux_Drivers/opensbi/platform/kendryte/k210/k210.dts
sam.xiang 93f81bd490 [opensbi] create opensbi from T-Head official:
repo: https://github.com/T-head-Semi/opensbi
	commit: 89182b257c8798e15e4c685c1af0c2862d528d2a

Change-Id: I7b39d66729e0108661a6f4c9e28acbdb303684ea
2023-03-10 20:30:16 +08:00

71 lines
1.5 KiB
Plaintext

/*
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2019 Western Digital Corporation or its affiliates.
*
* Authors:
* Damien Le Moal <damien.lemoal@wdc.com>
*/
/dts-v1/;
/ {
#address-cells = <2>;
#size-cells = <2>;
compatible = "kendryte,k210";
chosen {
bootargs = "console=hvc0 earlycon=sbi";
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
device_type = "cpu";
clock-frequency = <390000000>;
i-cache-size = <32768>;
d-cache-size = <32768>;
mmu-type = "none";
reg = <0>;
riscv,isa = "rv64imafdc";
status = "okay";
cpu0_intc: interrupt-controller {
#interrupt-cells = <1>;
compatible = "riscv,cpu-intc";
interrupt-controller;
};
};
cpu1: cpu@1 {
device_type = "cpu";
clock-frequency = <390000000>;
d-cache-size = <32768>;
i-cache-size = <32768>;
mmu-type = "none";
reg = <1>;
riscv,isa = "rv64imafdc";
status = "okay";
cpu1_intc: interrupt-controller {
#interrupt-cells = <1>;
compatible = "riscv,cpu-intc";
interrupt-controller;
};
};
};
memory@80000000 {
/* Bank 0: 4 MB, Bank 1: 2 MB, AI chip SRAM: 2MB */
device_type = "memory";
reg = <0x00000000 0x80000000 0x00000000 0x00800000>;
};
plic0: interrupt-controller@C000000 {
#interrupt-cells = <1>;
compatible = "riscv,plic0";
interrupt-controller;
interrupts-extended =
<&cpu0_intc 11 &cpu0_intc 9
&cpu1_intc 11 &cpu1_intc 9>;
reg = <0x0 0xc000000 0x0 0x4000000>;
};
};