openwrt/target/linux
Piotr Dymacz c515cd7c34 ramips: add support for ALFA Network R36M-E4G
ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform
based on MediaTek MT7620A WiSoC. This product is designed for operation
with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06)
but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses).

Specification:

- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32+ MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 2x u.fl antenna connectors (for Wi-Fi)
- 8x LED (7 driven by GPIO)
- 2x button (reset, wifi)
- 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB
- 1x I2C (4-pin, 1.27 mm pitch) header on PCB
- 1x LED (8-pin, 1.27 mm pitch) header on PCB
- 1x DC jack with lock (12 V)

Other:

- there is a dedicated, 4-pin connector for optional RTC module (Holtek
  HT138x) with 'enable' input, not available at the time of preparing
  support for this board
- miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a
  jumper resistor (R174) is not installed by default
- U-Boot selects default SIM slot, based on value of 'default_sim' env
  variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will
  work only if both slots are occupied, otherwise U-Boot will always
  select slot with SIM card inside (user can override it later, in
  user-space)
- U-Boot resets the modem, using PERSTn signal, before starting kernel
- this board supports 'dual image' feature (controlled by 'dual_image'
  U-Boot environment variable)

Flash instruction:

You can use the 'sysupgrade' image directly in vendor firmware which is
based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
-n -F ...' command). Alternatively, use web recovery mode in U-Boot:

1. Power the device with reset button pressed, the modem LED will start
   blinking slowly and after ~3 seconds, when it starts blinking faster,
   you can release the button.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
(backported from commit dfecf94c20)
2019-11-24 21:45:27 +01:00
..
apm821xx treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
ar71xx ar71xx: fix buttons for TP-Link TL-WDR4900 v2 2019-11-21 12:29:54 +01:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
at91 at91:renaming subtraget legacy to sam9x 2019-05-30 12:12:57 +02:00
ath25 treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-16 05:57:08 +02:00
ath79 ath79: remove ath10k drivers from Archer C7 v1 profile 2019-11-23 20:42:59 +01:00
bcm53xx bcm53xx: sysupgrade: support Luxul NAND devices 2019-10-15 20:26:22 +02:00
brcm47xx kernel: bump 4.14 to 4.14.155 2019-11-22 16:58:21 +01:00
brcm63xx kernel: bump 4.14 to 4.14.155 2019-11-22 16:58:21 +01:00
brcm2708 kernel: bump 4.14 to 4.14.155 2019-11-22 16:58:21 +01:00
cns3xxx cns3xxx: use proper macros for defining partition regions 2019-11-22 16:58:21 +01:00
gemini treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
generic kernel: nf_conntrack_rtcache: fix WARNING on rmmod 2019-11-23 18:08:12 +00:00
imx6 treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
ipq40xx ipq40xx: add support for AVM FRITZ!Repeater 1200 2019-11-22 22:32:58 +01:00
ipq806x kernel: bump 4.14 to 4.14.155 2019-11-22 16:58:21 +01:00
kirkwood kirkwood: Fix FS#505 - Can't install LEDE on Linksys EA3500 2019-10-19 14:30:05 +02:00
lantiq kernel: bump 4.14 to 4.14.145 2019-09-20 15:52:25 +02:00
layerscape layerscape: Fix kernel patch 2019-11-22 20:22:27 +01:00
malta treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
mediatek kernel: bump 4.14 to 4.14.155 2019-11-22 16:58:21 +01:00
mpc85xx mpc85xx: correct TP-LINK TL-WDR4900 MAC addresses 2019-10-19 23:05:27 +02:00
mvebu kernel: bump 4.14 to 4.14.154 2019-11-19 15:02:22 +01:00
mxs mxs: disable unused serial drivers 2019-03-11 19:35:43 +01:00
octeon treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
octeontx kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 2019-09-12 13:27:29 +02:00
oxnas kernel: bump 4.14 to 4.14.128 2019-06-20 15:50:00 +02:00
pistachio kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ramips ramips: add support for ALFA Network R36M-E4G 2019-11-24 21:45:27 +01:00
rb532 kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 2019-05-11 17:15:41 +02:00
sunxi treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
tegra treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
uml kernel: Deactivate CONFIG_BINFMT_MISC 2019-05-11 17:15:41 +02:00
x86 kernel: bump 4.14 to 4.14.154 2019-11-19 15:02:22 +01:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile