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>
This commit is contained in:
Yangtao Li
2024-10-31 04:02:23 -03:00
committed by Chen-Yu Tsai
parent 2496b2aaac
commit af1ad5675a

View File

@@ -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 @@ chosen {
};
};
&mmc0 {
vmmc-supply = <&reg_dcdc1>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
bus-width = <4>;
status = "okay";
};
&mmc2 {
vmmc-supply = <&reg_dcdc1>;
vqmmc-supply = <&reg_aldo1>;
cap-mmc-hw-reset;
non-removable;
bus-width = <8>;
status = "okay";
};
&pio {
vcc-pb-supply = <&reg_dcdc1>;
vcc-pc-supply = <&reg_eldo1>;