Skip to content

Commit 6359be9

Browse files
boards: renesas: Add support Flash-LP for Renesas RA4, RA2
Add support Flash-LP for Renesas boards: - RA4: ek_ra4m1, ek_ra4w1 - RA2: ek_ra2a1, ek_ra2l1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
1 parent 378a290 commit 6359be9

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

boards/renesas/ek_ra2a1/ek_ra2a1.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 = &flash;
2021
zephyr,flash = &flash0;
2122
zephyr,console = &uart0;
2223
zephyr,shell-uart = &uart0;
@@ -120,3 +121,16 @@
120121
&wdt {
121122
status = "okay";
122123
};
124+
125+
&flash1 {
126+
partitions {
127+
compatible = "fixed-partitions";
128+
#address-cells = <1>;
129+
#size-cells = <1>;
130+
131+
storage_partition: partition@0 {
132+
label = "storage";
133+
reg = <0x0 DT_SIZE_K(8)>;
134+
};
135+
};
136+
};

boards/renesas/ek_ra2l1/ek_ra2l1.dts

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

2323
chosen {
2424
zephyr,sram = &sram0;
25+
zephyr,flash-controller = &flash;
2526
zephyr,flash = &flash0;
2627
zephyr,console = &uart0;
2728
zephyr,shell-uart = &uart0;
@@ -60,3 +61,16 @@
6061
&wdt {
6162
status = "okay";
6263
};
64+
65+
&flash1 {
66+
partitions {
67+
compatible = "fixed-partitions";
68+
#address-cells = <1>;
69+
#size-cells = <1>;
70+
71+
storage_partition: partition@0 {
72+
label = "storage";
73+
reg = <0x0 DT_SIZE_K(8)>;
74+
};
75+
};
76+
};

boards/renesas/ek_ra4m1/ek_ra4m1.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 = &flash;
2021
zephyr,flash = &flash0;
2122
zephyr,console = &uart1;
2223
zephyr,shell-uart = &uart1;
@@ -139,3 +140,16 @@
139140
&wdt {
140141
status = "okay";
141142
};
143+
144+
&flash1 {
145+
partitions {
146+
compatible = "fixed-partitions";
147+
#address-cells = <1>;
148+
#size-cells = <1>;
149+
150+
storage_partition: partition@0 {
151+
label = "storage";
152+
reg = <0x0 DT_SIZE_K(8)>;
153+
};
154+
};
155+
};

boards/renesas/ek_ra4w1/ek_ra4w1.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 = &flash;
2021
zephyr,flash = &flash0;
2122
zephyr,console = &uart0;
2223
zephyr,shell-uart = &uart0;
@@ -123,3 +124,16 @@
123124
&wdt {
124125
status = "okay";
125126
};
127+
128+
&flash1 {
129+
partitions {
130+
compatible = "fixed-partitions";
131+
#address-cells = <1>;
132+
#size-cells = <1>;
133+
134+
storage_partition: partition@0 {
135+
label = "storage";
136+
reg = <0x0 DT_SIZE_K(8)>;
137+
};
138+
};
139+
};

0 commit comments

Comments
 (0)