]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Fix reset for usart1 in scmi configuration
authorPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 4 Jan 2024 12:37:50 +0000 (13:37 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Jan 2024 13:03:28 +0000 (14:03 +0100)
In SCMI configuration, usart1 is secure, so all its resources are secured
(clock and reset) and can't be set/unset by non-secure world but by OP-TEE.

Fixes: 6cccc8d396bf ("ARM: dts: stm32: add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp15-scmi-u-boot.dtsi

index 7c8fec6cbfb754ac53158ff2d08255052b563760..79494ecad90a8873397ab339d145fa0fdc835a2b 100644 (file)
 };
 
 &usart1 {
-       resets = <&rcc USART1_R>;
+       resets = <&scmi_reset RST_SCMI_USART1>;
 };
 
 &usart2 {