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 <patrick.delaunay@foss.st.com>
Change-Id: I3a721ee818246f35adc7091a92e84c46091771d0
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/287316
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
ACI: CIBUILD <MDG-smet-aci-builds@list.st.com>
Reviewed-by: Gabriel FERNANDEZ <gabriel.fernandez@foss.st.com>
This commit is contained in:
Patrick Delaunay
2023-01-26 17:20:33 +01:00
committed by Eric Fourmont
parent 02fd90372a
commit fcf7e8b7b2

View File

@ -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 {