ElemRV-N is an end-to-end open-source microcontroller. This patch adds basic support for the platform with any interfaces. They will be added later since drivers are missing completly. Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
50 lines
818 B
Text
50 lines
818 B
Text
/*
|
|
* Copyright (C) 2025 Aesc Silicon
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <aesc/elemrv-n.dtsi>
|
|
|
|
/ {
|
|
model = "ElemRV-N";
|
|
compatible = "aesc,elemrv-n";
|
|
|
|
chosen {
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
zephyr,sram = &hyperbus;
|
|
zephyr,flash = &flash;
|
|
};
|
|
|
|
soc {
|
|
ocram: memory@80000000 {
|
|
device_type = "memory";
|
|
compatible = "mmio-sram";
|
|
reg = <0x80000000 DT_SIZE_K(1)>;
|
|
};
|
|
|
|
hyperbus: memory@90000000 {
|
|
device_type = "memory";
|
|
compatible = "mmio-sram";
|
|
reg = <0x90000000 DT_SIZE_K(32)>;
|
|
};
|
|
|
|
flash: flash@a0010000 {
|
|
compatible = "soc-nv-flash";
|
|
reg = <0xa0010000 DT_SIZE_K(32)>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
clock-frequency = <DT_FREQ_M(20)>;
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&cpu0 {
|
|
clock-frequency = <DT_FREQ_M(20)>;
|
|
};
|