ARM: dts: stm32: switch from fixed to scmi clocks for stm32mp257f-ev1
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 27 May 2025 13:27:54 +0000 (15:27 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:55 +0000 (09:42 +0200)
SCMI clocks are now available, switch from fixed to SCMI clocks.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp25-u-boot.dtsi
arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi

index 0c8e95b..d9aeeb6 100644 (file)
                optee {
                        bootph-all;
                };
+
+               scmi {
+                       bootph-all;
+               };
        };
 
        /* need PSCI for sysreset during board_f */
        bootph-all;
 };
 
+&rcc {
+       bootph-all;
+};
+
 &rifsc {
        bootph-all;
 };
index d778b8d..9a566e1 100644 (file)
                u-boot,boot-led = "led-blue";
                u-boot,mmc-env-partition = "u-boot-env";
        };
-
-       clocks {
-               ck_flexgen_08: ck-flexgen-08 {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <64000000>;
-               };
-
-               ck_flexgen_51: ck-flexgen-51 {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <200000000>;
-               };
-
-               ck_icn_ls_mcu: ck-icn-ls-mcu {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <200000000>;
-               };
-       };
-};
-
-&gpioa {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpiob {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpioc {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpiod {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpioe {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpiof {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpiog {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpioh {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpioi {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpioj {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpiok {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&gpioz {
-       clocks = <&ck_icn_ls_mcu>;
-};
-
-&sdmmc1 {
-       clocks = <&ck_flexgen_51>;
-       /delete-property/resets;
 };
 
 &usart2 {
        bootph-all;
-       clocks = <&ck_flexgen_08>;
 };
 
 &usart2_pins_a {