xref: /linux/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-lime-emmc.dts (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2020 Olimex Ltd.
4 *   Author: Stefan Mavrodiev <stefan@olimex.com>
5 */
6
7#include "sun7i-a20-olinuxino-lime.dts"
8
9/ {
10	model = "Olimex A20-OLinuXino-LIME-eMMC";
11	compatible = "olimex,a20-olinuxino-lime-emmc", "allwinner,sun7i-a20";
12
13	mmc2_pwrseq: pwrseq {
14		compatible = "mmc-pwrseq-emmc";
15		reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>;
16	};
17};
18
19&mmc2 {
20	vmmc-supply = <&reg_vcc3v3>;
21	vqmmc-supply = <&reg_vcc3v3>;
22	bus-width = <4>;
23	non-removable;
24	mmc-pwrseq = <&mmc2_pwrseq>;
25	status = "okay";
26
27	emmc: emmc@0 {
28		reg = <0>;
29		compatible = "mmc-card";
30		broken-hpi;
31	};
32};
33