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