From: Eugen Hristev <eugen.hristev@microchip.com>
Date: Thu, 30 Jul 2020 12:50:59 +0000 (+0300)
Subject: ARM: dts: at91: sama7g5: add assigned clocks for sdmmc1
X-Git-Tag: v2025.01-rc5-pxa1908~2070^2~9
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=9b6f157e19ef4bdc0d75b387ec7500c4c275beed;p=u-boot.git

ARM: dts: at91: sama7g5: add assigned clocks for sdmmc1

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@microchip.com>
---

diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 17710e4e6f..9e9f84fe06 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";
 			};