Skip to content

Commit a7bf9be

Browse files
committed
boards: st: change order of reg property in partitions
According to the guidelines the `reg` property should always come before any other property other than `compatible`. Link: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
1 parent 98ba754 commit a7bf9be

File tree

67 files changed

+212
-210
lines changed

Some content is hidden

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

67 files changed

+212
-210
lines changed

boards/st/b_l072z_lrwan1/b_l072z_lrwan1.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ zephyr_udc0: &usb {
180180

181181
/* Set aside 32KiB for data at the end of the 192KiB flash */
182182
storage_partition: partition@28000 {
183-
label = "storage";
184183
reg = <0x00028000 DT_SIZE_K(32)>;
184+
label = "storage";
185185
};
186186
};
187187
};

boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,24 +182,24 @@
182182
#size-cells = <1>;
183183

184184
boot_partition: partition@0 {
185-
label = "mcuboot";
186185
reg = <0x0 DT_SIZE_K(64)>;
186+
label = "mcuboot";
187187
read-only;
188188
};
189189

190190
slot0_partition: partition@10000 {
191-
label = "image-0";
192191
reg = <0x10000 DT_SIZE_K(976)>;
192+
label = "image-0";
193193
};
194194

195195
slot1_partition: partition@104000 {
196-
label = "image-1";
197196
reg = <0x104000 DT_SIZE_K(976)>;
197+
label = "image-1";
198198
};
199199

200200
storage_partition: partition@1f8000 {
201-
label = "storage";
202201
reg = <0x1f8000 DT_SIZE_K(32)>;
202+
label = "storage";
203203
};
204204
};
205205
};
@@ -262,8 +262,8 @@ zephyr_udc0: &usbotg_fs {
262262
#size-cells = <1>;
263263

264264
store_partition: partition@000 {
265-
label = "store";
266265
reg = <0x00000000 DT_SIZE_M(8)>;
266+
label = "store";
267267
};
268268
};
269269
};

boards/st/b_u585i_iot02a/b_u585i_iot02a.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,28 @@
5050
* Set the partitions with first MB to make use of the whole Bank1
5151
*/
5252
boot_partition: partition@0 {
53-
label = "mcuboot";
5453
reg = <0x00000000 DT_SIZE_K(64)>;
54+
label = "mcuboot";
5555
};
5656

5757
slot0_partition: partition@10000 {
58-
label = "image-0";
5958
reg = <0x00010000 DT_SIZE_K(416)>;
59+
label = "image-0";
6060
};
6161

6262
slot1_partition: partition@78000 {
63-
label = "image-1";
6463
reg = <0x00078000 DT_SIZE_K(416)>;
64+
label = "image-1";
6565
};
6666

6767
scratch_partition: partition@e0000 {
68-
label = "image-scratch";
6968
reg = <0x000e0000 DT_SIZE_K(64)>;
69+
label = "image-scratch";
7070
};
7171

7272
storage_partition: partition@f0000 {
73-
label = "storage";
7473
reg = <0x000f0000 DT_SIZE_K(64)>;
74+
label = "storage";
7575
};
7676
};
7777
};

boards/st/b_u585i_iot02a/b_u585i_iot02a_stm32u585xx_ns.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,39 +39,39 @@
3939
*/
4040

4141
boot_partition: partition@0 {
42-
label = "mcuboot";
4342
reg = <0x00000000 DT_SIZE_K(224)>;
43+
label = "mcuboot";
4444
read-only;
4545
};
4646

4747
/* Secure image primary slot */
4848
slot0_partition: partition@38000 {
49-
label = "image-0";
5049
reg = <0x00038000 DT_SIZE_K(384)>;
50+
label = "image-0";
5151
};
5252

5353
/* Non-secure image primary slot */
5454
slot0_ns_partition: partition@98000 {
55-
label = "image-0-nonsecure";
5655
reg = <0x00098000 DT_SIZE_K(512)>;
56+
label = "image-0-nonsecure";
5757
};
5858

5959
/* Secure image secondary slot */
6060
slot1_partition: partition@118000 {
61-
label = "image-1";
6261
reg = <0x00118000 DT_SIZE_K(384)>;
62+
label = "image-1";
6363
};
6464

6565
/* Non-secure image secondary slot */
6666
slot1_ns_partition: partition@178000 {
67-
label = "image-1-nonsecure";
6867
reg = <0x00178000 DT_SIZE_K(512)>;
68+
label = "image-1-nonsecure";
6969
};
7070

7171
/* Applicative Non Volatile Storage */
7272
storage_partition: partition@1f8000 {
73-
label = "storage";
7473
reg = <0x001f8000 DT_SIZE_K(16)>;
74+
label = "storage";
7575
};
7676
};
7777
};

boards/st/disco_l475_iot1/disco_l475_iot1.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,19 +227,19 @@
227227
#size-cells = <1>;
228228

229229
boot_partition: partition@0 {
230-
label = "mcuboot";
231230
reg = <0x0 DT_SIZE_K(64)>;
231+
label = "mcuboot";
232232
read-only;
233233
};
234234

235235
slot0_partition: partition@10000 {
236-
label = "image-0";
237236
reg = <0x10000 DT_SIZE_K(928)>;
237+
label = "image-0";
238238
};
239239

240240
storage_partition: partition@f8000 {
241-
label = "storage";
242241
reg = <0xf8000 DT_SIZE_K(32)>;
242+
label = "storage";
243243
};
244244
};
245245
};
@@ -338,13 +338,13 @@ zephyr_udc0: &usbotg_fs {
338338
#size-cells = <1>;
339339

340340
slot1_partition: partition@0 {
341-
label = "image-1";
342341
reg = <0x00000000 DT_SIZE_K(864)>;
342+
label = "image-1";
343343
};
344344

345345
slot2_partition: partition@d8000 {
346-
label = "image-3";
347346
reg = <0x000d8000 DT_SIZE_M(7)>;
347+
label = "image-3";
348348
};
349349
};
350350
};

boards/st/nucleo_f091rc/nucleo_f091rc.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@
151151

152152
/* Set 6Kb of storage at the end of the 256Kb of flash */
153153
storage_partition: partition@3e800 {
154-
label = "storage";
155154
reg = <0x0003e800 DT_SIZE_K(6)>;
155+
label = "storage";
156156
};
157157
};
158158
};

boards/st/nucleo_f103rb/nucleo_f103rb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@
169169

170170
/* Set 2KB of storage at the end of 128KB flash */
171171
storage_partition: partition@1f800 {
172-
label = "storage";
173172
reg = <0x0001f800 DT_SIZE_K(2)>;
173+
label = "storage";
174174
};
175175
};
176176
};

boards/st/nucleo_f207zg/nucleo_f207zg.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ zephyr_udc0: &usbotg_fs {
215215
#size-cells = <1>;
216216

217217
boot_partition: partition@0 {
218-
label = "mcuboot";
219218
reg = <0x0 DT_SIZE_K(32)>;
219+
label = "mcuboot";
220220
read-only;
221221
};
222222

@@ -233,13 +233,13 @@ zephyr_udc0: &usbotg_fs {
233233
*/
234234

235235
slot0_partition: partition@20000 {
236-
label = "image-0";
237236
reg = <0x20000 DT_SIZE_K(448)>;
237+
label = "image-0";
238238
};
239239

240240
slot1_partition: partition@90000 {
241-
label = "image-1";
242241
reg = <0x90000 DT_SIZE_K(448)>;
242+
label = "image-1";
243243
};
244244
};
245245
};

boards/st/nucleo_f334r8/nucleo_f334r8.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136

137137
/* Set 6Kb of storage at the end of the 64Kb of flash */
138138
storage_partition: partition@e800 {
139-
label = "storage";
140139
reg = <0x0000e800 DT_SIZE_K(6)>;
140+
label = "storage";
141141
};
142142
};
143143
};

boards/st/nucleo_f401re/nucleo_f401re.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
#size-cells = <1>;
138138

139139
boot_partition: partition@0 {
140-
label = "mcuboot";
141140
reg = <0x00000000 DT_SIZE_K(64)>;
141+
label = "mcuboot";
142142
read-only;
143143
};
144144

@@ -148,18 +148,18 @@
148148
*/
149149

150150
slot0_partition: partition@20000 {
151-
label = "image-0";
152151
reg = <0x00020000 DT_SIZE_K(128)>;
152+
label = "image-0";
153153
};
154154

155155
slot1_partition: partition@40000 {
156-
label = "image-1";
157156
reg = <0x00040000 DT_SIZE_K(128)>;
157+
label = "image-1";
158158
};
159159

160160
scratch_partition: partition@60000 {
161-
label = "image-scratch";
162161
reg = <0x00060000 DT_SIZE_K(128)>;
162+
label = "image-scratch";
163163
};
164164
};
165165
};

0 commit comments

Comments
 (0)