Skip to content

Commit 3e20f6e

Browse files
quytranpzzjhedberg
authored andcommitted
boards: renesas: Add support for flash driver on RSK-RX130-512kb board
Add flash driver support on RSK-RX130-512kb Signed-off-by: Quy Tran <[email protected]>
1 parent aadf381 commit 3e20f6e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

boards/renesas/rsk_rx130/rsk_rx130.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
chosen {
1919
zephyr,sram = &sram0;
2020
zephyr,flash = &code_flash;
21+
zephyr,flash-controller = &flash;
2122
zephyr,console = &uart1;
2223
zephyr,shell-uart = &uart1;
2324
};
@@ -124,3 +125,16 @@
124125
status = "okay";
125126
};
126127
};
128+
129+
&data_flash {
130+
partitions {
131+
compatible = "fixed-partitions";
132+
#address-cells = <1>;
133+
#size-cells = <1>;
134+
135+
storage_partition: partition@0 {
136+
label = "storage";
137+
reg = <0X0 DT_SIZE_K(8)>;
138+
};
139+
};
140+
};

0 commit comments

Comments
 (0)