From 3a8dbcf5c2f3c71240365006f8dae13f79f729b1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 27 Mar 2020 16:13:06 +0100 Subject: mediatke: add support for elecom-wrc-2533gent This commit adds support for the MT7622-based Elecom WRC-2533gent router, with spi-nand storage and 512MB RAM. The device has the following specifications: * MT7622 (arm64 dual-core) * 512MB RAM (DDR3) * 4GB storage (spi-nand) * 5x 1Gbps Ethernet (RTL8337C switch) * 1x UART header * 1x USB 3.0 port * 5x LEDs * 1x reset button * 1x WPS button * 1x slider switch * 1x DC jack for main power (12V) The following has been tested and is working: * Ethernet switch * 2.4g and 5g wifi * USB 3.0 port * sysupgrade * buttons/leds Not working: * bluetooth firmware does not load even though it is present int he rootfs Signed-off-by: John Crispin --- target/linux/mediatek/mt7622/base-files/etc/board.d/02_network | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/mediatek/mt7622/base-files/etc') diff --git a/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network b/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network index d719a35dec..18ad24d046 100755 --- a/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network +++ b/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network @@ -9,6 +9,10 @@ mediatek_setup_interfaces() local board="$1" case $board in + 'elecom,wrc-2533gent') + ucidef_add_switch "switch0" \ + "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1" + ;; esac } -- cgit v1.2.3