dts: riscv: Add aesc
ElemRV-N is based on the nitrogen SoC platform. Add the base nitrogen device-tree and one for elemrv-n. The elemrv-n device-tree will contain all IP cores later. Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
This commit is contained in:
parent
86b31465f4
commit
2120b82ec9
2 changed files with 73 additions and 0 deletions
25
dts/riscv/aesc/elemrv-n.dtsi
Normal file
25
dts/riscv/aesc/elemrv-n.dtsi
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Copyright (c) 2025 Aesc Silicon
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <aesc/nitrogen.dtsi>
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "aesc,elemrv-n-soc", "simple-bus";
|
||||
ranges;
|
||||
|
||||
uart0: uart0@f0006000 {
|
||||
compatible = "aesc,uart";
|
||||
reg = <0xf0006000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
48
dts/riscv/aesc/nitrogen.dtsi
Normal file
48
dts/riscv/aesc/nitrogen.dtsi
Normal file
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Copyright (c) 2025 Aesc Silicon
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/dt-bindings/gpio/gpio.h>
|
||||
#include <freq.h>
|
||||
#include <mem.h>
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu0: cpu@0 {
|
||||
compatible = "litex,vexriscv-standard";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
riscv,isa = "rv32imc";
|
||||
status = "okay";
|
||||
|
||||
hlic: interrupt-controller {
|
||||
compatible = "riscv,cpu-intc";
|
||||
#address-cells = <0>;
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-controller;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "aesc,nitrogen-soc", "simple-bus";
|
||||
ranges;
|
||||
|
||||
mtimer: machine-timer@f0020000 {
|
||||
compatible = "riscv,machine-timer";
|
||||
reg = <0xf0020000 0x8 0xf0020008 0x8>;
|
||||
interrupts-extended = <&hlic 7>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue