diff options
author | Yangtao Li <frank@allwinnertech.com> | 2024-10-31 04:02:23 -0300 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2024-11-10 17:23:57 +0800 |
commit | af1ad5675a2b5feebb49df0e0ac7dab1aeabfaa8 (patch) | |
tree | 1f7e3c55085251ebe6c546c6cd655d18096d5e79 | |
parent | 2496b2aaacf137250f4ca449f465e2cadaabb0e8 (diff) | |
download | linux-af1ad5675a2b5feebb49df0e0ac7dab1aeabfaa8.tar.gz linux-af1ad5675a2b5feebb49df0e0ac7dab1aeabfaa8.tar.bz2 linux-af1ad5675a2b5feebb49df0e0ac7dab1aeabfaa8.zip |
arm64: dts: allwinner: a100: perf1: Add eMMC and MMC node
A100 perf1 hava MicroSD slot and on-board eMMC module, add support for them.
Signed-off-by: Yangtao Li <frank@allwinnertech.com>
Signed-off-by: Cody Eksal <masterr3c0rd@epochal.quest>
Link: https://patch.msgid.link/20241031070232.1793078-11-masterr3c0rd@epochal.quest
[wens@csie.org: cherry-picked out of series and GPIO header inclusion added]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts index f5c5c1464482..a387bccdcefd 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts @@ -7,6 +7,8 @@ #include "sun50i-a100.dtsi" +#include <dt-bindings/gpio/gpio.h> + /{ model = "Allwinner A100 Perf1"; compatible = "allwinner,a100-perf1", "allwinner,sun50i-a100"; @@ -20,6 +22,22 @@ }; }; +&mmc0 { + vmmc-supply = <®_dcdc1>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ + bus-width = <4>; + status = "okay"; +}; + +&mmc2 { + vmmc-supply = <®_dcdc1>; + vqmmc-supply = <®_aldo1>; + cap-mmc-hw-reset; + non-removable; + bus-width = <8>; + status = "okay"; +}; + &pio { vcc-pb-supply = <®_dcdc1>; vcc-pc-supply = <®_eldo1>; |