Stefan Mavrodiev | c533ea1 | 2018-02-02 15:56:33 +0200 | [diff] [blame] | 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 { |
Stefan Mavrodiev | c533ea1 | 2018-02-02 15:56:33 +0200 | [diff] [blame] | 23 | vmmc-supply = <®_vcc3v3>; |
| 24 | mmc-pwrseq = <&mmc2_pwrseq>; |
| 25 | bus-width = <4>; |
| 26 | non-removable; |
| 27 | status = "okay"; |
| 28 | |
| 29 | emmc: emmc@0 { |
| 30 | reg = <0>; |
| 31 | compatible = "mmc-card"; |
| 32 | broken-hpi; |
| 33 | }; |
| 34 | }; |