Skip to content

Commit 16a14f9

Browse files
mathieuchopstmnashif
authored andcommitted
boards: st: *: use lowercase hex for properties
Update various properties using hex values in STM32 boards DTS to comply with the DTS Coding Style which says that "hex values in properties should use lowercase hex". Signed-off-by: Mathieu Choplain <[email protected]>
1 parent c30fd6e commit 16a14f9

File tree

17 files changed

+41
-41
lines changed

17 files changed

+41
-41
lines changed

boards/st/nucleo_f756zg/nucleo_f756zg.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ zephyr_udc0: &usbotg_fs {
197197
};
198198

199199
/* scratch slot: 256KB */
200-
scratch_partition: partition@C0000 {
200+
scratch_partition: partition@c0000 {
201201
label = "image-scratch";
202-
reg = <0x000C0000 DT_SIZE_K(256)>;
202+
reg = <0x000c0000 DT_SIZE_K(256)>;
203203
};
204204
};
205205
};

boards/st/nucleo_f767zi/nucleo_f767zi.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ zephyr_udc0: &usbotg_fs {
264264
/*
265265
* Allocated 1 (256k) sector for image-scratch. Sector 11.
266266
*/
267-
scratch_partition: partition@1C0000 {
267+
scratch_partition: partition@1c0000 {
268268
label = "image-scratch";
269-
reg = <0x001C0000 DT_SIZE_K(256)>;
269+
reg = <0x001c0000 DT_SIZE_K(256)>;
270270
};
271271
};
272272
};

boards/st/nucleo_g0b1re/nucleo_g0b1re.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,14 @@ zephyr_udc0: &usb {
210210
read-only;
211211
};
212212

213-
slot0_partition: partition@C000 {
213+
slot0_partition: partition@c000 {
214214
label = "image-0";
215-
reg = <0x0000C000 DT_SIZE_K(200)>;
215+
reg = <0x0000c000 DT_SIZE_K(200)>;
216216
};
217217

218-
slot1_partition: partition@3E000 {
218+
slot1_partition: partition@3e000 {
219219
label = "image-1";
220-
reg = <0x0003E000 DT_SIZE_K(200)>;
220+
reg = <0x0003e000 DT_SIZE_K(200)>;
221221
};
222222

223223
/* final 64KiB reserved for app storage partition */

boards/st/nucleo_l4r5zi/nucleo_l4r5zi.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ zephyr_udc0: &usbotg_fs {
199199
#size-cells = <1>;
200200

201201
/* Reserve last 16KiB for property storage */
202-
storage_partition: partition@1FB000 {
202+
storage_partition: partition@1fb000 {
203203
label = "storage";
204-
reg = <0x001FB000 DT_SIZE_K(16)>;
204+
reg = <0x001fb000 DT_SIZE_K(16)>;
205205
};
206206
};
207207
};

boards/st/sensortile_box/sensortile_box.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ zephyr_udc0: &usbotg_fs {
235235

236236
slot1_partition: partition@8c000 {
237237
label = "image-1";
238-
reg = <0x0008C000 DT_SIZE_K(432)>;
238+
reg = <0x0008c000 DT_SIZE_K(432)>;
239239
};
240240

241241
scratch_partition: partition@f8000 {
242242
label = "image-scratch";
243-
reg = <0x000F8000 DT_SIZE_K(24)>;
243+
reg = <0x000f8000 DT_SIZE_K(24)>;
244244
};
245245

246246
storage_partition: partition@fc000 {

boards/st/stm32f0_disco/stm32f0_disco.dts

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

137137
scratch_partition: partition@c000 {
138138
label = "image-scratch";
139-
reg = <0x0000C000 DT_SIZE_K(16)>;
139+
reg = <0x0000c000 DT_SIZE_K(16)>;
140140
};
141141
};
142142
};

boards/st/stm32f429i_disc1/stm32f429i_disc1.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@
264264
vfront-porch = <4>;
265265
};
266266

267-
def-back-color-red = <0xFF>;
268-
def-back-color-green = <0xFF>;
269-
def-back-color-blue = <0xFF>;
267+
def-back-color-red = <0xff>;
268+
def-back-color-green = <0xff>;
269+
def-back-color-blue = <0xff>;
270270
};
271271

272272
zephyr_udc0: &usbotg_hs {

boards/st/stm32f746g_disco/stm32f746g_disco.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ zephyr_udc0: &usbotg_fs {
314314
vfront-porch = <4>;
315315
};
316316

317-
def-back-color-red = <0xFF>;
318-
def-back-color-green = <0xFF>;
319-
def-back-color-blue = <0xFF>;
317+
def-back-color-red = <0xff>;
318+
def-back-color-green = <0xff>;
319+
def-back-color-blue = <0xff>;
320320
};

boards/st/stm32f7508_dk/stm32f7508_dk.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ zephyr_udc0: &usbotg_fs {
301301
vfront-porch = <4>;
302302
};
303303

304-
def-back-color-red = <0xFF>;
305-
def-back-color-green = <0xFF>;
306-
def-back-color-blue = <0xFF>;
304+
def-back-color-red = <0xff>;
305+
def-back-color-green = <0xff>;
306+
def-back-color-blue = <0xff>;
307307
};

boards/st/stm32h573i_dk/stm32h573i_dk-common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
height = <240>;
138138
x-offset = <0>;
139139
y-offset = <0>;
140-
vcom = <0x1F>;
140+
vcom = <0x1f>;
141141
gctrl = <0x35>;
142142
vdvs = <0x20>;
143143
mdac = <0x00>;

0 commit comments

Comments
 (0)