1239765Sadrian# 2239765Sadrian# Specific board setup for the D-Link DIR-825 router. 3239765Sadrian# 4239765Sadrian# The DIR-825 has the following hardware: 5239765Sadrian# 6239765Sadrian# + AR7161 CPU SoC 7239765Sadrian# + AR9223 2.4GHz 11n 8239765Sadrian# + AR9220 5GHz 11n 9239765Sadrian# + RealTek RTL8366S Gigabit switch 10239765Sadrian# + m25p64 based 8MB flash 11239765Sadrian# + 64MB RAM 12239765Sadrian# + uboot environment 13239765Sadrian 14239765Sadrian# $FreeBSD$ 15239765Sadrian 16239765Sadrianinclude "AR71XX_BASE" 17239765Sadrianident "DIR-825" 18239765Sadrianhints "DIR-825.hints" 19239765Sadrian 20239765Sadrian# Since the kernel image must fit inside 1024KiB, we have to build almost 21239765Sadrian# everything as modules. 22239765Sadriannodevice random 23239765Sadriannodevice gpio 24239765Sadriannodevice gpioled 25239765Sadriannodevice gif 26239765Sadriannodevice gre 27253842Ssbrunonodevice if_bridge 28239765Sadriannodevice usb 29239765Sadriannodevice ehci 30239765Sadriannodevice wlan 31239765Sadriannodevice wlan_xauth 32239765Sadriannodevice wlan_acl 33239765Sadriannodevice wlan_wep 34239765Sadriannodevice wlan_tkip 35239765Sadriannodevice wlan_ccmp 36239765Sadriannodevice wlan_rssadapt 37239765Sadriannodevice wlan_amrr 38239765Sadriannodevice ath 39239765Sadriannodevice ath_pci 40239765Sadriannodevice ath_hal 41239765Sadriannodevice umass 42239765Sadriannodevice ath_rate_sample 43239765Sadrian 44239765Sadriannooptions INET6 45239765Sadrian 46239765Sadrian# Don't include the SCSI/CAM strings in the default build 47239765Sadrianoptions SCSI_NO_SENSE_STRINGS 48239765Sadrianoptions SCSI_NO_OP_STRINGS 49239765Sadrian 50239765Sadrian# .. And no sysctl strings 51239765Sadrianoptions NO_SYSCTL_DESCR 52239765Sadrian 53239765Sadrian# GEOM modules 54239765Sadriandevice geom_map # to get access to the SPI flash partitions 55239765Sadriandevice geom_uncompress # compressed in-memory filesystem hackery! 56239765Sadrianoptions GEOM_UNCOMPRESS 57255195Ssbrunooptions GEOM_PART_GPT 58239765Sadrian 59239765Sadrianoptions ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\" 60239765Sadrianoptions AR71XX_REALMEM=64*1024*1024 61239765Sadrian 62239765Sadrianoptions AR71XX_ENV_UBOOT 63239765Sadrian 64255195Ssbrunooptions MSDOSFS # Read MSDOS filesystems; useful for USB/CF 65255195Ssbruno 66239765Sadrian# options MD_ROOT 67239765Sadrian# options MD_ROOT_SIZE="6144" 68239765Sadrian 69239765Sadrianoptions AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash 70239765Sadrianoptions ATH_EEPROM_FIRMWARE # Use EEPROM from flash 71239765Sadriandevice firmware # Used by the above 72