zephyr/boards/riscv/rv32m1_vega/rv32m1_vega_ri5cy.dts

57 lines
1.1 KiB
Plaintext
Raw Normal View History

/*
* Copyright 2018 Foundries.io Ltd
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include "rv32m1_ri5cy.dtsi"
#include "rv32m1_vega.dtsi"
/ {
model = "OpenISA RV32M1 Vega RI5CY";
compatible = "openisa,rv32m1";
chosen {
zephyr,sram = &m4_dtcm;
zephyr,flash = &m4_flash;
zephyr,console = &lpuart0;
zephyr,shell-uart = &lpuart0;
zephyr,uart-pipe = &lpuart0;
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>;
};
};
};