1#
2# $FreeBSD$
3#
4# The Broadcom 470x/471x/535x series of processors and boards is very commonly
5# used in COTS hardware including the ASUS RT-N12, RT-N16, RT-N53.
6#
7
8ident		BCM
9cpu		CPU_MIPS74K
10
11hints		"BCM.hints"
12include		"../broadcom/std.broadcom"
13
14# ships with cfe firmware
15options 	CFE
16device		cfe
17
18options 	ALT_BREAK_TO_DEBUGGER
19options 	BREAK_TO_DEBUGGER
20options		BOOTVERBOSE=0
21
22makeoptions	TRAMPLOADADDR=0x80800000
23makeoptions	DEBUG="-g3"		#Build kernel with gdb(1) debug symbols
24makeoptions	MODULES_OVERRIDE=""
25
26options 	DDB
27options 	KDB
28
29options 	SCHED_4BSD		#4BSD scheduler
30options 	INET			#InterNETworking
31options 	TCP_HHOOK		# hhook(9) framework for TCP
32options 	NFSCL			#Network Filesystem Client
33#options 	NFS_ROOT		#NFS usable as /, requires NFSCL
34options 	PSEUDOFS		#Pseudo-filesystem framework
35options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
36
37options         FFS                     #Berkeley Fast Filesystem
38options         SOFTUPDATES             #Enable FFS soft updates support
39options         UFS_ACL                 #Support for access control lists
40options         UFS_DIRHASH             #Improve performance on big directories
41
42device		xz
43options		GEOM_UZIP
44options		GEOM_LABEL		# Providers labelization.
45options		ROOTDEVNAME=\"ufs:ufs/FBSD\"	# assumes FW built by 
46					# freebsd-build-wifi
47
48# Debugging for use in -current
49#options 	DEADLKRES
50options 	INVARIANTS
51options 	INVARIANT_SUPPORT
52
53#options	BHND_LOGLEVEL=BHND_DEBUG_LEVEL
54#options 	BUS_DEBUG
55#makeoptions	BUS_DEBUG
56options 	EARLY_PRINTF
57#options	VERBOSE_SYSINIT
58#makeoptions	VERBOSE_SYSINIT
59
60# bhnd(4)
61device		bhnd
62device		bcma			# bcma backplane
63device		bcma_nexus
64
65device		pci
66device		bhnd_pcib		# PCIe-G1 core
67
68#device		bgmac			# Broadcom GMAC - not yet
69
70device		gpio
71device		mdio
72
73#Flash
74device		spibus
75device		mx25l			# Serial Flash
76device		cfi			# Parallel Flash
77device		cfid
78
79#UART
80device		uart
81
82#Base
83device		loop
84device		ether
85device		md
86
87#Performance
88#options 	HWPMC_HOOKS
89#device		hwpmc
90#device	 	hwpmc_mips74k
91
92#Ethernet
93# device 	bfe			# XXX will build both pci and siba
94device 		miibus			# attachments
95
96# pci devices
97
98# USB
99options 	USB_DEBUG		# enable debug msgs
100# taken from atheros
101options 	USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
102options 	USB_HOST_ALIGN=32		# AR71XX (MIPS in general?) requires this
103
104device		usb			# USB Bus (required)
105device		ohci			# OHCI interface
106device		ehci			# EHCI interface (USB 2.0)
107
108device		scbus
109device		umass
110device		da
111