1a9643ea8Slogwang# 2a9643ea8Slogwang# TPLink TL-WDR4300 - AR9344 based dual-band 2x2 wifi 3a9643ea8Slogwang# 4a9643ea8Slogwang# $FreeBSD$ 5a9643ea8Slogwang# 6a9643ea8Slogwang 7a9643ea8Slogwang#NO_UNIVERSE 8a9643ea8Slogwang 9a9643ea8Slogwang# Include the default AR934x parameters 10*22ce4affSfengbojianginclude "std.AR934X" 11a9643ea8Slogwang 12a9643ea8Slogwangident TL-WDR4300 13a9643ea8Slogwang 14a9643ea8Slogwang# Override hints with board values 15a9643ea8Slogwanghints "TL-WDR4300.hints" 16a9643ea8Slogwang 17a9643ea8Slogwang# Force the board memory - the base DB120 has 128MB RAM 18a9643ea8Slogwangoptions AR71XX_REALMEM=(128*1024*1024) 19a9643ea8Slogwang 20a9643ea8Slogwang# i2c GPIO bus 21a9643ea8Slogwang#device gpioiic 22a9643ea8Slogwang#device iicbb 23a9643ea8Slogwang#device iicbus 24a9643ea8Slogwang#device iic 25a9643ea8Slogwang 26a9643ea8Slogwang# Options required for miiproxy and mdiobus 27*22ce4affSfengbojiangoptions ARGE_DEBUG 28a9643ea8Slogwangoptions ARGE_MDIO # Export an MDIO bus separate from arge 29a9643ea8Slogwangdevice miiproxy # MDIO bus <-> MII PHY rendezvous 30a9643ea8Slogwang 31a9643ea8Slogwangdevice etherswitch 32a9643ea8Slogwangdevice arswitch 33a9643ea8Slogwang 34a9643ea8Slogwang# read MSDOS formatted disks - USB 35a9643ea8Slogwangoptions MSDOSFS 36a9643ea8Slogwang 37a9643ea8Slogwang# Enable the uboot environment stuff rather then the 38a9643ea8Slogwang# redboot stuff. 39a9643ea8Slogwangoptions AR71XX_ENV_UBOOT 40a9643ea8Slogwang 41a9643ea8Slogwang# uzip - to boot natively from flash 42*22ce4affSfengbojiangdevice xz 43a9643ea8Slogwangoptions GEOM_UZIP 44a9643ea8Slogwang 45a9643ea8Slogwang# Used for the static uboot partition map 46a9643ea8Slogwangdevice geom_map 47a9643ea8Slogwang 48*22ce4affSfengbojiang# Yes, this board has a PCI connected atheros device 49a9643ea8Slogwangoptions AR71XX_ATH_EEPROM 50a9643ea8Slogwangdevice firmware # Used by the above 51a9643ea8Slogwangoptions ATH_EEPROM_FIRMWARE 52a9643ea8Slogwang 53*22ce4affSfengbojiangoptions ATH_DEBUG_ALQ 54*22ce4affSfengbojiang 55a9643ea8Slogwang# Boot off of the rootfs, as defined in the geom_map setup. 56a9643ea8Slogwangoptions ROOTDEVNAME=\"ufs:map/rootfs.uzip\" 57*22ce4affSfengbojiang 58*22ce4affSfengbojiang# This is required for the 2GHz LNAs on the AR9340 SoC. 59*22ce4affSfengbojiang# Without this the 2GHz radio is Quite Deaf. 60*22ce4affSfengbojiangdevice gpio 61*22ce4affSfengbojiangdevice gpioled 62