difos/target/linux
Manuel Giganto b2130b9ce8 ath79: add support for Devolo Magic 2 WIFI
This patch support Devolo Magic 2 WIFI, board devolo_dlan2-2400-ac.
This device is a plc wifi AC2400 router/extender with 2 Ethernet
ports, has a G.hn PLC and uses LCMP protocol from Home Grid Forum.

Hardware:
   SoC:         AR9344
   CPU:         560 MHz
   Flash:       16 MiB (W25Q128JVSIQ)
   RAM:         128 MiB DDR2
   Ethernet:    2xLAN 10/100/1000
   PLC:         88LX5152 (MaxLinear G.hn)
   PLC Flash:   W25Q32JVSSIQ
   PLC Uplink:  1Gbps MIMO
   PLC Link:    RGMII 1Gbps (WAN)
   WiFi:        Atheros AR9340 2.4GHz 802.11bgn
                Atheros AR9882-BR4A 5GHz 802.11ac
   Switch:      QCA8337, Port0:CPU, Port2:PLC, Port3:LAN1, Port4:LAN2
   Button:      3x Buttons (Reset, wifi and plc)
   LED:         3x Leds (wifi, plc white, plc red)
   GPIO Switch: 11-PLC Pairing (Active Low)
                13-PLC Enable
                21-WLAN power

MACs Details verified with the stock firmware:
   Radio1: 2.4 GHz &wmac     *:4c Art location: 0x1002
   Radio0: 5.0 GHz &pcie     *:4d Art location: 0x5006
   Ethernet        &ethernet *:4e = 2.4 GHz + 2
   PLC uplink      ---       *:4f = 2.4 GHz + 3
Label MAC address is from PLC uplink

OEM SSID: echo devolo-$(grep SerialNumber /dev/mtd1 | grep -o ...$)
OEM WiFi password: grep DlanSecurityID /dev/mtd1|tr -d -|cut -d'=' -f 2

Recommendations: Configure and link your PLC with OEM firmware
BEFORE you flash the device. PLC configuration/link should
remain in different memory and should work straight forward
after flashing.

Restrictions: PLC link detection to trigger plc red led is not
available. PLC G.hn chip is not compatible with open-plc-tools,
it uses LCMP protocol with AES-128 and requires different
software.

Notes: Pairing should be possible with gpio switch. Default
configuration will trigger wifi led with 2.4Ghz wifi traffic
and plc white led with wan traffic.

Flash instruction (TFTP):
 1. Set PC to fixed ip address 192.168.0.100
 2. Download the sysupgrade image and rename it to uploadfile
 3. Start a tftp server with the image file in its root directory
 4. Turn off the router
 5. Press and hold Reset button
 6. Turn on router with the reset button pressed and wait ~15 seconds
 7. Release the reset button and after a short time
    the firmware should be transferred from the tftp server
 8. Allow 1-2 minutes for the first boot.

Signed-off-by: Manuel Giganto <mgigantoregistros@gmail.com>
2020-03-07 11:02:13 +08:00
..
apm821xx treewide: move commonly disabled symbols to generic config 2020-03-01 00:51:23 +01:00
ar71xx ar71xx: add missing LED migration for Archer C7 2020-03-01 23:39:27 +01:00
arc770 arc770: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:27:32 +01:00
archs38 archs38: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:26:35 +01:00
armvirt kernel: remove non-existant symbols from 4.19 config 2020-02-22 16:38:41 +01:00
at91 at91: gen_at91_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:25:44 +01:00
ath25 kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
ath79 ath79: add support for Devolo Magic 2 WIFI 2020-03-07 11:02:13 +08:00
bcm27xx bcm27xx: bcm2708: refresh linux 5.4 config 2020-03-01 13:43:29 +01:00
bcm47xx kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
bcm53xx bcm53xx: fix ASUS firmwares to use vendor format 2020-03-02 22:06:02 +01:00
bcm63xx kernel: remove non-existant symbols from 4.19 config 2020-02-22 16:38:41 +01:00
cns3xxx kernel: bump 4.19 to 4.19.86 2019-11-29 09:59:49 +01:00
gemini gemini: dns313_gen_hdd_img.sh: switch to /bin/sh 2019-12-31 01:23:24 +01:00
generic generic: add missing symbol from 5.4 config 2020-03-03 23:38:23 +01:00
imx6 imx6: 5.4: dts: backport lsm9ds1 imu support for GW553x 2020-03-01 21:36:00 +01:00
ipq40xx ipq40xx: fix support of EnGenius EAP2200 2020-03-05 12:53:06 +01:00
ipq806x ipq806x: add newline at the end of qcom-ipq8064-v1.0.dtsi 2020-03-05 12:53:14 +01:00
ipq807x ipq807x: fix indent in image/Makefile 2020-02-28 20:00:10 +01:00
kirkwood kirkwood: switch kernel version to 5.4 2020-03-03 23:38:23 +01:00
lantiq kernel: remove non-existant symbols from 4.19 config 2020-02-22 16:38:41 +01:00
layerscape kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
malta malta: enable HighMem on MIPS32 2020-01-15 22:35:48 +01:00
mediatek mediatek: update uci-defaults for renamed smp packet steering option 2020-03-03 22:43:09 +01:00
mpc85xx mpc85xx: disable kernel uImage generation 2020-03-01 00:51:23 +01:00
mvebu mvebu: uDPU: drop patch compiling dtb 2020-03-01 21:36:00 +01:00
mxs mxs: gen_sdcard_ext4_ext4.sh: use /bin/sh 2019-12-31 01:19:48 +01:00
octeon octeon: apply vendor_model scheme to device definition/image name 2020-01-26 23:00:26 +01:00
octeontx kernel: bump 4.14 to 4.14.160 2019-12-24 17:45:54 +01:00
omap omap: gen_omap_sdcard_img.sh: use /bin/sh 2019-12-31 01:17:09 +01:00
oxnas oxnas: add 5.4 as testing kernel version 2020-03-06 19:21:03 +01:00
pistachio kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
ramips ramips: increase spi-max-frequency to 50 MHz for D-Link DIR-810L 2020-03-05 12:53:50 +01:00
rb532 rb532: gen_image.sh: use /bin/sh 2019-12-31 01:16:17 +01:00
samsung samsung: add subtarget condition for device 2020-01-03 00:04:22 +01:00
sunxi sunxi: backport increased SATA/AHCI DMA TX/RX FIFOs 2020-02-13 17:45:46 +01:00
tegra x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 2019-11-11 16:37:13 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 kernel: x86_64: drop CALGARY IOMMU on 5.4 2020-03-02 11:42:31 +00:00
zynq zynq: derive DEVICE_DTS from device definition name 2020-01-21 14:26:04 +01:00
Makefile