Skip to content

Commit cd8eb44

Browse files
dts: arm: renesas: ra: Update the OFS defination for FSP migration
Update OFS defination to align with FSP 6.0.0 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
1 parent 5a8d444 commit cd8eb44

File tree

92 files changed

+1917
-1444
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1917
-1444
lines changed

dts/arm/renesas/ra/ra2/ra2l1.dtsi

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@
240240
};
241241
};
242242

243-
id_code: id_code@1010018 {
244-
compatible = "zephyr,memory-region";
245-
reg = <0x01010018 0x20>;
246-
zephyr,memory-region = "ID_CODE";
247-
status = "okay";
248-
};
249-
250243
wdt: wdt@40044200 {
251244
compatible = "renesas,ra-wdt";
252245
reg = <0x40044200 0x200>;
@@ -515,6 +508,45 @@
515508
#port-irq-cells = <0>;
516509
status = "disabled";
517510
};
511+
512+
option_setting_ofs_in_rom: option-setting-ofs-in-rom@400 {
513+
reg = <0x00000400 0x3c>;
514+
#address-cells = <1>;
515+
#size-cells = <0>;
516+
517+
option_setting_ofs0: option-setting-ofs0@400 {
518+
compatible = "renesas,ofs-memory";
519+
reg = <0x00000400 0x4>;
520+
status = "okay";
521+
};
522+
523+
option_setting_ofs1: option-setting-ofs1@404 {
524+
compatible = "renesas,ofs-memory";
525+
reg = <0x00000404 0x4>;
526+
status = "okay";
527+
};
528+
529+
option_setting_secmpu: option-setting-secmpu@408 {
530+
compatible = "renesas,ofs-memory";
531+
reg = <0x00000408 0x34>;
532+
status = "okay";
533+
};
534+
};
535+
536+
option_setting_ofs_conf: option-setting-ofs-conf@1010010 {
537+
compatible = "zephyr,memory-region";
538+
reg = <0x01010010 0x24>;
539+
zephyr,memory-region = "OFS_CONF_MEMORY";
540+
#address-cells = <1>;
541+
#size-cells = <0>;
542+
status = "okay";
543+
544+
option_setting_osis: option-setting-osis@1010018 {
545+
compatible = "renesas,ofs-memory";
546+
reg = <0x01010018 0x1c>;
547+
status = "okay";
548+
};
549+
};
518550
};
519551

520552
clocks: clocks {

dts/arm/renesas/ra/ra2/ra2xx.dtsi

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,6 @@
285285
};
286286
};
287287

288-
id_code: id_code@1010018 {
289-
compatible = "zephyr,memory-region";
290-
reg = <0x01010018 0x20>;
291-
zephyr,memory-region = "ID_CODE";
292-
status = "okay";
293-
};
294-
295288
port_irq0: external-interrupt@40006000 {
296289
compatible = "renesas,ra-external-interrupt";
297290
reg = <0x40006000 0x1>;
@@ -387,6 +380,45 @@
387380
status = "disabled";
388381
};
389382
};
383+
384+
option_setting_ofs_in_rom: option-setting-ofs-in-rom@400 {
385+
reg = <0x00000400 0x3c>;
386+
#address-cells = <1>;
387+
#size-cells = <0>;
388+
389+
option_setting_ofs0: option-setting-ofs0@400 {
390+
compatible = "renesas,ofs-memory";
391+
reg = <0x00000400 0x4>;
392+
status = "okay";
393+
};
394+
395+
option_setting_ofs1: option-setting-ofs1@404 {
396+
compatible = "renesas,ofs-memory";
397+
reg = <0x00000404 0x4>;
398+
status = "okay";
399+
};
400+
401+
option_setting_secmpu: option-setting-secmpu@408 {
402+
compatible = "renesas,ofs-memory";
403+
reg = <0x00000408 0x34>;
404+
status = "okay";
405+
};
406+
};
407+
408+
option_setting_ofs_conf: option-setting-ofs-conf@1010008 {
409+
compatible = "zephyr,memory-region";
410+
reg = <0x01010008 0x2c>;
411+
zephyr,memory-region = "OFS_CONF_MEMORY";
412+
#address-cells = <1>;
413+
#size-cells = <0>;
414+
status = "okay";
415+
416+
option_setting_osis: option-setting-osis@1010018 {
417+
compatible = "renesas,ofs-memory";
418+
reg = <0x01010018 0x1c>;
419+
status = "okay";
420+
};
421+
};
390422
};
391423
};
392424

dts/arm/renesas/ra/ra4/r7fa4e10x.dtsi

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,51 @@
6868
compatible = "renesas,ra-sce9-rng";
6969
status = "disabled";
7070
};
71+
72+
option_setting_ofs_conf: option-setting-ofs-conf@100a100 {
73+
compatible = "zephyr,memory-region";
74+
reg = <0x0100a100 0x200>;
75+
zephyr,memory-region = "OFS_CONF_MEMORY";
76+
#address-cells = <1>;
77+
#size-cells = <0>;
78+
status = "okay";
79+
80+
option_setting_ofs0: option-setting-ofs0@100a100 {
81+
compatible = "renesas,ofs-memory";
82+
reg = <0x0100a100 0x4>;
83+
status = "okay";
84+
};
85+
86+
option_setting_ofs1_sec: option-setting-ofs1-sec@100a200 {
87+
compatible = "renesas,ofs-memory";
88+
reg = <0x0100a200 0x4>;
89+
status = "okay";
90+
};
91+
92+
option_setting_bps_sec: option-setting-bps-sec@100a240 {
93+
compatible = "renesas,ofs-memory";
94+
reg = <0x0100a240 0x4>;
95+
status = "okay";
96+
};
97+
98+
option_setting_pbps_sec: option-setting-pbps-sec@100a260 {
99+
compatible = "renesas,ofs-memory";
100+
reg = <0x0100a260 0x4>;
101+
status = "okay";
102+
};
103+
104+
option_setting_ofs1_sel: option-setting-ofs1-sel@100a280 {
105+
compatible = "renesas,ofs-memory";
106+
reg = <0x0100a280 0x4>;
107+
status = "okay";
108+
};
109+
110+
option_setting_bps_sel: option-setting-bps-sel@100a2c0 {
111+
compatible = "renesas,ofs-memory";
112+
reg = <0x0100a2c0 0x4>;
113+
status = "okay";
114+
};
115+
};
71116
};
72117

73118
clocks: clocks {

dts/arm/renesas/ra/ra4/r7fa4e2b93cfm.dtsi

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@
6666
channel-available-mask = <0x139f7>;
6767
};
6868

69-
id_code: id_code@100a120 {
70-
compatible = "zephyr,memory-region";
71-
reg = <0x0100a120 0x10>;
72-
zephyr,memory-region = "ID_CODE";
73-
status = "okay";
74-
};
75-
7669
canfd_global: canfd_global@400b0000 {
7770
compatible = "renesas,ra-canfd-global";
7871
interrupts = <40 1>, <41 1>;
@@ -128,6 +121,45 @@
128121
status = "disabled";
129122
};
130123
};
124+
125+
option_setting_ofs_conf: option-setting-ofs-conf@100a100 {
126+
compatible = "zephyr,memory-region";
127+
reg = <0x0100a100 0x200>;
128+
zephyr,memory-region = "OFS_CONF_MEMORY";
129+
#address-cells = <1>;
130+
#size-cells = <0>;
131+
status = "okay";
132+
133+
option_setting_ofs0: option-setting-ofs0@100a100 {
134+
compatible = "renesas,ofs-memory";
135+
reg = <0x0100a100 0x4>;
136+
status = "okay";
137+
};
138+
139+
option_setting_osis: option-setting-osis@100a120 {
140+
compatible = "renesas,ofs-memory";
141+
reg = <0x0100a120 0x10>;
142+
status = "okay";
143+
};
144+
145+
option_setting_ofs1_sec: option-setting-ofs1-sec@100a200 {
146+
compatible = "renesas,ofs-memory";
147+
reg = <0x0100a200 0x4>;
148+
status = "okay";
149+
};
150+
151+
option_setting_bps_sec: option-setting-bps-sec@100a240 {
152+
compatible = "renesas,ofs-memory";
153+
reg = <0x0100a240 0x4>;
154+
status = "okay";
155+
};
156+
157+
option_setting_pbps_sec: option-setting-pbps-sec@100a260 {
158+
compatible = "renesas,ofs-memory";
159+
reg = <0x0100a260 0x4>;
160+
status = "okay";
161+
};
162+
};
131163
};
132164

133165
clocks: clocks {

dts/arm/renesas/ra/ra4/r7fa4l1bx.dtsi

Lines changed: 63 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -366,27 +366,6 @@
366366
};
367367
};
368368

369-
option_setting_ofs: option_setting_ofs@100a100 {
370-
compatible = "zephyr,memory-region";
371-
reg = <0x0100a100 0x18>;
372-
zephyr,memory-region = "OPTION_SETTING_OFS";
373-
status = "okay";
374-
};
375-
376-
option_setting_sas: option_setting_sas@100a134 {
377-
compatible = "zephyr,memory-region";
378-
reg = <0x0100a134 0xcc>;
379-
zephyr,memory-region = "OPTION_SETTING_SAS";
380-
status = "okay";
381-
};
382-
383-
option_setting_s: option_setting_s@100a200 {
384-
compatible = "zephyr,memory-region";
385-
reg = <0x0100a200 0x100>;
386-
zephyr,memory-region = "OPTION_SETTING_S";
387-
status = "okay";
388-
};
389-
390369
port_irq0: external-interrupt@40006000 {
391370
compatible = "renesas,ra-external-interrupt";
392371
reg = <0x40006000 0x1>;
@@ -579,6 +558,69 @@
579558
full-duplex;
580559
status = "disabled";
581560
};
561+
562+
option_setting_ofs_conf: option-setting-ofs-conf@100a100 {
563+
compatible = "zephyr,memory-region";
564+
reg = <0x0100a100 0x200>;
565+
zephyr,memory-region = "OFS_CONF_MEMORY";
566+
#address-cells = <1>;
567+
#size-cells = <0>;
568+
status = "okay";
569+
570+
option_setting_ofs0: option-setting-ofs0@100a100 {
571+
compatible = "renesas,ofs-memory";
572+
reg = <0x0100a100 0x4>;
573+
status = "okay";
574+
};
575+
576+
option_setting_dualsel: option-setting-dualsel@100a110 {
577+
compatible = "renesas,ofs-memory";
578+
reg = <0x0100a110 0x4>;
579+
status = "okay";
580+
};
581+
582+
option_setting_ofs1_sec: option-setting-ofs1-sec@100a200 {
583+
compatible = "renesas,ofs-memory";
584+
reg = <0x0100a200 0x4>;
585+
status = "okay";
586+
};
587+
588+
option_setting_banksel_sec: option-setting-banksel-sec@100a210 {
589+
compatible = "renesas,ofs-memory";
590+
reg = <0x0100a210 0x4>;
591+
status = "okay";
592+
};
593+
594+
option_setting_bps_sec: option-setting-bps-sec@100a240 {
595+
compatible = "renesas,ofs-memory";
596+
reg = <0x0100a240 0xc>;
597+
status = "okay";
598+
};
599+
600+
option_setting_pbps_sec: option-setting-pbps-sec@100a260 {
601+
compatible = "renesas,ofs-memory";
602+
reg = <0x0100a260 0xc>;
603+
status = "okay";
604+
};
605+
606+
option_setting_ofs1_sel: option-setting-ofs1-sel@100a280 {
607+
compatible = "renesas,ofs-memory";
608+
reg = <0x0100a280 0x4>;
609+
status = "okay";
610+
};
611+
612+
option_setting_banksel_sel: option-setting-banksel-sel@100a290 {
613+
compatible = "renesas,ofs-memory";
614+
reg = <0x0100a290 0x4>;
615+
status = "okay";
616+
};
617+
618+
option_setting_bps_sel: option-setting-bps-sel@100a2c0 {
619+
compatible = "renesas,ofs-memory";
620+
reg = <0x0100a2c0 0xc>;
621+
status = "okay";
622+
};
623+
};
582624
};
583625

584626
clocks: clocks {

dts/arm/renesas/ra/ra4/r7fa4m2ax.dtsi

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,51 @@
144144
compatible = "renesas,ra-sce9-rng";
145145
status = "disabled";
146146
};
147+
148+
option_setting_ofs_conf: option-setting-ofs-conf@100a100 {
149+
compatible = "zephyr,memory-region";
150+
reg = <0x0100a100 0x200>;
151+
zephyr,memory-region = "OFS_CONF_MEMORY";
152+
#address-cells = <1>;
153+
#size-cells = <0>;
154+
status = "okay";
155+
156+
option_setting_ofs0: option-setting-ofs0@100a100 {
157+
compatible = "renesas,ofs-memory";
158+
reg = <0x0100a100 0x4>;
159+
status = "okay";
160+
};
161+
162+
option_setting_ofs1_sec: option-setting-ofs1-sec@100a200 {
163+
compatible = "renesas,ofs-memory";
164+
reg = <0x0100a200 0x4>;
165+
status = "okay";
166+
};
167+
168+
option_setting_bps_sec: option-setting-bps-sec@100a240 {
169+
compatible = "renesas,ofs-memory";
170+
reg = <0x0100a240 0x4>;
171+
status = "okay";
172+
};
173+
174+
option_setting_pbps_sec: option-setting-pbps-sec@100a260 {
175+
compatible = "renesas,ofs-memory";
176+
reg = <0x0100a260 0x4>;
177+
status = "okay";
178+
};
179+
180+
option_setting_ofs1_sel: option-setting-ofs1-sel@100a280 {
181+
compatible = "renesas,ofs-memory";
182+
reg = <0x0100a280 0x4>;
183+
status = "okay";
184+
};
185+
186+
option_setting_bps_sel: option-setting-bps-sel@100a2c0 {
187+
compatible = "renesas,ofs-memory";
188+
reg = <0x0100a2c0 0x4>;
189+
status = "okay";
190+
};
191+
};
147192
};
148193

149194
clocks: clocks {

0 commit comments

Comments
 (0)