[openwrt/openwrt] ramips: dts: mt7621: remove redundant USB regulators

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 7 11:30:15 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/548d993a0480e21ab9378a8ad638398f248923e2

commit 548d993a0480e21ab9378a8ad638398f248923e2
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Tue May 20 07:50:56 2025 +0800

    ramips: dts: mt7621: remove redundant USB regulators
    
    We have added the default voltage regulators for the mt7621 SoC
    dtsi. These redundant voltage regulators can be removed now.
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/18886
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../ramips/dts/mt7621_gemtek_wvrtm-1xxacn.dtsi     | 23 ----------------------
 target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts | 10 ----------
 .../ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts      | 10 ----------
 target/linux/ramips/dts/mt7621_tplink_er605-v2.dts | 10 ----------
 4 files changed, 53 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_gemtek_wvrtm-1xxacn.dtsi b/target/linux/ramips/dts/mt7621_gemtek_wvrtm-1xxacn.dtsi
index 8b64508215..e6b7f8c204 100644
--- a/target/linux/ramips/dts/mt7621_gemtek_wvrtm-1xxacn.dtsi
+++ b/target/linux/ramips/dts/mt7621_gemtek_wvrtm-1xxacn.dtsi
@@ -119,24 +119,6 @@
 		reg = <0x0 0x8000000>;
 	};
 
-	reg_usb_vbus: regulator {
-		compatible = "regulator-fixed";
-		regulator-name = "usb_vbus";
-		regulator-min-microvolt = <5000000>;
-		regulator-max-microvolt = <5000000>;
-		regulator-boot-on;
-		regulator-always-on;
-	};
-
-	reg_3p3v: regulator-3p3v {
-		compatible = "regulator-fixed";
-		regulator-name = "fixed-3.3V";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-boot-on;
-		regulator-always-on;
-	};
-
 	ubi-concat {
 		compatible = "mtd-concat";
 		devices = <&ubiconcat0 &ubiconcat1 &ubiconcat2 &ubiconcat3>;
@@ -280,8 +262,3 @@
 		};
 	};
 };
-
-&xhci {
-	vbus-supply = <&reg_usb_vbus>;
-	vusb33-supply = <&reg_3p3v>;
-};
diff --git a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts
index 4270226926..4cbdc3ab97 100644
--- a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts
+++ b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts
@@ -65,15 +65,6 @@
 		gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
-
-	reg_3p3v: regulator-3p3v {
-		compatible = "regulator-fixed";
-		regulator-name = "fixed-3.3V";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-boot-on;
-		regulator-always-on;
-	};
 };
 
 &gmac0 {
@@ -218,5 +209,4 @@
 
 &xhci {
 	vbus-supply = <&reg_usb_vbus>;
-	vusb33-supply = <&reg_3p3v>;
 };
diff --git a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts
index b4324feccf..93d17766e9 100644
--- a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts
+++ b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts
@@ -67,15 +67,6 @@
 		gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
-
-	reg_3p3v: regulator-3p3v {
-		compatible = "regulator-fixed";
-		regulator-name = "fixed-3.3V";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-boot-on;
-		regulator-always-on;
-	};
 };
 
 &state_default {
@@ -203,7 +194,6 @@
 };
 
 &xhci {
-	vusb33-supply = <&reg_3p3v>;
 	vbus-supply = <&reg_usb_vbus>;
 };
 
diff --git a/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts b/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
index 3d92e343f1..be9efbf0e9 100644
--- a/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
@@ -67,15 +67,6 @@
 		gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
-
-	reg_3p3v: regulator-3p3v {
-		compatible = "regulator-fixed";
-		regulator-name = "fixed-3.3V";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-boot-on;
-		regulator-always-on;
-	};
 };
 
 &gmac0 {
@@ -171,7 +162,6 @@
 };
 
 &xhci {
-	vusb33-supply = <&reg_3p3v>;
 	vbus-supply = <&reg_usb_vbus>;
 };
 




More information about the lede-commits mailing list