2015-03-21 06:16:23 +00:00
|
|
|
#
|
|
|
|
# TPLink TL-WDR4300 - AR9344 based dual-band 2x2 wifi
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2015-11-19 01:58:12 +00:00
|
|
|
#NO_UNIVERSE
|
|
|
|
|
2015-03-21 06:16:23 +00:00
|
|
|
# Include the default AR934x parameters
|
2016-08-03 19:23:22 +00:00
|
|
|
include "std.AR934X"
|
2015-03-21 06:16:23 +00:00
|
|
|
|
|
|
|
ident TL-WDR4300
|
|
|
|
|
|
|
|
# Override hints with board values
|
|
|
|
hints "TL-WDR4300.hints"
|
|
|
|
|
|
|
|
# Force the board memory - the base DB120 has 128MB RAM
|
|
|
|
options AR71XX_REALMEM=(128*1024*1024)
|
|
|
|
|
|
|
|
# i2c GPIO bus
|
|
|
|
#device gpioiic
|
|
|
|
#device iicbb
|
|
|
|
#device iicbus
|
|
|
|
#device iic
|
|
|
|
|
|
|
|
# Options required for miiproxy and mdiobus
|
2016-08-28 04:07:34 +00:00
|
|
|
options ARGE_DEBUG
|
2015-03-21 06:16:23 +00:00
|
|
|
options ARGE_MDIO # Export an MDIO bus separate from arge
|
|
|
|
device miiproxy # MDIO bus <-> MII PHY rendezvous
|
|
|
|
|
|
|
|
device etherswitch
|
|
|
|
device arswitch
|
|
|
|
|
|
|
|
# read MSDOS formatted disks - USB
|
|
|
|
options MSDOSFS
|
|
|
|
|
|
|
|
# Enable the uboot environment stuff rather then the
|
|
|
|
# redboot stuff.
|
|
|
|
options AR71XX_ENV_UBOOT
|
|
|
|
|
|
|
|
# uzip - to boot natively from flash
|
2019-02-26 19:55:03 +00:00
|
|
|
device xz
|
2016-02-24 00:39:36 +00:00
|
|
|
options GEOM_UZIP
|
2015-03-21 06:16:23 +00:00
|
|
|
|
|
|
|
# Used for the static uboot partition map
|
|
|
|
device geom_map
|
|
|
|
|
2017-07-28 01:17:38 +00:00
|
|
|
# Yes, this board has a PCI connected atheros device
|
2015-03-21 06:16:23 +00:00
|
|
|
options AR71XX_ATH_EEPROM
|
|
|
|
device firmware # Used by the above
|
|
|
|
options ATH_EEPROM_FIRMWARE
|
|
|
|
|
2019-12-17 00:00:03 +00:00
|
|
|
options ATH_DEBUG_ALQ
|
|
|
|
|
2015-03-21 06:16:23 +00:00
|
|
|
# Boot off of the rootfs, as defined in the geom_map setup.
|
2016-02-24 00:39:36 +00:00
|
|
|
options ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
|
2019-12-17 00:00:03 +00:00
|
|
|
|
|
|
|
# This is required for the 2GHz LNAs on the AR9340 SoC.
|
|
|
|
# Without this the 2GHz radio is Quite Deaf.
|
|
|
|
device gpio
|
|
|
|
device gpioled
|