Skip to content

Commit aadf381

Browse files
quytranpzzjhedberg
authored andcommitted
dts: rx: Add dts property for flash driver on RSK-RX130-512kb
Add dts for flash controller includes code and data flash region on RSK-RX130-512kb Signed-off-by: Quy Tran <[email protected]>
1 parent 56ec47c commit aadf381

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

dts/bindings/mtd/renesas,rx-nv-flash.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ include: [base.yaml, soc-nv-flash.yaml]
88
compatible: "renesas,rx-nv-flash"
99

1010
properties:
11-
renesas,programming-enable:
11+
programming-enable:
1212
type: boolean
1313
description: Enable flash programming configuration for code flash
1414

15-
renesas,bgo-enable:
15+
bgo-enable:
1616
type: boolean
1717
description: |
1818
Enable module in BGO (background operations) mode for data flash.

dts/rx/renesas/r5f51308axfp.dtsi

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,24 +155,25 @@
155155
reg = <0x0 DT_SIZE_K(48)>;
156156
};
157157

158-
fcu: flash-controller@7e0000 {
158+
flash: flash-controller@7fc090 {
159159
#address-cells = <1>;
160160
#size-cells = <1>;
161-
compatible = "renesas,rx-flash.yaml";
162-
reg = <0x007e0000 0x1000>;
163-
161+
compatible = "renesas,rx-flash";
162+
reg = <0x7fc090 0x3f24>;
163+
interrupts = <23 1>;
164+
interrupt-names = "frdyi";
164165
code_flash: flash@fff80000 {
165-
compatible = "renesas,rx-nv-flash.yaml";
166+
compatible = "renesas,rx-nv-flash";
166167
reg = <0xfff80000 DT_SIZE_K(512)>;
167168
write-block-size = <4>;
168169
erase-block-size = <1024>;
169170
};
170171

171172
data_flash: flash@100000 {
172-
compatible = "renesas,rx-nv-flash.yaml";
173-
erased_undefined;
173+
compatible = "renesas,rx-nv-flash";
174+
bgo-enable;
174175
reg = <0x00100000 DT_SIZE_K(8)>;
175-
write_block_size = <1>;
176+
write-block-size = <1>;
176177
erase-block-size = <1024>;
177178
};
178179
};

0 commit comments

Comments
 (0)