[PATCH 25/34] ARM: dts: at91: sama7g5: add assigned clocks for sdmmc1

Eugen Hristev eugen.hristev at microchip.com
Thu Dec 3 10:28:41 CET 2020


SDMMC1 requires clock specification with assigned-clocks, such that
the PMC will know which parent to assign and the initial start-up frequency.

Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
---
 arch/arm/dts/sama7g5.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 43fac992ee..826828bb17 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm/dts/sama7g5.dtsi
@@ -96,6 +96,9 @@
 				reg = <0xe1208000 0x300>;
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 81>, <&pmc PMC_TYPE_GCK 81>;
 				clock-names = "hclock", "multclk";
+				assigned-clocks = <&pmc PMC_TYPE_GCK 81>;
+				assigned-clock-rates = <200000000>;
+				assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div. */
 				status = "disabled";
 			};
 
-- 
2.25.1



More information about the U-Boot mailing list