mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Merge branch 'test' into develop
This commit is contained in:
commit
a4bcbaab52
5 changed files with 10 additions and 6 deletions
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
# Copyright (C) 2021 Teltonika Networks
|
# Copyright (C) 2021 Teltonika Networks
|
||||||
|
# Copyright (C) 2022 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||||
|
|
||||||
START=96
|
START=2
|
||||||
|
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@ platform_do_upgrade_ipq() {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
platform_copy_config() {
|
platform_copy_config_ipq() {
|
||||||
local emmcblock="$(find_mmc_part "rootfs_data")"
|
local emmcblock="$(find_mmc_part "rootfs_data")"
|
||||||
mkdir -p /tmp/overlay
|
mkdir -p /tmp/overlay
|
||||||
|
|
||||||
|
|
|
@ -208,6 +208,9 @@ platform_copy_config() {
|
||||||
glinet,gl-b2200)
|
glinet,gl-b2200)
|
||||||
emmc_copy_config
|
emmc_copy_config
|
||||||
;;
|
;;
|
||||||
|
teltonika,rutx)
|
||||||
|
platform_copy_config_ipq
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
gpio_modem_reset {
|
gpio_modem_reset {
|
||||||
gpio-export,name = "modem_reset";
|
gpio-export,name = "modem1_reset";
|
||||||
gpio-export,output = <0>;
|
gpio-export,output = <0>;
|
||||||
gpios = <&shift_io 16 GPIO_ACTIVE_HIGH>;
|
gpios = <&shift_io 16 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_modem_power {
|
gpio_modem_power {
|
||||||
gpio-export,name = "modem_power";
|
gpio-export,name = "modem1_power";
|
||||||
gpio-export,output = <0>;
|
gpio-export,output = <0>;
|
||||||
gpios = <&shift_io 17 GPIO_ACTIVE_HIGH>;
|
gpios = <&shift_io 17 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
gpio_modem_reset {
|
gpio_modem_reset {
|
||||||
gpio-export,name = "modem_reset";
|
gpio-export,name = "modem1_reset";
|
||||||
gpio-export,output = <0>;
|
gpio-export,output = <0>;
|
||||||
gpios = <&stm32_io 21 GPIO_ACTIVE_HIGH>;
|
gpios = <&stm32_io 21 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_modem_power {
|
gpio_modem_power {
|
||||||
gpio-export,name = "modem_power";
|
gpio-export,name = "modem1_power";
|
||||||
gpio-export,output = <0>;
|
gpio-export,output = <0>;
|
||||||
gpios = <&stm32_io 20 GPIO_ACTIVE_HIGH>;
|
gpios = <&stm32_io 20 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue