ARM: dts: at91: sama5d2: set the sdmmc gclk frequency
authorLudovic Desroches <ludovic.desroches@microchip.com>
Thu, 28 Nov 2019 07:45:22 +0000 (08:45 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 9 Dec 2019 23:42:24 +0000 (00:42 +0100)
Set the frequency of the generated clock used by sdmmc devices in order
to not rely on the configuration done by previous components.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20191128074522.69706-3-ludovic.desroches@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/sama5d2.dtsi

index 1b6f44b47f4563ff6328a8dd6997f403c190d6ad..2012b7407c605d16eabfac20f823f4be7577bc7f 100644 (file)
                        interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
                        clocks = <&pmc PMC_TYPE_PERIPHERAL 31>, <&pmc PMC_TYPE_GCK 31>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
                        clock-names = "hclock", "multclk", "baseclk";
+                       assigned-clocks = <&pmc PMC_TYPE_GCK 31>;
+                       assigned-clock-rates = <480000000>;
                        status = "disabled";
                };
 
                        interrupts = <32 IRQ_TYPE_LEVEL_HIGH 0>;
                        clocks = <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_GCK 32>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
                        clock-names = "hclock", "multclk", "baseclk";
+                       assigned-clocks = <&pmc PMC_TYPE_GCK 32>;
+                       assigned-clock-rates = <480000000>;
                        status = "disabled";
                };