Skip to content

Commit 606bfc6

Browse files
khoa-nguyen-18henrikbrixandersen
authored andcommitted
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 <[email protected]> Signed-off-by: Phi Tran <[email protected]>
1 parent e20e0c8 commit 606bfc6

File tree

21 files changed

+152
-33
lines changed

21 files changed

+152
-33
lines changed

boards/renesas/ek_ra4e2/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ The below features are currently supported on Zephyr OS for EK-RA4E2 board:
106106
+-----------+------------+----------------------+
107107
| ENTROPY | on-chip | entropy |
108108
+-----------+------------+----------------------+
109+
| FLASH | on-chip | flash |
110+
+-----------+------------+----------------------+
109111

110112
Other hardware features are currently not supported by the port.
111113

boards/renesas/ek_ra4e2/ek_ra4e2.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
chosen {
1919
zephyr,sram = &sram0;
20+
zephyr,flash-controller = &flash1;
2021
zephyr,flash = &flash0;
2122
zephyr,console = &uart0;
2223
zephyr,shell-uart = &uart0;
@@ -167,3 +168,16 @@
167168
&trng {
168169
status = "okay";
169170
};
171+
172+
&flash1 {
173+
partitions {
174+
compatible = "fixed-partitions";
175+
#address-cells = <1>;
176+
#size-cells = <1>;
177+
178+
storage_partition: partition@0 {
179+
label = "storage";
180+
reg = <0X0 DT_SIZE_K(4)>;
181+
};
182+
};
183+
};

boards/renesas/ek_ra4m2/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ The below features are currently supported on Zephyr OS for EK-RA4M2 board:
108108
+-----------+------------+----------------------+
109109
| I2C | on-chip | i2c |
110110
+-----------+------------+----------------------+
111+
| FLASH | on-chip | flash |
112+
+-----------+------------+----------------------+
111113

112114
Other hardware features are currently not supported by the port.
113115

boards/renesas/ek_ra4m2/ek_ra4m2.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
chosen {
1919
zephyr,sram = &sram0;
20+
zephyr,flash-controller = &flash1;
2021
zephyr,flash = &flash0;
2122
zephyr,console = &uart0;
2223
zephyr,shell-uart = &uart0;
@@ -135,3 +136,16 @@
135136
interrupt-names = "rxi", "txi", "tei", "eri";
136137
status = "okay";
137138
};
139+
140+
&flash1 {
141+
partitions {
142+
compatible = "fixed-partitions";
143+
#address-cells = <1>;
144+
#size-cells = <1>;
145+
146+
storage_partition: partition@0 {
147+
label = "storage";
148+
reg = <0X0 DT_SIZE_K(8)>;
149+
};
150+
};
151+
};

boards/renesas/ek_ra4m3/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ The below features are currently supported on Zephyr OS for EK-RA4M3 board:
110110
+-----------+------------+----------------------+
111111
| I2C | on-chip | i2c |
112112
+-----------+------------+----------------------+
113+
| FLASH | on-chip | flash |
114+
+-----------+------------+----------------------+
113115

114116
Other hardware features are currently not supported by the port.
115117

boards/renesas/ek_ra4m3/ek_ra4m3.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
chosen {
1919
zephyr,sram = &sram0;
20+
zephyr,flash-controller = &flash1;
2021
zephyr,flash = &flash0;
2122
zephyr,console = &uart0;
2223
zephyr,shell-uart = &uart0;
@@ -135,3 +136,16 @@
135136
interrupt-names = "rxi", "txi", "tei", "eri";
136137
status = "okay";
137138
};
139+
140+
&flash1 {
141+
partitions {
142+
compatible = "fixed-partitions";
143+
#address-cells = <1>;
144+
#size-cells = <1>;
145+
146+
storage_partition: partition@0 {
147+
label = "storage";
148+
reg = <0X0 DT_SIZE_K(8)>;
149+
};
150+
};
151+
};

boards/renesas/ek_ra6e2/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ The below features are currently supported on Zephyr OS for EK-RA6E2 board:
106106
+-----------+------------+----------------------+
107107
| ENTROPY | on-chip | entropy |
108108
+-----------+------------+----------------------+
109+
| FLASH | on-chip | flash |
110+
+-----------+------------+----------------------+
109111

110112
Other hardware features are currently not supported by the port.
111113

boards/renesas/ek_ra6e2/ek_ra6e2.dts

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
chosen {
2020
zephyr,sram = &sram0;
21+
zephyr,flash-controller = &flash1;
2122
zephyr,flash = &flash0;
2223
zephyr,console = &uart0;
2324
zephyr,shell-uart = &uart0;
@@ -98,24 +99,6 @@
9899
status = "okay";
99100
};
100101

101-
&flash0 {
102-
partitions {
103-
compatible = "fixed-partitions";
104-
#address-cells = <1>;
105-
#size-cells = <1>;
106-
107-
boot_partition: partition@0 {
108-
label = "application";
109-
reg = <0x00000000 DT_SIZE_K(128)>;
110-
};
111-
112-
storage_partition: partition@20000 {
113-
label = "storage";
114-
reg = <0x20000 DT_SIZE_K(128)>;
115-
};
116-
};
117-
};
118-
119102
&xtal {
120103
clock-frequency = <DT_FREQ_M(20)>;
121104
mosel = <0>;
@@ -182,3 +165,16 @@
182165
&trng {
183166
status ="okay";
184167
};
168+
169+
&flash1 {
170+
partitions {
171+
compatible = "fixed-partitions";
172+
#address-cells = <1>;
173+
#size-cells = <1>;
174+
175+
storage_partition: partition@0 {
176+
label = "storage";
177+
reg = <0X0 DT_SIZE_K(4)>;
178+
};
179+
};
180+
};

boards/renesas/ek_ra6m1/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ The below features are currently supported on Zephyr OS for EK-RA6M1 board:
104104
+-----------+------------+----------------------+
105105
| PWM | on-chip | pwm |
106106
+-----------+------------+----------------------+
107+
| FLASH | on-chip | flash |
108+
+-----------+------------+----------------------+
107109

108110
Other hardware features are currently not supported by the port.
109111

boards/renesas/ek_ra6m1/ek_ra6m1.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
chosen {
2020
zephyr,sram = &sram0;
21+
zephyr,flash-controller = &flash1;
2122
zephyr,flash = &flash0;
2223
zephyr,console = &uart8;
2324
zephyr,shell-uart = &uart8;
@@ -122,3 +123,16 @@
122123
interrupt-names = "gtioca", "overflow";
123124
status = "okay";
124125
};
126+
127+
&flash1 {
128+
partitions {
129+
compatible = "fixed-partitions";
130+
#address-cells = <1>;
131+
#size-cells = <1>;
132+
133+
storage_partition: partition@0 {
134+
label = "storage";
135+
reg = <0X0 DT_SIZE_K(8)>;
136+
};
137+
};
138+
};

0 commit comments

Comments
 (0)