Skip to content

Commit 09f32e3

Browse files
committed
boards: stm32l562e_dk: Avoid GPIO pinctrl for non secure target
After TZ is enabled, the GPIO peripherals are secured and are not accessible from non secure world. This commit prevents the GPIO pinctrl from the non secure target for stm32l562e_dk board. Signed-off-by: Yestin Sun <[email protected]>
1 parent 883394f commit 09f32e3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

boards/arm/stm32l562e_dk/stm32l562e_dk.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@
2626
sw0 = &user_button;
2727
};
2828
};
29+
30+
&usart1 {
31+
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
32+
};

boards/arm/stm32l562e_dk/stm32l562e_dk_common.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
};
3232

3333
&usart1 {
34-
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
3534
current-speed = <115200>;
3635
status = "okay";
3736
};

0 commit comments

Comments
 (0)