Skip to content

Commit d351970

Browse files
committed
emmc: dts: add gpio control for vcc_flash
Change-Id: I04200c6ef6fb02452cd35eba5d1d4562909e4b0e Reviewed-on: https://tp-biosrd-v02/gerrit/80144 Reviewed-by: Alex Cheng(鄭富元) <Alex_Cheng@asus.com> Tested-by: Alex Cheng(鄭富元) <Alex_Cheng@asus.com>
1 parent ea22619 commit d351970

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

arch/arm/boot/dts/rk3288-miniarm.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@
115115
io-domains {
116116
compatible = "rockchip,rk3288-io-voltage-domain";
117117
rockchip,grf = <&grf>;
118+
flash0-supply = <&vcc_flash>;
119+
gpio30-supply = <&vcc_io>;
118120
wifi-supply = <&vcc_18>;
119121
sdcard-supply = <&vccio_sd>;
120122
};
@@ -212,6 +214,14 @@
212214
vin-supply = <&vcc_io>;
213215
};
214216

217+
vcc_flash: flash-regulator {
218+
compatible = "regulator-fixed";
219+
regulator-name = "vcc_flash";
220+
regulator-min-microvolt = <1800000>;
221+
regulator-max-microvolt = <1800000>;
222+
vin-supply = <&vcc_io>;
223+
};
224+
215225
vdd_log: vdd_log {
216226
compatible = "regulator-fixed";
217227
regulator-min-microvolt = <1000000>;

arch/arm/boot/dts/rk3288.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
fifo-depth = <0x100>;
348348
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
349349
reg = <0x0 0xff0f0000 0x0 0x4000>;
350-
status = "disabled";
350+
status = "okay";
351351
supports-emmc;
352352
};
353353

0 commit comments

Comments
 (0)