Jagan Teki | 41a7f43 | 2019-04-12 16:19:34 +0530 | [diff] [blame^] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Device Tree Source for A20-Olimex-SOM-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-som-evb.dts" |
| 11 | |
| 12 | / { |
| 13 | |
| 14 | model = "Olimex A20-Olimex-SOM-EVB-eMMC"; |
| 15 | compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20"; |
| 16 | |
| 17 | mmc2_pwrseq: mmc2_pwrseq { |
| 18 | compatible = "mmc-pwrseq-emmc"; |
| 19 | reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &mmc2 { |
| 24 | vmmc-supply = <®_vcc3v3>; |
| 25 | mmc-pwrseq = <&mmc2_pwrseq>; |
| 26 | bus-width = <4>; |
| 27 | non-removable; |
| 28 | status = "okay"; |
| 29 | |
| 30 | emmc: emmc@0 { |
| 31 | reg = <0>; |
| 32 | compatible = "mmc-card"; |
| 33 | broken-hpi; |
| 34 | }; |
| 35 | }; |