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