]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: at91: sama7g5: add assigned clocks for sdmmc1
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 30 Jul 2020 12:50:59 +0000 (15:50 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 7 Jan 2021 07:44:16 +0000 (09:44 +0200)
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>
arch/arm/dts/sama7g5.dtsi

index 17710e4e6f6cd7f63191b92e4657bbc993601088..9e9f84fe06f89d03002cdebeefac98d0e5efafe1 100644 (file)
@@ -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";
                        };