Skip to content

Commit 48d9625

Browse files
ldesrochesCodrin Ciubotariu
authored andcommitted
ARM: dts: at91: sama5d2: set the sdmmc gclk frequency
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>
1 parent d718bed commit 48d9625

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@
300300
interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
301301
clocks = <&pmc PMC_TYPE_PERIPHERAL 31>, <&pmc PMC_TYPE_GCK 31>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
302302
clock-names = "hclock", "multclk", "baseclk";
303+
assigned-clocks = <&pmc PMC_TYPE_GCK 31>;
304+
assigned-clock-rates = <480000000>;
303305
status = "disabled";
304306
};
305307

@@ -309,6 +311,8 @@
309311
interrupts = <32 IRQ_TYPE_LEVEL_HIGH 0>;
310312
clocks = <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_GCK 32>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
311313
clock-names = "hclock", "multclk", "baseclk";
314+
assigned-clocks = <&pmc PMC_TYPE_GCK 32>;
315+
assigned-clock-rates = <480000000>;
312316
status = "disabled";
313317
};
314318

0 commit comments

Comments
 (0)