diff --git a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts index abac2797753..ee59cecabb3 100644 --- a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts +++ b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts @@ -191,15 +191,6 @@ status = "okay"; }; -&gpio { - modem-power { - gpio-hog; - output-low; - gpios = <18 GPIO_ACTIVE_HIGH>; - line-name = "modem-power"; - }; -}; - &usb_phy { status = "okay"; }; diff --git a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches index d5b41dc0b80..fe71b7b3c40 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches +++ b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches @@ -48,6 +48,11 @@ dlink,dir-835-a1) librerouter,librerouter-v1) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "513" "0" ;; +teltonika,rut230-v1) + ucidef_add_gpio_switch "DOUT" "DOUT" "524" "0" + ucidef_add_gpio_switch "modem_pwr" "Modem power" "531" "1" + ucidef_add_gpio_switch "modem_rst" "Modem reset" "530" "0" + ;; teltonika,rut955) ucidef_add_gpio_switch "sim_sel" "SIM select" "542" "1" ucidef_add_gpio_switch "DOUT1" "DOUT1 (OC)" "543" "0"