Skip to content

Commit af1ad56

Browse files
Yangtao Liwens
authored andcommitted
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>
1 parent 2496b2a commit af1ad56

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "sun50i-a100.dtsi"
99

10+
#include <dt-bindings/gpio/gpio.h>
11+
1012
/{
1113
model = "Allwinner A100 Perf1";
1214
compatible = "allwinner,a100-perf1", "allwinner,sun50i-a100";
@@ -20,6 +22,22 @@
2022
};
2123
};
2224

25+
&mmc0 {
26+
vmmc-supply = <&reg_dcdc1>;
27+
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
28+
bus-width = <4>;
29+
status = "okay";
30+
};
31+
32+
&mmc2 {
33+
vmmc-supply = <&reg_dcdc1>;
34+
vqmmc-supply = <&reg_aldo1>;
35+
cap-mmc-hw-reset;
36+
non-removable;
37+
bus-width = <8>;
38+
status = "okay";
39+
};
40+
2341
&pio {
2442
vcc-pb-supply = <&reg_dcdc1>;
2543
vcc-pc-supply = <&reg_eldo1>;

0 commit comments

Comments
 (0)