blob: 20bf09b2226cf4780a8e7642ed5d1954c4966632 [file] [log] [blame]
Jagan Teki41a7f432019-04-12 16:19:34 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board
4 *
5 * Copyright (C) 2018 Olimex Ltd.
6 * Author: Stefan Mavrodiev <stefan@olimex.com>
7 */
8
9/dts-v1/;
10#include "sun7i-a20-olimex-som-evb.dts"
11
12/ {
13
14 model = "Olimex A20-Olimex-SOM-EVB-eMMC";
15 compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20";
16
17 mmc2_pwrseq: mmc2_pwrseq {
18 compatible = "mmc-pwrseq-emmc";
19 reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>;
20 };
21};
22
23&mmc2 {
24 vmmc-supply = <&reg_vcc3v3>;
25 mmc-pwrseq = <&mmc2_pwrseq>;
26 bus-width = <4>;
27 non-removable;
28 status = "okay";
29
30 emmc: emmc@0 {
31 reg = <0>;
32 compatible = "mmc-card";
33 broken-hpi;
34 };
35};