mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-28 09:41:41 +00:00
46 lines
1.1 KiB
Diff
46 lines
1.1 KiB
Diff
diff --git a/arch/arm/dts/rk3399-rockpro64.dts b/arch/arm/dts/rk3399-rockpro64.dts
|
|
index 12c7900..41dc902 100644
|
|
--- a/arch/arm/dts/rk3399-rockpro64.dts
|
|
+++ b/arch/arm/dts/rk3399-rockpro64.dts
|
|
@@ -374,6 +374,19 @@
|
|
};
|
|
};
|
|
|
|
+ vcc3v0_sd: vcc3v0-sd {
|
|
+ compatible = "regulator-fixed";
|
|
+ enable-active-high;
|
|
+ gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&sdmmc0_pwr_h>;
|
|
+ regulator-always-on;
|
|
+ regulator-max-microvolt = <3000000>;
|
|
+ regulator-min-microvolt = <3000000>;
|
|
+ regulator-name = "vcc3v0_sd";
|
|
+ vin-supply = <&vcc3v3_sys>;
|
|
+ };
|
|
+
|
|
vcc3v3_s3: SWITCH_REG1 {
|
|
regulator-name = "vcc3v3_s3";
|
|
regulator-always-on;
|
|
@@ -438,6 +451,13 @@
|
|
};
|
|
};
|
|
|
|
+ sd {
|
|
+ sdmmc0_pwr_h: sdmmc0-pwr-h {
|
|
+ rockchip,pins =
|
|
+ <RK_GPIO0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ };
|
|
+ };
|
|
+
|
|
sdio-pwrseq {
|
|
wifi_enable_h: wifi-enable-h {
|
|
rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
@@ -470,6 +490,7 @@
|
|
};
|
|
|
|
&sdmmc {
|
|
+ vmmc-supply = <&vcc3v0_sd>;
|
|
u-boot,dm-spl;
|
|
bus-width = <4>;
|
|
status = "okay";
|