File tree Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 12
12
/ {
13
13
leds: leds {
14
14
compatible = "gpio-leds";
15
+
15
16
green_led_1: led_1 {
16
17
gpios = <&gpioc 7 GPIO_ACTIVE_HIGH>;
17
18
label = "User LD1";
18
19
};
20
+
19
21
blue_led_1: led_2 {
20
22
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
21
23
label = "User LD2";
22
24
};
25
+
23
26
red_led_1: led_3 {
24
27
gpios = <&gpioa 9 GPIO_ACTIVE_HIGH>;
25
28
label = "User LD3";
28
31
29
32
gpio_keys {
30
33
compatible = "gpio-keys";
34
+
31
35
user_button: button {
32
36
label = "User";
33
37
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
Original file line number Diff line number Diff line change 29
29
};
30
30
31
31
&flash0 {
32
-
33
32
partitions {
34
33
compatible = "fixed-partitions";
35
34
#address-cells = <1>;
47
46
reg = <0x00000000 DT_SIZE_K(80)>;
48
47
read-only;
49
48
};
49
+
50
50
/* Secure image primary slot */
51
51
slot0_partition: partition@14000 {
52
52
label = "image-0";
53
53
reg = <0x00014000 DT_SIZE_K(180)>;
54
54
};
55
+
55
56
/* Non-secure image primary slot */
56
57
slot0_ns_partition: partition@41000 {
57
58
label = "image-0-nonsecure";
58
59
reg = <0x00041000 DT_SIZE_K(36)>;
59
60
};
61
+
60
62
/* Secure image secondary slot */
61
63
slot1_partition: partition@4a000 {
62
64
label = "image-1";
63
65
reg = <0x0004a000 DT_SIZE_K(180)>;
64
66
};
67
+
65
68
/* Non-secure image secondary slot */
66
69
slot1_ns_partition: partition@77000 {
67
70
label = "image-1-nonsecure";
Original file line number Diff line number Diff line change 51
51
52
52
/* 2KB at the end of 512KB flash is set for storage */
53
53
storage_partition: partition@7f800 {
54
- reg = <0x0007f800 DT_SIZE_K(2)>;
55
- };
54
+ reg = <0x0007f800 DT_SIZE_K(2)>;
55
+ };
56
56
};
57
57
};
Original file line number Diff line number Diff line change 14
14
/ {
15
15
leds {
16
16
compatible = "gpio-leds";
17
+
17
18
red_led_9: led_9 {
18
19
gpios = <&gpiod 3 GPIO_ACTIVE_LOW>;
19
20
label = "User LD9";
20
21
};
22
+
21
23
green_led_10: led_10 {
22
24
gpios = <&gpiog 12 GPIO_ACTIVE_LOW>;
23
25
label = "User LD10";
26
28
27
29
gpio_keys {
28
30
compatible = "gpio-keys";
31
+
29
32
user_button: button {
30
33
label = "User";
31
34
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
90
93
register-select-pin = <0>;
91
94
#address-cells = <1>;
92
95
#size-cells = <0>;
96
+
93
97
st7789v: lcd-panel@0 {
94
98
compatible = "sitronix,st7789v";
95
99
reg = <0>;
Original file line number Diff line number Diff line change 45
45
reg = <0x00000000 DT_SIZE_K(100)>;
46
46
read-only;
47
47
};
48
+
48
49
/* Secure image primary slot */
49
50
slot0_partition: partition@19000 {
50
51
reg = <0x00019000 DT_SIZE_K(240)>;
51
52
};
53
+
52
54
/* Non-secure image primary slot */
53
55
slot1_ns_partition: partition@55000 {
54
56
reg = <0x00055000 DT_SIZE_K(168)>;
55
57
};
58
+
56
59
/* 4KB at the end of 512KB flash is set for storage */
57
- storage_partition: partition@7f000 {
60
+ storage_partition: partition@7f000 {
58
61
reg = <0x0007f000 DT_SIZE_K(4)>;
59
62
};
60
63
};
You can’t perform that action at this time.
0 commit comments