xref: /freebsd/sys/contrib/device-tree/src/arm/allwinner/sun7i-a20-olinuxino-lime-emmc.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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