Skip to content

Commit 04a6637

Browse files
committed
devicetree: format files in boards/witte
Applying dts-linter results for format files in boards/witte Signed-off-by: Kyle Micallef Bonnici <[email protected]>
1 parent 31f9752 commit 04a6637

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

boards/witte/linum/linum.dts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <zephyr/dt-bindings/input/input-event-codes.h>
1111

1212
/ {
13-
model = "Witte Technology STM32H753ZI Linum board";
1413
compatible = "witte,linum";
14+
model = "Witte Technology STM32H753ZI Linum board";
1515

1616
chosen {
1717
zephyr,console = &usart1;
@@ -25,8 +25,8 @@
2525

2626
sdram1: sdram@c0000000 {
2727
compatible = "zephyr,memory-region", "mmio-sram";
28-
device_type = "memory";
2928
reg = <0xc0000000 DT_SIZE_M(8)>;
29+
device_type = "memory";
3030
zephyr,memory-region = "SDRAM1";
3131
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM)>;
3232
};
@@ -188,18 +188,18 @@ zephyr_udc0: &usbotg_fs {
188188
&i2c3 {
189189
pinctrl-0 = <&i2c3_scl_ph7 &i2c3_sda_ph8>;
190190
pinctrl-names = "default";
191-
status = "okay";
192191
clock-frequency = <I2C_BITRATE_FAST>;
192+
status = "okay";
193193
};
194194

195195
&timers12 {
196196
st,prescaler = <10000>;
197197
status = "okay";
198198

199199
pwm12: pwm {
200-
status = "okay";
201200
pinctrl-0 = <&tim12_ch1_pb14>;
202201
pinctrl-names = "default";
202+
status = "okay";
203203
};
204204
};
205205

@@ -232,7 +232,6 @@ zephyr_udc0: &usbotg_fs {
232232
};
233233

234234
&mac {
235-
status = "okay";
236235
pinctrl-0 = <&eth_rxd0_pc4
237236
&eth_rxd1_pc5
238237
&eth_ref_clk_pa1
@@ -243,12 +242,13 @@ zephyr_udc0: &usbotg_fs {
243242
pinctrl-names = "default";
244243
phy-connection-type = "rmii";
245244
phy-handle = <&eth_phy>;
245+
status = "okay";
246246
};
247247

248248
&mdio {
249-
status = "okay";
250249
pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pc1>;
251250
pinctrl-names = "default";
251+
status = "okay";
252252

253253
eth_phy: ethernet-phy@0 {
254254
compatible = "microchip,ksz8081";
@@ -258,10 +258,10 @@ zephyr_udc0: &usbotg_fs {
258258
};
259259

260260
&spi1 {
261-
status = "okay";
262261
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
263262
pinctrl-names = "default";
264263
cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
264+
status = "okay";
265265
};
266266

267267
&fmc {
@@ -280,11 +280,11 @@ zephyr_udc0: &usbotg_fs {
280280
status = "okay";
281281

282282
sdram {
283-
status = "okay";
284283
power-up-delay = <100>;
285284
num-auto-refresh = <8>;
286285
mode-register = <0x220>;
287286
refresh-rate = <0x603>;
287+
status = "okay";
288288

289289
bank@1 {
290290
reg = <1>;
@@ -314,14 +314,17 @@ zephyr_udc0: &usbotg_fs {
314314
disp-on-gpios = <&gpiod 7 GPIO_ACTIVE_HIGH>;
315315

316316
ext-sdram = <&sdram1>;
317-
status = "okay";
318317

319318
clocks = <&rcc STM32_CLOCK(APB3, 3)>,
320319
<&rcc STM32_SRC_PLL3_R NO_SEL>;
321320

322321
width = <480>;
323322
height = <272>;
324323
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
324+
def-back-color-red = <0xFF>;
325+
def-back-color-green = <0xFF>;
326+
def-back-color-blue = <0xFF>;
327+
status = "okay";
325328

326329
display-timings {
327330
compatible = "zephyr,panel-timing";
@@ -336,9 +339,6 @@ zephyr_udc0: &usbotg_fs {
336339
hfront-porch = <8>;
337340
vfront-porch = <4>;
338341
};
339-
def-back-color-red = <0xFF>;
340-
def-back-color-green = <0xFF>;
341-
def-back-color-blue = <0xFF>;
342342
};
343343

344344
&sdmmc1 {
@@ -366,33 +366,33 @@ zephyr_udc0: &usbotg_fs {
366366

367367
/* 128KB for bootloader */
368368
boot_partition: partition@0 {
369-
label = "mcuboot";
370369
reg = <0x00000000 DT_SIZE_K(128)>;
370+
label = "mcuboot";
371371
read-only;
372372
};
373373

374374
/* storage: 128KB for settings */
375375
storage_partition: partition@20000 {
376-
label = "storage";
377376
reg = <0x00020000 DT_SIZE_K(128)>;
377+
label = "storage";
378378
};
379379

380380
/* application image slot: 256KB */
381381
slot0_partition: partition@40000 {
382-
label = "image-0";
383382
reg = <0x00040000 DT_SIZE_K(256)>;
383+
label = "image-0";
384384
};
385385

386386
/* backup slot: 256KB */
387387
slot1_partition: partition@80000 {
388-
label = "image-1";
389388
reg = <0x00080000 DT_SIZE_K(256)>;
389+
label = "image-1";
390390
};
391391

392392
/* swap slot: 128KB */
393393
scratch_partition: partition@c0000 {
394-
label = "image-scratch";
395394
reg = <0x000c0000 DT_SIZE_K(128)>;
395+
label = "image-scratch";
396396
};
397397
};
398398
};

0 commit comments

Comments
 (0)