[PATCH v2 10/13] arm64: dts: allwinner: a100: perf1: Add eMMC and MMC node
Chen-Yu Tsai
wens at csie.org
Sat Nov 2 04:48:41 PDT 2024
On Thu, Oct 31, 2024 at 3:03 PM Cody Eksal <masterr3c0rd at epochal.quest> wrote:
>
> From: Yangtao Li <frank at allwinnertech.com>
>
> A100 perf1 hava MicroSD slot and on-board eMMC module, add support for them.
>
> Signed-off-by: Yangtao Li <frank at allwinnertech.com>
> Signed-off-by: Cody Eksal <masterr3c0rd at epochal.quest>
So I skipped this one since Andre had some questions about the previous
mmc clock patch. And I believe this one won't work without it?
ChenYu
> ---
> .../allwinner/sun50i-a100-allwinner-perf1.dts | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
> index 2f8c7ee60283..d418fc272b3c 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
> @@ -39,6 +39,22 @@ &ehci1 {
> status = "okay";
> };
>
> +&mmc0 {
> + vmmc-supply = <®_dcdc1>;
> + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
> + bus-width = <4>;
> + status = "okay";
> +};
> +
> +&mmc2 {
> + vmmc-supply = <®_dcdc1>;
> + vqmmc-supply = <®_aldo1>;
> + cap-mmc-hw-reset;
> + non-removable;
> + bus-width = <8>;
> + status = "okay";
> +};
> +
> &ohci0 {
> status = "okay";
> };
> --
> 2.47.0
>
More information about the linux-arm-kernel
mailing list