Home | History | Annotate | Line # | Download | only in conf
SAM460EX revision 1.5
      1 #	$NetBSD: SAM460EX,v 1.5 2026/06/19 18:55:23 rkujawa Exp $
      2 #
      3 #	SAM460EX -- ACube Sam460ex (AMCC 460EX)
      4 #
      5 
      6 include 	"arch/evbppc/conf/std.sam460ex"
      7 
      8 #ident 		"SAM460EX-$Revision: 1.5 $"
      9 
     10 maxusers	32
     11 
     12 options 	SAM460EX_FDT		# parse U-Boot supplied device tree
     13 options 	PPC4XX_L2CACHE		# on-chip 256KB L2 
     14 
     15 #
     16 # Diagnostic/debugging support options
     17 #
     18 #options 	DIAGNOSTIC		# cheap kernel consistency checks
     19 #options 	DEBUG			# expensive debugging checks/support
     20 options 	DDB			# in-kernel debugger
     21 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     22 options 	TRAP_PANICWAIT
     23 makeoptions	COPY_SYMTAB=1		# size for embedded symbol table
     24 
     25 makeoptions	DEBUG="-g"		# compile full symbol table
     26 
     27 #
     28 # File systems
     29 #
     30 file-system 	FFS		# UFS
     31 file-system 	NFS		# Network File System client
     32 file-system 	MSDOSFS		# FAT (USB mass storage stress testing)
     33 file-system 	KERNFS		# /kern
     34 file-system	PTYFS		# /dev/pts/N support
     35 file-system	TMPFS		# Efficient memory file-system
     36 
     37 options 	NFS_BOOT_DHCP	# Support DHCP NFS root
     38 
     39 #
     40 # Networking options
     41 #
     42 options 	INET
     43 options 	INET6
     44 
     45 #
     46 # Kernel root file system and dump configuration.
     47 #
     48 config		netbsd	root on ? type ?
     49 
     50 #
     51 # Device configuration
     52 #
     53 plb0 at root				# Processor Local Bus
     54 cpu0	at plb?				# CPU
     55 
     56 # On-chip Peripheral Bus support
     57 opb*	at plb?				# On-chip Peripheral Bus
     58 com*	at opb? addr ? irq ?		# UARTs
     59 wdog*	at opb?				# 460EX on-chip watchdog -> sysmon(4) /dev/watchdog
     60 gpiic*	at opb? addr ? irq ?		# On-chip IIC (bitbang via DIRECTCNTL)
     61 iic*	at gpiic?			# I2C bus
     62 
     63 # needs MI m41st84 M41T62 support, not yet committed
     64 #strtc0	at iic0 addr 0x68 flags 62	# M41T62 RTC (M41T80 under QEMU)
     65 spdmem0 at iic0 addr 0x50		# DDR2 SPD EEPROM
     66 
     67 #seeprom0 at iic0 addr 0x54 flags 8	# U-Boot env EEPROM
     68 
     69 # only EMAC0 is wired on the Sam460ex 
     70 emac0	at opb0 addr 0xef600e00 irq 80	# Ethernet Media Access Controller
     71 options 	EMAC_EVENT_COUNTERS
     72 options 	EMAC_RGMII_PHY		# both EMACs use the RGMII0 bridge
     73 options		EMAC_TAH
     74 
     75 # MII/PHY support
     76 makphy*	at mii? phy ?			# Marvell 88E1121R (dual GbE PHY)
     77 ukphy*	at mii? phy ?			# generic/unknown PHYs
     78 
     79 # PCI bus support
     80 options 	PCI_NETBSD_CONFIGURE
     81 pcix0	at plb?				# 460EX PLB-PCIX host bridge
     82 pciex0	at plb?				# 460EX PCIe root complex 0
     83 pciex1	at plb?				# 460EX PCIe root complex 1
     84 pci*	at pcix?
     85 pci*	at pciex?
     86 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
     87 pci*	at ppb? bus ?
     88 
     89 # on-board SM502 framebuffer, selected via console=sm502
     90 voyager0 at pci? dev ? function ?	# SM502 multimedia processor
     91 voyagerfb0 at voyager0			# SM502 framebuffer console
     92 options 	VOYAGERFB_MODE_SETTING	# DDC/EDID readout + mode-setting
     93 vac0	at voyager0			# SM502 AC97-link (Realtek ALC655)
     94 
     95 # audio
     96 audio*	at audiobus?
     97 
     98 # selected via console=pci
     99 radeonfb* at pci? dev ? function ?	# ATI Radeon R100 - R3XX
    100 
    101 wsdisplay* at wsemuldisplaydev?
    102 
    103 options 	WSEMUL_VT100
    104 options 	WSDISPLAY_SCROLLSUPPORT
    105 options 	FONT_BOLD8x16		# bitmap font (engine putchar path)
    106 
    107 satalink* at pci? dev ? function ?	# SATALink, often used on Sam460ex
    108 siisata* at pci? dev ? function ?
    109 
    110 dwcsata0 at plb? addr 0xbffd1000 irq 96	# on-chip DWC SATA-II (PIO only)
    111 options 	DWCSATA_PIO_ONLY	# DMA is unstable
    112 
    113 atabus*	at ata?
    114 wd*	at atabus? drive ? flags 0x0000
    115 
    116 # On-chip USB 2.0 host (EHCI + OHCI on the AHB)
    117 ohci0	at plb? addr 0xbffd0000 irq 94
    118 ehci0	at plb? addr 0xbffd0400 irq 93
    119 
    120 # USB bus support
    121 usb*	at ehci0
    122 usb*	at ohci0
    123 
    124 # USB Hubs
    125 uhub*	at usb?
    126 uhub*	at uhub? port ?
    127 
    128 # USB Mass Storage
    129 umass*	at uhub? port ? configuration ? interface ?
    130 scsibus* at umass?
    131 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    132 
    133 # USB HID devices (QEMU plugs a usb-kbd and usb-mouse by default)
    134 uhidev*	at uhub? port ? configuration ? interface ?
    135 ukbd*	at uhidev? reportid ?
    136 wskbd*	at ukbd? console ?
    137 ums*	at uhidev? reportid ?
    138 wsmouse* at ums? mux 0
    139 uhid*	at uhidev? reportid ?
    140 
    141 #
    142 # Pseudo devices
    143 #
    144 pseudo-device	wsmux			# keyboard/mouse multiplexor
    145 					# (console input from USB keyboards)
    146 pseudo-device	wsfont			# bitmap fonts for the wsdisplay console
    147 pseudo-device	loop			# network loopback
    148 pseudo-device	pty			# pseudo-terminals
    149 pseudo-device	clockctl		# user control of clock subsystem
    150 pseudo-device	drvctl			# detach/rescan devices (AHB tests)
    151 pseudo-device	ksyms			# /dev/ksyms
    152