Skip to content

Commit 69330fd

Browse files
jbrun3tsuperna9999
authored andcommitted
arm64: dts: amlogic: c3: assign the MMC signal clocks
The amlogic MMC driver operate with the assumption that MMC clock is configured to provide 24MHz. It uses this path for low rates such as 400kHz. Assign the clocks to make sure they are properly configured Fixes: 520b792 ("arm64: dts: amlogic: add some device nodes for C3") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260114-amlogic-mmc-clocks-followup-v1-1-a999fafbe0aa@baylibre.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent 3a115d4 commit 69330fd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,10 @@
969969
no-sd;
970970
resets = <&reset RESET_SD_EMMC_A>;
971971
status = "disabled";
972+
973+
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_A>;
974+
assigned-clock-rates = <24000000>;
975+
972976
};
973977

974978
sd: mmc@8a000 {
@@ -984,6 +988,9 @@
984988
no-sdio;
985989
resets = <&reset RESET_SD_EMMC_B>;
986990
status = "disabled";
991+
992+
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_B>;
993+
assigned-clock-rates = <24000000>;
987994
};
988995

989996
nand: nand-controller@8d000 {

0 commit comments

Comments
 (0)