[openwrt/openwrt] ath79: teltonika-rut230: drop reg_usb_vbus
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 12 12:37:29 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/46a6f4968530f1f3b9d7ad0d3b1cac302ef45388
commit 46a6f4968530f1f3b9d7ad0d3b1cac302ef45388
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Sat Jan 4 02:12:42 2025 +0100
ath79: teltonika-rut230: drop reg_usb_vbus
USB VBUS regulator was attached to GPIO19, which isn't in fact
controlling the modem power itself, but rather modem power key - which
has to be asserted high for at least 500ms, to start the modem. Keeping
it high allows the modem to reboot upon shutdown - so it is desirable to
control this line from userspace, for example - to allow clean modem
shutdown down upon powering off the router part.
Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17503
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
index aa8a220470..abac279775 100644
--- a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
+++ b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts
@@ -102,15 +102,6 @@
/* GPIO 14 - ACTIVE HIGH for hwrev 0 */
};
};
-
- reg_usb_vbus: reg_usb_vbus {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
};
ð0 {
@@ -197,7 +188,6 @@
&usb {
dr_mode = "host";
- vbus-supply = <®_usb_vbus>;
status = "okay";
};
More information about the lede-commits
mailing list