1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Merge pull request #119 from Ysurac/develop

sync
This commit is contained in:
suyuan 2022-04-03 15:41:50 +08:00 committed by GitHub
commit c99fd82b82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 6 deletions

View file

@ -1,7 +1,8 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2021 Teltonika Networks
# Copyright (C) 2022 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
START=96
START=2
USE_PROCD=1

View file

@ -356,7 +356,7 @@ platform_do_upgrade_ipq() {
return 1;
}
platform_copy_config() {
platform_copy_config_ipq() {
local emmcblock="$(find_mmc_part "rootfs_data")"
mkdir -p /tmp/overlay

View file

@ -208,6 +208,9 @@ platform_copy_config() {
glinet,gl-b2200)
emmc_copy_config
;;
teltonika,rutx)
platform_copy_config_ipq
;;
esac
return 0;
}

View file

@ -10,13 +10,13 @@
#size-cells = <0>;
gpio_modem_reset {
gpio-export,name = "modem_reset";
gpio-export,name = "modem1_reset";
gpio-export,output = <0>;
gpios = <&shift_io 16 GPIO_ACTIVE_HIGH>;
};
gpio_modem_power {
gpio-export,name = "modem_power";
gpio-export,name = "modem1_power";
gpio-export,output = <0>;
gpios = <&shift_io 17 GPIO_ACTIVE_HIGH>;
};

View file

@ -24,13 +24,13 @@
#size-cells = <0>;
gpio_modem_reset {
gpio-export,name = "modem_reset";
gpio-export,name = "modem1_reset";
gpio-export,output = <0>;
gpios = <&stm32_io 21 GPIO_ACTIVE_HIGH>;
};
gpio_modem_power {
gpio-export,name = "modem_power";
gpio-export,name = "modem1_power";
gpio-export,output = <0>;
gpios = <&stm32_io 20 GPIO_ACTIVE_HIGH>;
};