From fcf7e8b7b2c495396b84d1f34bb42788698a4540 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Thu, 26 Jan 2023 17:20:33 +0100 Subject: [PATCH] ARM: dts: stm32: explicit clocks needed by RCC clock driver into stm32mp151.dtsi Define in the RCC clock provider node which root clocks the driver depends on. These are root oscillators, which may be present or not, upon FDT content. For "st,stm32mp1-rcc-secure", these clocks are provided by secure world with SCMI server. For "st,stm32mp1-rcc" these clock should provided by fixed clock. This "clocks" property is optional but is required for bootloaders drivers (U-Boot) to manage booth compatible "st,stm32mp1-rcc-secure" and "st,stm32mp1-rcc" with the same driver. Signed-off-by: Patrick Delaunay Change-Id: I3a721ee818246f35adc7091a92e84c46091771d0 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/287316 ACI: CITOOLS ACI: CIBUILD Reviewed-by: Gabriel FERNANDEZ --- arch/arm/boot/dts/stm32mp151.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi index 36337c1c035a..734bfcc6381e 100644 --- a/arch/arm/boot/dts/stm32mp151.dtsi +++ b/arch/arm/boot/dts/stm32mp151.dtsi @@ -181,6 +181,10 @@ reg = <0x50000000 0x1000>; #clock-cells = <1>; #reset-cells = <1>; + + clock-names = "hse", "hsi", "csi", "lse", "lsi"; + clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>, + <&clk_lse>, <&clk_lsi>; }; pwr_regulators: pwr@50001000 {