2018-11-29 05:23:51 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2018 Foundries.io Ltd
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "rv32m1_ri5cy.dtsi"
|
2019-04-18 04:37:28 +08:00
|
|
|
#include "rv32m1_vega.dtsi"
|
2018-11-29 05:23:51 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "OpenISA RV32M1 Vega RI5CY";
|
|
|
|
compatible = "openisa,rv32m1";
|
|
|
|
|
|
|
|
chosen {
|
2019-05-07 01:50:48 +08:00
|
|
|
zephyr,sram = &m4_dtcm;
|
2019-05-23 21:24:04 +08:00
|
|
|
zephyr,flash = &m4_flash;
|
2020-04-02 21:37:21 +08:00
|
|
|
zephyr,console = &lpuart0;
|
|
|
|
zephyr,shell-uart = &lpuart0;
|
|
|
|
zephyr,uart-pipe = &lpuart0;
|
2019-05-23 21:24:04 +08:00
|
|
|
zephyr,code-partition = &slot0_partition;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&m4_flash {
|
|
|
|
/*
|
|
|
|
* For more information, see:
|
|
|
|
* http://docs.zephyrproject.org/latest/guides/dts/index.html
|
|
|
|
*/
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
slot0_partition: partition@0 {
|
|
|
|
label = "image-0";
|
|
|
|
reg = <0x00000000 0x000069000>;
|
|
|
|
};
|
|
|
|
slot1_partition: partition@69000 {
|
|
|
|
label = "image-1";
|
|
|
|
reg = <0x00069000 0x000069000>;
|
|
|
|
};
|
|
|
|
scratch_partition: partition@d2000 {
|
|
|
|
label = "image-scratch";
|
|
|
|
reg = <0x000d2000 0x0001e000>;
|
|
|
|
};
|
|
|
|
storage_partition: partition@f0000 {
|
|
|
|
label = "storage";
|
|
|
|
reg = <0x000f0000 0x00004000>;
|
|
|
|
};
|
|
|
|
boot_partition: partition@f4000 {
|
|
|
|
label = "mcuboot";
|
|
|
|
reg = <0x000f4000 0x0000C000>;
|
|
|
|
};
|
2018-11-29 05:23:51 +08:00
|
|
|
};
|
2019-04-03 23:21:51 +08:00
|
|
|
};
|