openwrt/target/linux
Piotr Dymacz e68539aca4 ramips: add support for ALFA Network Quad-E4G
ALFA Network Quad-E4G is a universal Wi-Fi/4G platform, which offers
three miniPCIe (PCIe, USB 2.0, SIM) and a single M.2 B-key (dual-SIM,
USB 3.0) slots, RTC and five Gigabit Ethernet ports with PoE support.

Specification:

- MT7621A (880 MHz)
- 256/512 MB of RAM (DDR3)
- 16/32+ MB of FLASH (SPI NOR)
- optional second SPI flash (8-pin WSON/SOIC)
- 1x microSD (SDXC) flash card reader
- 5x 10/100/100 Mbps Ethernet, with passive PoE support (24 V) in LAN1
- optional 802.3at/af PoE module for WAN
- 3x miniPCIe slot (with PCIe and USB 2.0 buses, micro SIM and 5 V)
- 1x M.2/NGFF B-key 3042 (USB 3.0/2.0, mini + micro SIM)
- RTC (TI BQ32002, I2C bus) with backup battery (CR2032)
- external hardware watchdog (EM Microelectronic EM6324)
- 1x USB 2.0 Type-A
- 1x micro USB Type-B for system serial console (Holtek HT42B534)
- 11x LED (5 for Ethernet, 5 driven by GPIO, 1x power indicator)
- 3x button (reset, user1, user2)
- 1x I2C (4-pin, 2.54 mm pitch) header on PCB
- 4x SIM (6-pin, 2.00 mm pitch) headers on PCB
- 2x UART2/3 (4-pin, 2.54 mm pitch) headers on PCB
- 1x mechanical power switch
- 1x DC jack with lock (24 V)

Other:

- U-Boot selects default SIM slot, based on value of 'default_sim' env
  variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This board
  has additional logic circuit for M.2 SIM switching. The 'sim-select'
  will work only if both SIM slots are occupied. Otherwise, always slot
  with SIM inside is selected, no matter 'sim-select' value.
- U-Boot enables power in all three miniPCIe and M.2 slots before
  loading the kernel
- this board supports 'dual image' feature (controlled by 'dual_image'
  U-Boot environment variable)
- all three miniPCIe slots have additional 5 V supply on pins 47 and 49
- the board allows to install up to two oversized miniPCIe cards (vendor
  has dedicated MediaTek MT7615N/D cards for this board)
- this board has additional logic circuit controlling PERSTn pins inside
  miniPCIe slots. By default, PERSTn (GPIO19) is routed to all miniPCIe
  slots but setting GPIO22 to high allows PERSTn control per slot, using
  GPIO23-25 (value is inverted)

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>
2019-11-14 01:37:54 +01:00
..
apm821xx treewide: move MAC address patch functions to common library 2019-10-14 12:36:02 +02:00
ar7 kernel: bump 4.9 to 4.9.194 2019-09-24 12:52:05 +02:00
ar71xx ar71xx: fix MAC addresses for Archer C5 v1, C7 v1/v2, WDR4900 v2 2019-11-13 15:12:32 +01:00
arc770 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
archs38 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
armvirt armvirt: fix overlay support by updating to f2fs/ext4 based overlays 2019-06-25 14:12:22 +00:00
at91 at91: split up remaining DEVICE_TITLE definitions 2019-10-19 13:16:57 +02:00
ath25 ath25: split up DEVICE_TITLE 2019-10-19 13:16:57 +02:00
ath79 ath79: read label MAC address from flash instead of using phy0/phy1 2019-11-13 12:55:25 +01:00
bcm53xx bcm53xx: sysupgrade: support Luxul NAND devices 2019-10-15 20:23:04 +02:00
brcm47xx kernel: bump 4.19 to 4.19.81 2019-10-31 09:17:14 +01:00
brcm63xx brcm63xx: add linux 4.19 support 2019-11-09 13:16:01 +01:00
brcm2708 kernel: bump 4.19 to 4.19.82 2019-11-12 10:15:01 +01:00
cns3xxx treewide: sysupgrade: don't use $ARGV in platform_do_upgrade() 2019-07-17 08:05:38 +02:00
gemini treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
generic kernel: bump 4.19 to 4.19.82 2019-11-12 10:15:01 +01:00
imx6 imx6: install-dtb as separate IMAGE 2019-09-15 15:00:17 +00:00
ipq40xx ipq40xx: u4019: use reset-gpios instead of phy-reset-gpio 2019-11-07 22:51:37 +01:00
ipq806x Revert "ipq806x: fix EA8500 switch control" 2019-11-06 00:21:15 +01:00
ixp4xx treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
kirkwood kirkwood: Fix FS#505 - Can't install LEDE on Linksys EA3500 2019-10-12 23:42:59 +02:00
lantiq lantiq: remove redundant WiFi LED on FRITZ!Box 7320 2019-11-11 18:17:29 +01:00
layerscape kernel: bump 4.14 to 4.14.152 2019-11-12 10:15:01 +01:00
malta malta: fix overlay support by updating to f2fs/ext4 based overlays 2019-06-25 14:12:22 +00:00
mediatek kernel: bump 4.19 to 4.19.82 2019-11-12 10:15:01 +01:00
mpc85xx mpc85xx: correct TP-LINK TL-WDR4900 MAC addresses 2019-10-15 18:13:54 +02:00
mvebu x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 2019-11-11 16:37:13 +01:00
mxs mxs: start a console on USB gadget serial ports 2019-11-09 12:56:34 +01:00
octeon octeon: split up remaining DEVICE_TITLE 2019-10-19 13:16:57 +02:00
octeontx octeontx: fix thunderx BGX underflow irq name 2019-10-27 12:13:59 +01:00
omap omap: split up DEVICE_TITLE 2019-10-12 01:22:46 +02:00
orion orion: replace backticks by $(...) 2019-09-29 00:46:13 +02:00
oxnas oxnas: convert DEVICE_TITLE to new variables 2019-07-10 16:56:16 +02:00
pistachio pistachio: split up DEVICE_TITLE 2019-10-12 23:37:00 +02:00
ramips ramips: add support for ALFA Network Quad-E4G 2019-11-14 01:37:54 +01:00
rb532 rb532: split up DEVICE_TITLE 2019-10-19 13:16:57 +02:00
samsung samsung: split up DEVICE_TITLE 2019-09-11 15:17:09 +02:00
sunxi sunxi: update kernel config 2019-10-06 21:28:49 +02:00
tegra x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 2019-11-11 16:37:13 +01:00
uml kernel: Deactivate CONFIG_BINFMT_MISC 2019-05-11 17:15:41 +02:00
x86 x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 2019-11-11 16:37:13 +01:00
zynq kernel: bump 4.19 to 4.19.77 2019-10-08 12:44:35 +02:00
Makefile