mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-09 18:02:04 +08:00
Add GSM module support for MPC1903 (#10944)
* Update 02_network * Add GSM Module Support * fix build fail
This commit is contained in:
parent
b631da75a0
commit
13c63d62db
@ -15,6 +15,7 @@ rockchip_setup_interfaces()
|
||||
friendlyarm,nanopi-r2s|\
|
||||
friendlyarm,nanopi-r4s|\
|
||||
friendlyarm,nanopi-r4se|\
|
||||
rocktech,mpc1903|\
|
||||
sharevdi,guangmiao-g4c|\
|
||||
xunlong,orangepi-r1-plus|\
|
||||
xunlong,orangepi-r1-plus-lts)
|
||||
@ -25,7 +26,6 @@ rockchip_setup_interfaces()
|
||||
;;
|
||||
fastrhino,r66s|\
|
||||
firefly,rk3568-roc-pc|\
|
||||
rocktech,mpc1903|\
|
||||
radxa,e25)
|
||||
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
|
||||
;;
|
||||
|
@ -66,7 +66,7 @@
|
||||
vcc5v0_host: vcc5v0-host {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc5v0_host_en>;
|
||||
regulator-name = "vcc5v0_host";
|
||||
@ -85,6 +85,17 @@
|
||||
vin-supply = <&vcc5v0_sys>;
|
||||
};
|
||||
|
||||
vcc3v3_gsm: vcc3v3-gsm {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc3v3_gsm_en>;
|
||||
regulator-name = "vcc3v3_gsm";
|
||||
regulator-always-on;
|
||||
vin-supply = <&vcc3v3_sys>;
|
||||
};
|
||||
|
||||
vcc_lan: vcc-phy {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc_lan";
|
||||
@ -501,6 +512,10 @@
|
||||
vcc5v0_hub_en: vcc5v0-hub-en {
|
||||
rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vcc3v3_gsm_en: vcc3v3-gsm-en {
|
||||
rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
wifi {
|
||||
|
@ -188,7 +188,7 @@ define Device/rocktech_mpc1903
|
||||
SOC := rk3399
|
||||
SUPPORTED_DEVICES := rocktech,mpc1903
|
||||
UBOOT_DEVICE_NAME := rocktech-mpc1903-rk3399
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
DEVICE_PACKAGES := kmod-usb-net-smsc75xx kmod-usb-serial-cp210x -urngd
|
||||
endef
|
||||
TARGET_DEVICES += rocktech_mpc1903
|
||||
|
Loading…
x
Reference in New Issue
Block a user