mediatek: drop useless vqmmc-supply for cmcc rax3000m

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-09-27 22:23:55 +08:00
parent 079a492ac1
commit 975bdc7f8c
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 2 additions and 37 deletions

View File

@ -444,22 +444,13 @@
+}; +};
--- /dev/null --- /dev/null
+++ b/arch/arm/dts/mt7981-cmcc-rax3000m-emmc.dts +++ b/arch/arm/dts/mt7981-cmcc-rax3000m-emmc.dts
@@ -0,0 +1,63 @@ @@ -0,0 +1,54 @@
+// SPDX-License-Identifier: GPL-2.0-only +// SPDX-License-Identifier: GPL-2.0-only
+ +
+/dts-v1/; +/dts-v1/;
+#include "mt7981-cmcc-rax3000m.dtsi" +#include "mt7981-cmcc-rax3000m.dtsi"
+ +
+/ { +/ {
+ reg_1p8v: regulator-1p8v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-1.8V";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ reg_3p3v: regulator-3p3v { + reg_3p3v: regulator-3p3v {
+ compatible = "regulator-fixed"; + compatible = "regulator-fixed";
+ regulator-name = "fixed-3.3V"; + regulator-name = "fixed-3.3V";
@ -477,7 +468,6 @@
+ bus-width = <8>; + bus-width = <8>;
+ cap-mmc-hw-reset; + cap-mmc-hw-reset;
+ vmmc-supply = <&reg_3p3v>; + vmmc-supply = <&reg_3p3v>;
+ vqmmc-supply = <&reg_1p8v>;
+ non-removable; + non-removable;
+ status = "okay"; + status = "okay";
+}; +};

View File

@ -10,15 +10,6 @@
chosen { chosen {
bootargs = "root=PARTLABEL=rootfs rootwait rootfstype=squashfs,f2fs"; bootargs = "root=PARTLABEL=rootfs rootwait rootfstype=squashfs,f2fs";
}; };
reg_1p8v: regulator-1p8v {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
}; };
&mmc0 { &mmc0 {
@ -31,7 +22,6 @@
pinctrl-0 = <&mmc0_pins_default>; pinctrl-0 = <&mmc0_pins_default>;
pinctrl-1 = <&mmc0_pins_uhs>; pinctrl-1 = <&mmc0_pins_uhs>;
vmmc-supply = <&reg_3p3v>; vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&reg_1p8v>;
status = "okay"; status = "okay";
}; };

View File

@ -7,20 +7,6 @@
compatible = "cmcc,rax3000m", "mediatek,mt7981"; compatible = "cmcc,rax3000m", "mediatek,mt7981";
fragment@0 { fragment@0 {
target-path = "/";
__overlay__ {
reg_1p8v: regulator-1p8v {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
};
};
fragment@1 {
target = <&mmc0>; target = <&mmc0>;
__overlay__ { __overlay__ {
bus-width = <8>; bus-width = <8>;
@ -32,12 +18,11 @@
pinctrl-0 = <&mmc0_pins_default>; pinctrl-0 = <&mmc0_pins_default>;
pinctrl-1 = <&mmc0_pins_uhs>; pinctrl-1 = <&mmc0_pins_uhs>;
vmmc-supply = <&reg_3p3v>; vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&reg_1p8v>;
status = "okay"; status = "okay";
}; };
}; };
fragment@2 { fragment@1 {
target = <&pio>; target = <&pio>;
__overlay__ { __overlay__ {
mmc0_pins_default: mmc0-pins { mmc0_pins_default: mmc0-pins {