#
#	GENERIC configuration for PMC-Sierra Sequoia platform. 
#

machine         Sequoia		mips	# CPU Architecture, Platform
config          pmon 

#
#  Define target endian
#
makeoption	ENDIAN=b		# Endian, set to 'l' or 'b'.

#
#  We are building a compressed boot image version.
#
makeoptions	COMPRESSED=yes

#
#  Special options
#
option		DEFAULT_IP="\"192.168.16.96\""	# Default IP is DHCP fails.

option 		AUTOBOOT_DUAL		# Use dual image boot state machine
option		AUTOBOOT_FLASH		# Autoboot if flash image is valid
#option		AUTOBOOT_NOCRC		# Don't do CRC32 check on flash image
option 		SHUTDOWN_ON_GO		# Shutdown interfaces before handoff to client

option		HAVE_FLASH		# Include flash memory support

#option		ENV_FLASH		# Environment data saved in flash
option 		ENV_MASS		# Environment on mass storage
#option 	ENV_RTC			# Environment on RTC chip.

option		TGT_PERIODIC		# Call tgt_periodic once per ms.

option		TFTPD_BCAST=5090	# TFTPD announce broadcast port

option		STATUS_LED=202		# Status LED toggle (GPIO bit number)
option		TFTPD_LED=202		# Toggle when TFTPD running.
option		SYSERR_LED=203		# System error LED toggle (GPIO bit number)

option		TFTPD_LED_ON=500	# TFTPD active led on time in ms
option		TFTPD_LED_OFF=500	# TFTPD active led off time in ms
option		ERASE_LED_ON=125	# ERASE active led on time in ms
option		ERASE_LED_OFF=125	# ERASE active led off time in ms
option		SYSERR_LED_ON=250	# ERASE active led on time in ms
option		SYSERR_LED_OFF=250	# ERASE active led off time in ms

option		ERASE_PIN=200		# Erase status input.
option		ERASE_PIN_TIME=3000	# Time until activated.
#option		TFTPD_PIN=200		# Tftpd status input, enables tftpd functionality.
option		TFTPD_PIN_TIME=5000	# Time until activated.

#
#  Plugins
#
select		p_tftpd

#
#  Functional modules
#
select		mod_tod_ds15x1
#select		mod_tod_m48t37

#

include "conf/GENERIC_ALL"

#
# Platform options
#
option 		NAS			# Target is a NAS platform
option          E9000                   # E9000 core
option          RM9150                  # RM9150 SOC device
option		SEQUOIA
option		MIPS
option		RM9000			# CPU type is RM9000
option		INET
select		mod_uart_rm9200		# Include rm9200 uart driver
option		CONS_BAUD=B115200
option		TGT_TOGGLE		# We want to toggle!
option 		GPIO

#
#  Kernel data memory size
#
option		NKMEMCLUSTERS=1024	# Kernel memory size in 4k pages

#
#  Space saving options
#
option 		SCSITERSE	# -24kb Clear text SCSI errmsgs.
option 		PCIVERBOSE	# +35kb PCI device names.
option  	USBVERBOSE	# +40kb USB verbose messages.

#
# Debug options
#
option		DEBUG_LOCORE		# Debug output from basic init
#option		SBD_DEBUG		# Startup progress logging
#option		AUTOCONF_VERBOSE=1
#option		PRAM			# Build ram loaded pmon for debug

#
# Functional options
#
option		NOSNOOP			# Caches are no-snooping
option		NEWPCIROOT		# New style PCI framework
select		generic_envram		# Use generic NV-ram routines.
#select		iso9660			# Include ISO 9660 filesystem support
select		ramfiles		# Include ramfile support
select		fatfs			# Include FAT filesystem support
select		cmd_fileutils		# File utilites
#select		gzip			# Include gzip support
#select		cmd_pfctr		# Performance counter commands
select		cmd_etherprom		# Ethernet controller prom editor

#
# HAVE options.  What tgt level provide
#
option		HAVE_TOD		# Time-Of-Day clock
option		HAVE_NVENV		# Platform has non-volatile env mem
option		HAVE_LOGO		# Has 'splash' logo

#
# System Name and Target Name
#
option		SYSTYPE="\"sequoia\""
option		TARGETNAME="\"SEQUOIA\""
option 		TGT_SEQUOIA

#
# Now the Machine specification
#
mainbus0        at root
localbus0	at mainbus0
pcibr*		at mainbus0
pci*		at pcibr?
ppb*		at pci? dev ? function ?	# PCI-PCI bridges
pci*		at ppb? bus ?

#### Networking Devices
rme0		at localbus0 phyaddr 1		# RM9150 GE port 0
rme1		at localbus0 phyaddr 2		# RM9150 GE port 1
#fxp0		at pci? dev ? function ?	# Intel 82559 Device
#fxp1		at pci? dev ? function ?	# Intel 82559 Device

#### Media Independent Interface (mii) drivers
eephy*		at mii? phy ?			# Marvell 88E1000 GB PHY
#inphy*		at mii? phy ?			# Intel 82555 PHYs

#### IDE controllers
pciide* 	at pci ? dev ? function ? flags 0x0000

#### IDE hard drives
wd*		at pciide? channel ? drive ? flags 0x0000

#### USB
ohci*		at pci?
ehci*		at pci?
#uhci*		at pci?
usb0		at ehci?
usb*		at ohci?
usb*		at ehci?
uhub0		at usb0			# USB Hubs
uhub*		at usb?			# USB Hubs
uhub*		at uhub?		# USB Hubs
umass0		at uhub0 port 1
umass*		at uhub?
scsibus0	at umass0		# Force scsibus0 to umass0
scsibus*	at umass?

#### SCSI support
#siop*		at pci? dev ? function ?	# Symbios/NCR 53c...
#scsibus*	at siop?

sd0		at scsibus0 target 1 lun 0 	# Hardwire first SCSI device.
sd*		at scsibus? target ? lun ? 
#cd*		at scsibus? target ? lun ? 

#### Pseudo devices
pseudo-device	loop	1		# network loopback

