mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 12:33:41 +00:00
d682cff440
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot. This patch adds defconfig and dts files for this board. The dts is same with mainline kernel. Signed-off-by: Stefan Mavrodiev <stefan@olimex.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
36 lines
735 B
Text
36 lines
735 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Device Tree Source for A20-SOM204-EVB-eMMC Board
|
|
*
|
|
* Copyright (C) 2018 Olimex Ltd.
|
|
* Author: Stefan Mavrodiev <stefan@olimex.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "sun7i-a20-olimex-som204-evb.dts"
|
|
|
|
/ {
|
|
model = "Olimex A20-SOM204-EVB-eMMC";
|
|
compatible = "olimex,a20-olimex-som204-evb-emmc", "allwinner,sun7i-a20";
|
|
|
|
mmc2_pwrseq: mmc2_pwrseq {
|
|
compatible = "mmc-pwrseq-emmc";
|
|
reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
&mmc2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc2_pins_a>;
|
|
vmmc-supply = <®_vcc3v3>;
|
|
mmc-pwrseq = <&mmc2_pwrseq>;
|
|
bus-width = <4>;
|
|
non-removable;
|
|
status = "okay";
|
|
|
|
emmc: emmc@0 {
|
|
reg = <0>;
|
|
compatible = "mmc-card";
|
|
broken-hpi;
|
|
};
|
|
};
|