ARM: dts: armada388-clearfog: enable spi flash
[linux-2.6-block.git] / arch / arm / boot / dts / sun7i-a20-olimex-som204-evb-emmc.dts
CommitLineData
8edf68ef
SM
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree Source for A20-SOM204-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-som204-evb.dts"
11
12/ {
13 model = "Olimex A20-SOM204-EVB-eMMC";
14 compatible = "olimex,a20-olimex-som204-evb-emmc", "allwinner,sun7i-a20";
15
16 mmc2_pwrseq: mmc2_pwrseq {
17 compatible = "mmc-pwrseq-emmc";
18 reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>;
19 };
20};
21
22&mmc2 {
23 pinctrl-names = "default";
24 pinctrl-0 = <&mmc2_pins_a>;
25 vmmc-supply = <&reg_vcc3v3>;
26 mmc-pwrseq = <&mmc2_pwrseq>;
27 bus-width = <4>;
28 non-removable;
29 status = "okay";
30
31 emmc: emmc@0 {
32 reg = <0>;
33 compatible = "mmc-card";
34 broken-hpi;
35 };
36};