diff --git a/boards/st/nucleo_l552ze_q/nucleo_l552ze_q-common.dtsi b/boards/st/nucleo_l552ze_q/nucleo_l552ze_q-common.dtsi index e0faedcc8e7..28a1e684492 100644 --- a/boards/st/nucleo_l552ze_q/nucleo_l552ze_q-common.dtsi +++ b/boards/st/nucleo_l552ze_q/nucleo_l552ze_q-common.dtsi @@ -12,14 +12,17 @@ / { leds: leds { compatible = "gpio-leds"; + green_led_1: led_1 { gpios = <&gpioc 7 GPIO_ACTIVE_HIGH>; label = "User LD1"; }; + blue_led_1: led_2 { gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>; label = "User LD2"; }; + red_led_1: led_3 { gpios = <&gpioa 9 GPIO_ACTIVE_HIGH>; label = "User LD3"; @@ -28,6 +31,7 @@ gpio_keys { compatible = "gpio-keys"; + user_button: button { label = "User"; gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; diff --git a/boards/st/nucleo_l552ze_q/nucleo_l552ze_q_stm32l552xx_ns.dts b/boards/st/nucleo_l552ze_q/nucleo_l552ze_q_stm32l552xx_ns.dts index d18c84cae1f..7c689eb76fb 100644 --- a/boards/st/nucleo_l552ze_q/nucleo_l552ze_q_stm32l552xx_ns.dts +++ b/boards/st/nucleo_l552ze_q/nucleo_l552ze_q_stm32l552xx_ns.dts @@ -29,7 +29,6 @@ }; &flash0 { - partitions { compatible = "fixed-partitions"; #address-cells = <1>; @@ -47,21 +46,25 @@ reg = <0x00000000 DT_SIZE_K(80)>; read-only; }; + /* Secure image primary slot */ slot0_partition: partition@14000 { label = "image-0"; reg = <0x00014000 DT_SIZE_K(180)>; }; + /* Non-secure image primary slot */ slot0_ns_partition: partition@41000 { label = "image-0-nonsecure"; reg = <0x00041000 DT_SIZE_K(36)>; }; + /* Secure image secondary slot */ slot1_partition: partition@4a000 { label = "image-1"; reg = <0x0004a000 DT_SIZE_K(180)>; }; + /* Non-secure image secondary slot */ slot1_ns_partition: partition@77000 { label = "image-1-nonsecure"; diff --git a/boards/st/stm32l562e_dk/stm32l562e_dk.dts b/boards/st/stm32l562e_dk/stm32l562e_dk.dts index 9489e8d5429..e64ef2cfd26 100644 --- a/boards/st/stm32l562e_dk/stm32l562e_dk.dts +++ b/boards/st/stm32l562e_dk/stm32l562e_dk.dts @@ -51,7 +51,7 @@ /* 2KB at the end of 512KB flash is set for storage */ storage_partition: partition@7f800 { - reg = <0x0007f800 DT_SIZE_K(2)>; - }; + reg = <0x0007f800 DT_SIZE_K(2)>; + }; }; }; diff --git a/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi b/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi index 3991e360bab..4ac2bb866be 100644 --- a/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi +++ b/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi @@ -14,10 +14,12 @@ / { leds { compatible = "gpio-leds"; + red_led_9: led_9 { gpios = <&gpiod 3 GPIO_ACTIVE_LOW>; label = "User LD9"; }; + green_led_10: led_10 { gpios = <&gpiog 12 GPIO_ACTIVE_LOW>; label = "User LD10"; @@ -26,6 +28,7 @@ gpio_keys { compatible = "gpio-keys"; + user_button: button { label = "User"; gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; @@ -90,6 +93,7 @@ register-select-pin = <0>; #address-cells = <1>; #size-cells = <0>; + st7789v: lcd-panel@0 { compatible = "sitronix,st7789v"; reg = <0>; diff --git a/boards/st/stm32l562e_dk/stm32l562e_dk_stm32l562xx_ns.dts b/boards/st/stm32l562e_dk/stm32l562e_dk_stm32l562xx_ns.dts index a7baf951158..6bb025077bb 100644 --- a/boards/st/stm32l562e_dk/stm32l562e_dk_stm32l562xx_ns.dts +++ b/boards/st/stm32l562e_dk/stm32l562e_dk_stm32l562xx_ns.dts @@ -45,16 +45,19 @@ reg = <0x00000000 DT_SIZE_K(100)>; read-only; }; + /* Secure image primary slot */ slot0_partition: partition@19000 { reg = <0x00019000 DT_SIZE_K(240)>; }; + /* Non-secure image primary slot */ slot1_ns_partition: partition@55000 { reg = <0x00055000 DT_SIZE_K(168)>; }; + /* 4KB at the end of 512KB flash is set for storage */ - storage_partition: partition@7f000 { + storage_partition: partition@7f000 { reg = <0x0007f000 DT_SIZE_K(4)>; }; };