ARM: dts: stm32: fix m4_rproc references to use SCMI for stm32mp15
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Wed, 17 May 2023 07:48:30 +0000 (09:48 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 17 May 2023 10:07:34 +0000 (12:07 +0200)
Fixes stm32mp15*-scmi DTS files introduced in [1]:
This patch fixes the node which uses the MCU reset and adds the
missing HOLD_BOOT which is also handled by the SCMI reset service.

This change cannot be applied as a fix on commit [1], the management
of the hold boot impacts also the stm32_rproc driver.

[1] 'commit 5b7e58313a77 ("ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")'

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp157a-dk1-scmi.dts
arch/arm/boot/dts/stm32mp157c-dk2-scmi.dts
arch/arm/boot/dts/stm32mp157c-ed1-scmi.dts
arch/arm/boot/dts/stm32mp157c-ev1-scmi.dts

index e539cc80bef8108cb4d55c3b4130958860c4e072..afcd6285890cc0dad551573a83b81decb8ae459a 100644 (file)
        resets = <&scmi_reset RST_SCMI_MDMA>;
 };
 
-&mlahb {
-       resets = <&scmi_reset RST_SCMI_MCU>;
+&m4_rproc {
+       /delete-property/ st,syscfg-holdboot;
+       resets = <&scmi_reset RST_SCMI_MCU>,
+                <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>;
+       reset-names =  "mcu_rst", "hold_boot";
 };
 
 &rcc {
index 97e4f94b0a24eeaedc34af98cccfbb76f7877152..39358d9020003153e9c3ba1a523675a6118d81be 100644 (file)
        resets = <&scmi_reset RST_SCMI_MDMA>;
 };
 
-&mlahb {
-       resets = <&scmi_reset RST_SCMI_MCU>;
+&m4_rproc {
+       /delete-property/ st,syscfg-holdboot;
+       resets = <&scmi_reset RST_SCMI_MCU>,
+                <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>;
+       reset-names =  "mcu_rst", "hold_boot";
 };
 
 &rcc {
index 9cf0a44d2f47e9e0d0329d896709b07b3d91465e..07ea765a4553a5f6a21ed498b8412bd5cfb3dd18 100644 (file)
        resets = <&scmi_reset RST_SCMI_MDMA>;
 };
 
-&mlahb {
-       resets = <&scmi_reset RST_SCMI_MCU>;
+&m4_rproc {
+       /delete-property/ st,syscfg-holdboot;
+       resets = <&scmi_reset RST_SCMI_MCU>,
+                <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>;
+       reset-names =  "mcu_rst", "hold_boot";
 };
 
 &rcc {
index 3b9dd6f4ccc96aabb22ddc6ad7a0b9913a394d35..813086ec248959295707f0b26dabc8c77f62c10c 100644 (file)
        resets = <&scmi_reset RST_SCMI_MDMA>;
 };
 
-&mlahb {
-       resets = <&scmi_reset RST_SCMI_MCU>;
+&m4_rproc {
+       /delete-property/ st,syscfg-holdboot;
+       resets = <&scmi_reset RST_SCMI_MCU>,
+                <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>;
+       reset-names =  "mcu_rst", "hold_boot";
 };
 
 &rcc {