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