openwrt/target/linux/bcm47xx/image/mips74k.mk
Edward Matijevic 6da3194127 bcm47xx: add support for NETGEAR R6200 V1
This patch adds supports for the NETGEAR R6200 V1
This device is mainlined in Linux as of 5.4

Specification:
   - SOC: Broadcom BCM4718A1 (480 MHz)
   - Flash: 16MB (Macronix MX25L128)
   - RAM: 128MB DDR2
   - SWITCH: BCM53125
   - Ethernet: 5x GE (1 WAN + 4 LAN, Inverted order)
   - WLAN 2.4G: In SOC
   - WLAN 5GHz: miniPCIe card, BCM4352 (ID: 4360)
   - USB: 1x USB 2.0 port (Type A)
   - Buttons: Reset, WLAN, WPS
   - LED: Amber for Power, others need a workaround
   - UART: 1x UART on PCB

LED Issues: They are controlled by a 74HC164 via bit banging(GPIO 6/7)

Firmware Install Instructions
=============================
Using the device specific .chk, use that file to perform
a normal device upgrade in the OEM admin page.

Signed-off-by: Edward Matijevic <motolav@gmail.com>
2020-06-24 00:17:49 +02:00

493 lines
11 KiB
Makefile

#################################################
# Subtarget mips74k
#################################################
define Device/asus-rt-ac53u
DEVICE_MODEL := RT-AC53U
DEVICE_PACKAGES := $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-AC53U
endef
TARGET_DEVICES += asus-rt-ac53u
define Device/asus-rt-ac66u
DEVICE_MODEL := RT-AC66U
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-AC66U
endef
# TARGET_DEVICES += asus-rt-ac66u
define Device/asus-rt-n10
DEVICE_MODEL := RT-N10
DEVICE_PACKAGES := kmod-b43
$(Device/asus)
PRODUCTID := "RT-N10 "
endef
TARGET_DEVICES += asus-rt-n10
define Device/asus-rt-n10p
DEVICE_MODEL := RT-N10P
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43
$(Device/asus)
PRODUCTID := RT-N10P
endef
TARGET_DEVICES += asus-rt-n10p
define Device/asus-rt-n10p-v2
DEVICE_MODEL := RT-N10P
DEVICE_VARIANT := v2
$(Device/asus)
PRODUCTID := RT-N10PV2
endef
TARGET_DEVICES += asus-rt-n10p-v2
define Device/asus-rt-n10u
DEVICE_MODEL := RT-N10U
DEVICE_VARIANT := A
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-N10U
endef
TARGET_DEVICES += asus-rt-n10u
define Device/asus-rt-n10u-b
DEVICE_MODEL := RT-N10U
DEVICE_VARIANT := B
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-N10U
endef
TARGET_DEVICES += asus-rt-n10u-b
define Device/asus-rt-n12
DEVICE_MODEL := RT-N12
DEVICE_VARIANT := A1
DEVICE_PACKAGES := kmod-b43
$(Device/asus)
PRODUCTID := "RT-N12 "
endef
TARGET_DEVICES += asus-rt-n12
define Device/asus-rt-n12-b1
DEVICE_MODEL := RT-N12
DEVICE_VARIANT := B1
$(Device/asus)
PRODUCTID := RT-N12B1
endef
TARGET_DEVICES += asus-rt-n12-b1
define Device/asus-rt-n12-c1
DEVICE_MODEL := RT-N12
DEVICE_VARIANT := C1
$(Device/asus)
PRODUCTID := RT-N12C1
endef
TARGET_DEVICES += asus-rt-n12-c1
define Device/asus-rt-n12-d1
DEVICE_MODEL := RT-N12
DEVICE_VARIANT := D1
$(Device/asus)
PRODUCTID := RT-N12D1
endef
TARGET_DEVICES += asus-rt-n12-d1
define Device/asus-rt-n12hp
DEVICE_MODEL := RT-N12HP
$(Device/asus)
PRODUCTID := RT-N12HP
endef
TARGET_DEVICES += asus-rt-n12hp
define Device/asus-rt-n14uhp
DEVICE_MODEL := RT-N14UHP
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-N14UHP
endef
TARGET_DEVICES += asus-rt-n14uhp
define Device/asus-rt-n15u
DEVICE_MODEL := RT-N15U
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-N15U
endef
TARGET_DEVICES += asus-rt-n15u
define Device/asus-rt-n16
DEVICE_MODEL := RT-N16
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-N16
endef
TARGET_DEVICES += asus-rt-n16
define Device/asus-rt-n53
DEVICE_MODEL := RT-N53
DEVICE_PACKAGES := kmod-b43
$(Device/asus)
PRODUCTID := RT-N53
endef
TARGET_DEVICES += asus-rt-n53
define Device/asus-rt-n66u
DEVICE_MODEL := RT-N66U
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-N66U
endef
TARGET_DEVICES += asus-rt-n66u
define Device/asus-rt-n66w
DEVICE_MODEL := RT-N66W
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/asus)
PRODUCTID := RT-N66U
endef
TARGET_DEVICES += asus-rt-n66w
define Device/linksys-wrt160n-v3
DEVICE_MODEL := WRT160N
DEVICE_VARIANT := v3
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := N150
VERSION := 3.0.3
endef
TARGET_DEVICES += linksys-wrt160n-v3
define Device/linksys-wrt310n-v2
DEVICE_MODEL := WRT310N
DEVICE_VARIANT := v2
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := 310N
VERSION := 2.0.1
endef
TARGET_DEVICES += linksys-wrt310n-v2
define Device/linksys-wrt320n-v1
DEVICE_MODEL := WRT320N
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := 320N
VERSION := 1.0.5
endef
TARGET_DEVICES += linksys-wrt320n-v1
define Device/linksys-e900-v1
DEVICE_MODEL := E900
DEVICE_VARIANT := v1
$(Device/linksys)
DEVICE_ID := E900
VERSION := 1.0.4
endef
TARGET_DEVICES += linksys-e900-v1
define Device/linksys-e1000
DEVICE_MODEL := E1000
DEVICE_VARIANT := v1/v2/v2.1
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := E100
VERSION := 1.1.3
endef
TARGET_DEVICES += linksys-e1000
define Device/linksys-e1200-v1
DEVICE_MODEL := E1200
DEVICE_VARIANT := v1
$(Device/linksys)
DEVICE_ID := E120
VERSION := 1.0.3
endef
TARGET_DEVICES += linksys-e1200-v1
define Device/linksys-e1200-v2
DEVICE_MODEL := E1200
DEVICE_VARIANT := v2
$(Device/linksys)
DEVICE_ID := E122
VERSION := 1.0.4
endef
TARGET_DEVICES += linksys-e1200-v2
define Device/linksys-e1500-v1
DEVICE_MODEL := E1500
DEVICE_VARIANT := v1
$(Device/linksys)
DEVICE_ID := E150
VERSION := 1.0.5
endef
TARGET_DEVICES += linksys-e1500-v1
define Device/linksys-e1550-v1
DEVICE_MODEL := E1550
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/linksys)
DEVICE_ID := 1550
VERSION := 1.0.3
endef
TARGET_DEVICES += linksys-e1550-v1
define Device/linksys-e2000-v1
DEVICE_MODEL := E2000
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := 32XN
VERSION := 1.0.4
endef
TARGET_DEVICES += linksys-e2000-v1
define Device/linksys-e2500-v1
DEVICE_MODEL := E2500
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := E25X
VERSION := 1.0.7
endef
TARGET_DEVICES += linksys-e2500-v1
define Device/linksys-e2500-v2
DEVICE_MODEL := E2500
DEVICE_VARIANT := v2
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := E25X
VERSION := 2.0.0
endef
TARGET_DEVICES += linksys-e2500-v2
define Device/linksys-e2500-v2.1
DEVICE_MODEL := E2500
DEVICE_VARIANT := v2.1
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := 25RU
VERSION := 2.1.0
endef
TARGET_DEVICES += linksys-e2500-v2.1
define Device/linksys-e2500-v3
DEVICE_MODEL := E2500
DEVICE_VARIANT := v3
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := 25V3
VERSION := 3.0.0
endef
TARGET_DEVICES += linksys-e2500-v3
define Device/linksys-e3200-v1
DEVICE_MODEL := E3200
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43
$(Device/linksys)
DEVICE_ID := 3200
VERSION := 1.0.1
endef
TARGET_DEVICES += linksys-e3200-v1
define Device/linksys-e4200-v1
DEVICE_MODEL := E4200
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/linksys)
DEVICE_ID := 4200
VERSION := 1.0.5
endef
TARGET_DEVICES += linksys-e4200-v1
define Device/netgear-r6200-v1
DEVICE_MODEL := R6200
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H192T00_NETGEAR
NETGEAR_REGION := 1
endef
TARGET_DEVICES += netgear-r6200-v1
define Device/netgear-wgr614-v10-na
DEVICE_MODEL := WGR614
DEVICE_VARIANT := v10 (NA)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H139T01_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wgr614-v10-na
define Device/netgear-wgr614-v10
DEVICE_MODEL := WGR614
DEVICE_VARIANT := v10
$(Device/netgear)
NETGEAR_BOARD_ID := U12H139T01_NETGEAR
NETGEAR_REGION := 1
endef
TARGET_DEVICES += netgear-wgr614-v10
define Device/netgear-wn2500rp-v1
DEVICE_MODEL := WN2500RP
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43
$(Device/netgear)
NETGEAR_BOARD_ID := U12H197T00_NETGEAR
NETGEAR_REGION := 1
endef
TARGET_DEVICES += netgear-wn2500rp-v1
define Device/netgear-wn3000rp
DEVICE_MODEL := WN3000RP
$(Device/netgear)
NETGEAR_BOARD_ID := U12H163T01_NETGEAR
NETGEAR_REGION := 1
endef
TARGET_DEVICES += netgear-wn3000rp
define Device/netgear-wndr3400-v1
DEVICE_MODEL := WNDR3400
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H155T00_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wndr3400-v1
define Device/netgear-wndr3400-v2
DEVICE_MODEL := WNDR3400
DEVICE_VARIANT := v2
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H187T00_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wndr3400-v2
define Device/netgear-wndr3400-v3
DEVICE_MODEL := WNDR3400
DEVICE_VARIANT := v3
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H208T00_NETGEAR
NETGEAR_REGION := 1
endef
TARGET_DEVICES += netgear-wndr3400-v3
define Device/netgear-wndr3700-v3
DEVICE_MODEL := WNDR3700
DEVICE_VARIANT := v3
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H194T00_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wndr3700-v3
define Device/netgear-wndr3400-vcna
DEVICE_MODEL := WNDR3400
DEVICE_VARIANT := vcna
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H155T01_NETGEAR
NETGEAR_REGION := 2
endef
# TARGET_DEVICES += netgear-wndr3400-vcna
define Device/netgear-wndr4000
DEVICE_MODEL := WNDR4000
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H181T00_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wndr4000
define Device/netgear-wnr1000-v3
DEVICE_MODEL := WNR1000
DEVICE_VARIANT := v3
$(Device/netgear)
NETGEAR_BOARD_ID := U12H139T00_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wnr1000-v3
define Device/netgear-wnr2000v2
DEVICE_MODEL := WNR2000
DEVICE_VARIANT := v2
DEVICE_PACKAGES := kmod-b43
$(Device/netgear)
NETGEAR_BOARD_ID := U12H114T00_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wnr2000v2
define Device/netgear-wnr3500l-v1-na
DEVICE_MODEL := WNR3500L
DEVICE_VARIANT := v1 (NA)
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H136T99_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wnr3500l-v1-na
define Device/netgear-wnr3500l-v1
DEVICE_MODEL := WNR3500L
DEVICE_VARIANT := v1 (ROW)
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H136T99_NETGEAR
NETGEAR_REGION := 1
endef
TARGET_DEVICES += netgear-wnr3500l-v1
define Device/netgear-wnr3500l-v2
DEVICE_MODEL := WNR3500L
DEVICE_VARIANT := v2
DEVICE_PACKAGES := $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H172T00_NETGEAR
NETGEAR_REGION := 1
endef
TARGET_DEVICES += netgear-wnr3500l-v2
define Device/netgear-wnr3500u
DEVICE_MODEL := WNR3500U
DEVICE_PACKAGES := $(USB2_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H136T00_NETGEAR
NETGEAR_REGION := 2
endef
# TARGET_DEVICES += netgear-wnr3500u
define Device/netgear-wnr3500-v2
DEVICE_MODEL := WNR3500
DEVICE_VARIANT := v2
DEVICE_PACKAGES := kmod-b43
$(Device/netgear)
NETGEAR_BOARD_ID := U12H127T00_NETGEAR
NETGEAR_REGION := 2
endef
TARGET_DEVICES += netgear-wnr3500-v2
define Device/netgear-wnr3500-v2-vc
DEVICE_MODEL := WNR3500
DEVICE_VARIANT := v2 (VC)
DEVICE_PACKAGES := kmod-b43
$(Device/netgear)
NETGEAR_BOARD_ID := U12H127T70_NETGEAR
NETGEAR_REGION := 2
endef
# TARGET_DEVICES += netgear-wnr3500-v2-vc
TARGET_DEVICES += standard standard-noloader-nodictionarylzma