boards: renesas: Add Flash HP support for Renesas RA6, RA4

- Add Flash HP support for ek_ra6m1, ek_ra6m2, ek_ra6m3, ek_ra6m4,
ek_ra6m5, ek_ra6e2, fpb_ra6e1, fpb_ra6e2, ek_ra4e2, ek_ra4m2,
ek_ra4m3
- Add doc about Flash for these boards

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Signed-off-by: Phi Tran <phi.tran.jg@bp.renesas.com>
This commit is contained in:
Khoa Nguyen 2024-11-19 16:27:14 +07:00 committed by Henrik Brix Andersen
parent e20e0c8c1b
commit 606bfc6cc2
21 changed files with 152 additions and 33 deletions

View file

@ -106,6 +106,8 @@ The below features are currently supported on Zephyr OS for EK-RA4E2 board:
+-----------+------------+----------------------+
| ENTROPY | on-chip | entropy |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -17,6 +17,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
@ -167,3 +168,16 @@
&trng {
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(4)>;
};
};
};

View file

@ -108,6 +108,8 @@ The below features are currently supported on Zephyr OS for EK-RA4M2 board:
+-----------+------------+----------------------+
| I2C | on-chip | i2c |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -17,6 +17,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
@ -135,3 +136,16 @@
interrupt-names = "rxi", "txi", "tei", "eri";
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(8)>;
};
};
};

View file

@ -110,6 +110,8 @@ The below features are currently supported on Zephyr OS for EK-RA4M3 board:
+-----------+------------+----------------------+
| I2C | on-chip | i2c |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -17,6 +17,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
@ -135,3 +136,16 @@
interrupt-names = "rxi", "txi", "tei", "eri";
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(8)>;
};
};
};

View file

@ -106,6 +106,8 @@ The below features are currently supported on Zephyr OS for EK-RA6E2 board:
+-----------+------------+----------------------+
| ENTROPY | on-chip | entropy |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -18,6 +18,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
@ -98,24 +99,6 @@
status = "okay";
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
boot_partition: partition@0 {
label = "application";
reg = <0x00000000 DT_SIZE_K(128)>;
};
storage_partition: partition@20000 {
label = "storage";
reg = <0x20000 DT_SIZE_K(128)>;
};
};
};
&xtal {
clock-frequency = <DT_FREQ_M(20)>;
mosel = <0>;
@ -182,3 +165,16 @@
&trng {
status ="okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(4)>;
};
};
};

View file

@ -104,6 +104,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M1 board:
+-----------+------------+----------------------+
| PWM | on-chip | pwm |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -18,6 +18,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart8;
zephyr,shell-uart = &uart8;
@ -122,3 +123,16 @@
interrupt-names = "gtioca", "overflow";
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(8)>;
};
};
};

View file

@ -98,6 +98,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M2 board:
+-----------+------------+----------------------+
| PWM | on-chip | pwm |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -18,6 +18,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart7;
zephyr,shell-uart = &uart7;
@ -118,3 +119,16 @@
interrupt-names = "gtioca", "overflow";
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(32)>;
};
};
};

View file

@ -108,6 +108,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M3 board:
+-----------+------------+----------------------+
| PWM | on-chip | pwm |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -20,6 +20,7 @@
zephyr,sram = &sram0;
zephyr,console = &uart8;
zephyr,shell-uart = &uart8;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,entropy = &trng;
};
@ -159,3 +160,16 @@
interrupt-names = "gtioca", "overflow";
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(64)>;
};
};
};

View file

@ -111,6 +111,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M4 board:
+-----------+------------+----------------------+
| PWM | on-chip | pwm |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -18,6 +18,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
@ -142,3 +143,16 @@
interrupt-names = "gtioca", "overflow";
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(8)>;
};
};
};

View file

@ -111,6 +111,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M5 board:
+-----------+------------+----------------------+
| PWM | on-chip | pwm |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -18,6 +18,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
@ -146,3 +147,16 @@
interrupt-names = "gtioca", "overflow";
status = "okay";
};
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0X0 DT_SIZE_K(8)>;
};
};
};

View file

@ -18,6 +18,7 @@
chosen {
zephyr,sram = &sram0;
zephyr,flash-controller = &flash1;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
@ -96,20 +97,15 @@
status = "okay";
};
&flash0 {
&flash1 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
boot_partition: partition@0 {
label = "application";
reg = <0x00000000 DT_SIZE_K(512)>;
};
storage_partition: partition@80000 {
storage_partition: partition@0 {
label = "storage";
reg = <0x80000 DT_SIZE_K(512)>;
reg = <0X0 DT_SIZE_K(8)>;
};
};
};

View file

@ -93,6 +93,8 @@ The below features are currently supported on Zephyr OS for FPB-RA6E2 board:
+-----------+------------+----------------------+
| ENTROPY | on-chip | entropy |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
Other hardware features are currently not supported by the port.

View file

@ -82,14 +82,9 @@
#address-cells = <1>;
#size-cells = <1>;
boot_partition: partition@0 {
label = "application";
reg = <0x00000000 DT_SIZE_K(128)>;
};
storage_partition: partition@20000 {
storage_partition: partition@0 {
label = "storage";
reg = <0x20000 DT_SIZE_K(128)>;
reg = <0X0 DT_SIZE_K(4)>;
};
};
};