zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
Cheryl Su 968dd2107b boards/riscv: add new riscv platform-it8xxx2
We create a new platform for our chip series it8xxx2.
It is a riscv base soc.

Signed-off-by: Cheryl Su <cheryl.su@ite.com.tw>
2020-12-16 08:47:36 -05:00

66 lines
1.2 KiB
Plaintext

/*
* Copyright (c) ITE, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <it8xxx2.dtsi>
/ {
model = "IT8XXX2 EV-Board";
compatible = "riscv, it8xxx2_evb";
chosen {
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
zephyr,bt-uart = &uart2;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,flash-controller = &flashctrl;
zephyr,code-partition = &slot0_partition;
};
};
&gpiob {
status = "okay";
};
&gpiof {
status = "okay";
};
&uart1 {
status = "okay";
current-speed = <115200>;
clock-frequency = <1804800>;
};
&uart2 {
status = "okay";
current-speed = <460800>;
clock-frequency = <1804800>;
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x20000>;
};
slot0_partition: partition@20000 {
label = "image-0";
reg = <0x00020000 0x20000>;
};
slot1_partition: partition@40000 {
label = "image-1";
reg = <0x00040000 0x10000>;
};
scratch_partition: partition@50000 {
label = "image-scratch";
reg = <0x00050000 0x10000>;
};
storage_partition: partition@60000 {
label = "storage";
reg = <0x00060000 0x20000>;
};
};
};