File tree Expand file tree Collapse file tree 4 files changed +28
-8
lines changed Expand file tree Collapse file tree 4 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 28
28
29
29
leds: leds {
30
30
compatible = "gpio-leds";
31
+
31
32
green_led_2: led_2 {
32
33
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
33
34
label = "User LD2";
36
37
37
38
gpio_keys {
38
39
compatible = "gpio-keys";
40
+
39
41
user_button: button {
40
42
label = "User";
41
43
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
Original file line number Diff line number Diff line change 24
24
25
25
leds: leds {
26
26
compatible = "gpio-leds";
27
+
27
28
green_led_2: led_42 {
28
29
gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
29
30
label = "User LD2";
41
42
42
43
gpio_keys {
43
44
compatible = "gpio-keys";
45
+
44
46
user_button: button {
45
47
label = "User";
46
48
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
Original file line number Diff line number Diff line change 14
14
/ {
15
15
leds: leds {
16
16
compatible = "gpio-leds";
17
+
17
18
green_led_1: led_1 {
18
19
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
19
20
label = "User LD1";
20
21
};
22
+
21
23
yellow_led_1: led_2 {
22
24
gpios = <&gpiof 4 GPIO_ACTIVE_HIGH>;
23
25
label = "User LD2";
24
26
};
27
+
25
28
red_led_1: led_3 {
26
29
gpios = <&gpiog 4 GPIO_ACTIVE_HIGH>;
27
30
label = "User LD3";
30
33
31
34
gpio_keys {
32
35
compatible = "gpio-keys";
36
+
33
37
user_button: button {
34
38
label = "User";
35
39
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
180
184
label = "mcuboot";
181
185
reg = <0x00000000 DT_SIZE_K(64)>;
182
186
};
187
+
183
188
slot0_partition: partition@10000 {
184
189
label = "image-0";
185
190
reg = <0x00010000 DT_SIZE_K(960)>;
186
191
};
192
+
187
193
slot1_partition: partition@100000 {
188
194
label = "image-1";
189
195
reg = <0x00100000 DT_SIZE_K(960)>;
190
196
};
197
+
191
198
storage_partition: partition@1f0000 {
192
199
label = "storage";
193
200
reg = <0x001f0000 DT_SIZE_K(64)>;
Original file line number Diff line number Diff line change 29
29
30
30
leds {
31
31
compatible = "gpio-leds";
32
+
32
33
green_led_0: led_1 {
33
34
gpios = <&gpioi 9 GPIO_ACTIVE_LOW>;
34
35
label = "User LD1";
35
36
};
37
+
36
38
orange_led_0: led_2 {
37
39
gpios = <&gpioi 8 GPIO_ACTIVE_LOW>;
38
40
label = "User LD2";
39
41
};
42
+
40
43
red_led_0: led_3 {
41
44
gpios = <&gpiof 1 GPIO_ACTIVE_LOW>;
42
45
label = "User LD3";
43
46
};
47
+
44
48
blue_led_0: led_4 {
45
49
gpios = <&gpiof 4 GPIO_ACTIVE_LOW>;
46
50
label = "User LD4";
49
53
50
54
gpio_keys {
51
55
compatible = "gpio-keys";
56
+
52
57
user_button: button {
53
58
label = "User";
54
59
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
294
299
label = "mcuboot";
295
300
reg = <0x00000000 DT_SIZE_K(64)>;
296
301
};
302
+
297
303
slot0_partition: partition@10000 {
298
304
label = "image-0";
299
305
reg = <0x00010000 DT_SIZE_K(416)>;
300
306
};
307
+
301
308
slot1_partition: partition@78000 {
302
309
label = "image-1";
303
310
reg = <0x00078000 DT_SIZE_K(416)>;
304
311
};
312
+
305
313
scratch_partition: partition@e0000 {
306
314
label = "image-scratch";
307
315
reg = <0x000e0000 DT_SIZE_K(64)>;
308
316
};
317
+
309
318
/* Set 64KB of storage at the end of Bank1 */
310
319
storage_partition: partition@f0000 {
311
320
label = "storage";
386
395
status = "okay";
387
396
388
397
partitions {
389
- compatible = "fixed-partitions";
390
- #address-cells = <1>;
391
- #size-cells = <1>;
392
-
393
- partition@0 {
394
- label = "nor";
395
- reg = <0x00000000 DT_SIZE_M(64)>;
396
- };
398
+ compatible = "fixed-partitions";
399
+ #address-cells = <1>;
400
+ #size-cells = <1>;
401
+
402
+ partition@0 {
403
+ label = "nor";
404
+ reg = <0x00000000 DT_SIZE_M(64)>;
405
+ };
397
406
};
398
407
};
399
408
};
You can’t perform that action at this time.
0 commit comments