10
10
#include <zephyr/dt-bindings/input/input-event-codes.h>
11
11
12
12
/ {
13
- model = "Witte Technology STM32H753ZI Linum board";
14
13
compatible = "witte,linum";
14
+ model = "Witte Technology STM32H753ZI Linum board";
15
15
16
16
chosen {
17
17
zephyr,console = &usart1;
25
25
26
26
sdram1: sdram@c0000000 {
27
27
compatible = "zephyr,memory-region", "mmio-sram";
28
- device_type = "memory";
29
28
reg = <0xc0000000 DT_SIZE_M(8)>;
29
+ device_type = "memory";
30
30
zephyr,memory-region = "SDRAM1";
31
31
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM)>;
32
32
};
@@ -188,18 +188,18 @@ zephyr_udc0: &usbotg_fs {
188
188
&i2c3 {
189
189
pinctrl-0 = <&i2c3_scl_ph7 &i2c3_sda_ph8>;
190
190
pinctrl-names = "default";
191
- status = "okay";
192
191
clock-frequency = <I2C_BITRATE_FAST>;
192
+ status = "okay";
193
193
};
194
194
195
195
&timers12 {
196
196
st,prescaler = <10000>;
197
197
status = "okay";
198
198
199
199
pwm12: pwm {
200
- status = "okay";
201
200
pinctrl-0 = <&tim12_ch1_pb14>;
202
201
pinctrl-names = "default";
202
+ status = "okay";
203
203
};
204
204
};
205
205
@@ -232,7 +232,6 @@ zephyr_udc0: &usbotg_fs {
232
232
};
233
233
234
234
&mac {
235
- status = "okay";
236
235
pinctrl-0 = <ð_rxd0_pc4
237
236
ð_rxd1_pc5
238
237
ð_ref_clk_pa1
@@ -243,12 +242,13 @@ zephyr_udc0: &usbotg_fs {
243
242
pinctrl-names = "default";
244
243
phy-connection-type = "rmii";
245
244
phy-handle = <ð_phy>;
245
+ status = "okay";
246
246
};
247
247
248
248
&mdio {
249
- status = "okay";
250
249
pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
251
250
pinctrl-names = "default";
251
+ status = "okay";
252
252
253
253
eth_phy: ethernet-phy@0 {
254
254
compatible = "microchip,ksz8081";
@@ -258,10 +258,10 @@ zephyr_udc0: &usbotg_fs {
258
258
};
259
259
260
260
&spi1 {
261
- status = "okay";
262
261
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
263
262
pinctrl-names = "default";
264
263
cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
264
+ status = "okay";
265
265
};
266
266
267
267
&fmc {
@@ -280,11 +280,11 @@ zephyr_udc0: &usbotg_fs {
280
280
status = "okay";
281
281
282
282
sdram {
283
- status = "okay";
284
283
power-up-delay = <100>;
285
284
num-auto-refresh = <8>;
286
285
mode-register = <0x220>;
287
286
refresh-rate = <0x603>;
287
+ status = "okay";
288
288
289
289
bank@1 {
290
290
reg = <1>;
@@ -314,14 +314,17 @@ zephyr_udc0: &usbotg_fs {
314
314
disp-on-gpios = <&gpiod 7 GPIO_ACTIVE_HIGH>;
315
315
316
316
ext-sdram = <&sdram1>;
317
- status = "okay";
318
317
319
318
clocks = <&rcc STM32_CLOCK(APB3, 3)>,
320
319
<&rcc STM32_SRC_PLL3_R NO_SEL>;
321
320
322
321
width = <480>;
323
322
height = <272>;
324
323
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";
325
328
326
329
display-timings {
327
330
compatible = "zephyr,panel-timing";
@@ -336,9 +339,6 @@ zephyr_udc0: &usbotg_fs {
336
339
hfront-porch = <8>;
337
340
vfront-porch = <4>;
338
341
};
339
- def-back-color-red = <0xFF>;
340
- def-back-color-green = <0xFF>;
341
- def-back-color-blue = <0xFF>;
342
342
};
343
343
344
344
&sdmmc1 {
@@ -366,33 +366,33 @@ zephyr_udc0: &usbotg_fs {
366
366
367
367
/* 128KB for bootloader */
368
368
boot_partition: partition@0 {
369
- label = "mcuboot";
370
369
reg = <0x00000000 DT_SIZE_K(128)>;
370
+ label = "mcuboot";
371
371
read-only;
372
372
};
373
373
374
374
/* storage: 128KB for settings */
375
375
storage_partition: partition@20000 {
376
- label = "storage";
377
376
reg = <0x00020000 DT_SIZE_K(128)>;
377
+ label = "storage";
378
378
};
379
379
380
380
/* application image slot: 256KB */
381
381
slot0_partition: partition@40000 {
382
- label = "image-0";
383
382
reg = <0x00040000 DT_SIZE_K(256)>;
383
+ label = "image-0";
384
384
};
385
385
386
386
/* backup slot: 256KB */
387
387
slot1_partition: partition@80000 {
388
- label = "image-1";
389
388
reg = <0x00080000 DT_SIZE_K(256)>;
389
+ label = "image-1";
390
390
};
391
391
392
392
/* swap slot: 128KB */
393
393
scratch_partition: partition@c0000 {
394
- label = "image-scratch";
395
394
reg = <0x000c0000 DT_SIZE_K(128)>;
395
+ label = "image-scratch";
396
396
};
397
397
};
398
398
};
0 commit comments