0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board
0004 *
0005 * Copyright (C) 2018 Olimex Ltd.
0006 * Author: Stefan Mavrodiev <stefan@olimex.com>
0007 */
0008
0009 /dts-v1/;
0010 #include "sun7i-a20-olimex-som-evb.dts"
0011
0012 / {
0013
0014 model = "Olimex A20-Olimex-SOM-EVB-eMMC";
0015 compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20";
0016
0017 mmc2_pwrseq: mmc2_pwrseq {
0018 compatible = "mmc-pwrseq-emmc";
0019 reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>;
0020 };
0021 };
0022
0023 &mmc2 {
0024 vmmc-supply = <®_vcc3v3>;
0025 mmc-pwrseq = <&mmc2_pwrseq>;
0026 bus-width = <4>;
0027 non-removable;
0028 status = "okay";
0029
0030 emmc: emmc@0 {
0031 reg = <0>;
0032 compatible = "mmc-card";
0033 broken-hpi;
0034 };
0035 };