Skip to content

Commit c6ccd0d

Browse files
jbrun3tsuperna9999
authored andcommitted
arm64: dts: amlogic: a1: align the mmc clock setup
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. A1 is particular in the way that is already has the mmc clock set to 24MHz by forcing the mux to select the board crystal. It works too, it is just slightly less readable. Align with what is being done with the other Amlogic platforms. 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-2-a999fafbe0aa@baylibre.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent 69330fd commit c6ccd0d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

arch/arm64/boot/dts/amlogic/meson-a1.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,11 +674,12 @@
674674
clock-names = "core",
675675
"clkin0",
676676
"clkin1";
677-
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_SEL2>;
678-
assigned-clock-parents = <&xtal>;
679677
resets = <&reset RESET_SD_EMMC_A>;
680678
power-domains = <&pwrc PWRC_SD_EMMC_ID>;
681679
status = "disabled";
680+
681+
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC>;
682+
assigned-clock-rates = <24000000>;
682683
};
683684
};
684685

0 commit comments

Comments
 (0)