Skip to content

Commit 8d9923b

Browse files
Sergei Shtylyovhorms
authored andcommitted
arm64: dts: renesas: v3msk: add eMMC support
Add the eMMC chip support for the V3M Started Kit board. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 979e32b commit 8d9923b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@
5151
regulator-always-on;
5252
};
5353

54+
vcc_vddq_vin0: regulator-2 {
55+
compatible = "regulator-fixed";
56+
regulator-name = "VCC_VDDQ_VIN0";
57+
regulator-min-microvolt = <3300000>;
58+
regulator-max-microvolt = <3300000>;
59+
regulator-boot-on;
60+
regulator-always-on;
61+
};
62+
5463
lvds-decoder {
5564
compatible = "thine,thc63lvd1024";
5665
vcc-supply = <&vcc_d3_3v>;
@@ -128,6 +137,12 @@
128137
function = "i2c0";
129138
};
130139

140+
mmc_pins: mmc_3_3v {
141+
groups = "mmc_data8", "mmc_ctrl";
142+
function = "mmc";
143+
power-source = <3300>;
144+
};
145+
131146
scif0_pins: scif0 {
132147
groups = "scif0_data";
133148
function = "scif0";
@@ -192,6 +207,17 @@
192207
};
193208
};
194209

210+
&mmc0 {
211+
pinctrl-0 = <&mmc_pins>;
212+
pinctrl-names = "default";
213+
214+
vmmc-supply = <&vcc_d3_3v>;
215+
vqmmc-supply = <&vcc_vddq_vin0>;
216+
bus-width = <8>;
217+
non-removable;
218+
status = "okay";
219+
};
220+
195221
&scif0 {
196222
pinctrl-0 = <&scif0_pins>;
197223
pinctrl-names = "default";

0 commit comments

Comments
 (0)