SAM460EX revision 1.1 1 # $NetBSD: SAM460EX,v 1.1 2026/06/16 21:51:19 rkujawa Exp $
2 #
3 # SAM460EX -- ACube Sam460ex (AMCC 460EX)
4 #
5
6 include "arch/evbppc/conf/std.sam460ex"
7
8 #ident "SAM460EX-$Revision: 1.1 $"
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 # SM502 needs MI voyager/voyagerfb fixes not committed yet
93 #voyager0 at pci? dev ? function ? # SM502 multimedia processor
94 #voyagerfb0 at voyager0 # SM502 framebuffer console
95 #iic* at voyager0 # not yet
96 #wsdisplay* at wsemuldisplaydev?
97
98 #options WSEMUL_VT100
99 #options WSDISPLAY_SCROLLSUPPORT
100 #options FONT_BOLD8x16 # bitmap font (engine putchar path)
101
102 satalink* at pci? dev ? function ? # SATALink, often used on Sam460ex
103 siisata* at pci? dev ? function ?
104
105 dwcsata0 at plb? addr 0xbffd1000 irq 96 # on-chip DWC SATA-II (PIO only)
106 options DWCSATA_PIO_ONLY # DMA is unstable
107
108 atabus* at ata?
109 wd* at atabus? drive ? flags 0x0000
110
111 # On-chip USB 2.0 host (EHCI + OHCI on the AHB)
112 ohci0 at plb? addr 0xbffd0000 irq 94
113 ehci0 at plb? addr 0xbffd0400 irq 93
114
115 # USB bus support
116 usb* at ehci0
117 usb* at ohci0
118
119 # USB Hubs
120 uhub* at usb?
121 uhub* at uhub? port ?
122
123 # USB Mass Storage
124 umass* at uhub? port ? configuration ? interface ?
125 scsibus* at umass?
126 sd* at scsibus? target ? lun ? # SCSI disk drives
127
128 # USB HID devices (QEMU plugs a usb-kbd and usb-mouse by default)
129 uhidev* at uhub? port ? configuration ? interface ?
130 ukbd* at uhidev? reportid ?
131 wskbd* at ukbd? console ?
132 ums* at uhidev? reportid ?
133 wsmouse* at ums? mux 0
134 uhid* at uhidev? reportid ?
135
136 #
137 # Pseudo devices
138 #
139 pseudo-device wsmux # keyboard/mouse multiplexor
140 # (console input from USB keyboards)
141 pseudo-device loop # network loopback
142 pseudo-device pty # pseudo-terminals
143 pseudo-device clockctl # user control of clock subsystem
144 pseudo-device drvctl # detach/rescan devices (AHB tests)
145 pseudo-device ksyms # /dev/ksyms
146