1264085Ssbruno# $FreeBSD$
2264085Ssbruno#
3264085Ssbruno# Specific board setup for the D-Link DIR-825C1 router.
4264085Ssbruno#
5264085Ssbruno# The DIR-825C1 has the following hardware:
6264085Ssbruno#
7264085Ssbruno# + AR9344 CPU SoC 74k MIPS
8264085Ssbruno# + ARxxx 2.4GHz 11n
9264085Ssbruno# + ARXXX 5GHz 11n
10264085Ssbruno# + AR8327 Gigabit switch
11264085Ssbruno# + m25p80 based 16MB flash
12264085Ssbruno# + 128MB RAM
13264085Ssbruno# + uboot environment
14264085Ssbruno
15291049Simp#NO_UNIVERSE
16291049Simp
17264085Ssbruno# Include the default AR934x parameters
18264085Ssbrunoinclude         "AR934X_BASE"
19264085Ssbrunoident           DIR825C1
20264085Ssbruno
21264085Ssbruno# Override hints with board values
22264085Ssbrunohints           "DIR-825C1.hints"
23264085Ssbruno
24264085Ssbruno# Force the board memory - the base DB120 has 128MB RAM
25264085Ssbrunooptions         AR71XX_REALMEM=(128*1024*1024)
26264085Ssbruno
27264085Ssbruno# i2c GPIO bus
28264085Ssbrunodevice		gpioiic
29264085Ssbrunodevice		iicbb
30264085Ssbrunodevice		iicbus
31264085Ssbrunodevice		iic
32264085Ssbruno
33264085Ssbruno# Options required for miiproxy and mdiobus
34264085Ssbrunooptions 	ARGE_MDIO	# Export an MDIO bus separate from arge
35264085Ssbrunodevice		miiproxy	# MDIO bus <-> MII PHY rendezvous
36264085Ssbruno
37264085Ssbrunodevice		etherswitch
38264085Ssbrunodevice		arswitch
39264085Ssbruno
40264085Ssbruno# read MSDOS formatted disks - USB
41264085Ssbrunooptions		MSDOSFS
42264085Ssbruno
43264085Ssbruno# Enable the uboot environment stuff rather then the
44264085Ssbruno# redboot stuff.
45264085Ssbrunooptions		AR71XX_ENV_UBOOT
46264085Ssbruno
47264085Ssbruno# Used for the static uboot partition map
48264085Ssbrunodevice          geom_map
49264085Ssbruno
50264085Ssbruno# uzip - to boot natively from flash
51295956Sadrianoptions 	GEOM_UZIP
52264085Ssbrunooptions         GEOM_PART_GPT
53264085Ssbruno
54264085Ssbruno# yes, this board has a PCI connected atheros device
55264085Ssbrunodevice          ath_pci
56264085Ssbrunooptions         AR71XX_ATH_EEPROM
57264085Ssbrunodevice          firmware                # Used by the above
58264085Ssbrunooptions         ATH_EEPROM_FIRMWARE
59264085Ssbruno
60264085Ssbruno# Boot off of the rootfs, as defined in the geom_map setup.
61295945Ssobomaxoptions         ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
62264085Ssbruno
63264085Ssbruno# In order to netboot, you have to build the mfsroot into the kernel
64264085Ssbruno# 19443712 or 19M is the biggest rootfs via netboot this thing supports
65264085Ssbruno#options         MD_ROOT         # md device usable as a potential root device
66264085Ssbruno#options         MD_ROOT_SIZE=19444
67264085Ssbruno#makeoptions     MFS_IMAGE=/tftpboot/mfsroot-dir825c1.img.ulzma
68295945Ssobomax#options         ROOTDEVNAME=\"ufs:md0.uzip\"
69