Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yangtao Li and committed by
Chen-Yu Tsai
af1ad567 2496b2aa

+18
+18
arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
··· 7 7 8 8 #include "sun50i-a100.dtsi" 9 9 10 + #include <dt-bindings/gpio/gpio.h> 11 + 10 12 /{ 11 13 model = "Allwinner A100 Perf1"; 12 14 compatible = "allwinner,a100-perf1", "allwinner,sun50i-a100"; ··· 20 18 chosen { 21 19 stdout-path = "serial0:115200n8"; 22 20 }; 21 + }; 22 + 23 + &mmc0 { 24 + vmmc-supply = <&reg_dcdc1>; 25 + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ 26 + bus-width = <4>; 27 + status = "okay"; 28 + }; 29 + 30 + &mmc2 { 31 + vmmc-supply = <&reg_dcdc1>; 32 + vqmmc-supply = <&reg_aldo1>; 33 + cap-mmc-hw-reset; 34 + non-removable; 35 + bus-width = <8>; 36 + status = "okay"; 23 37 }; 24 38 25 39 &pio {