1 # $NetBSD: SAM460EX,v 1.6 2026/06/23 22:07:46 rkujawa Exp $ 2 # 3 # SAM460EX -- ACube Sam460ex (AMCC 460EX) 4 # 5 6 include "arch/evbppc/conf/std.sam460ex" 7 8 #ident "SAM460EX-$Revision: 1.6 $" 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 options KTRACE # system call tracing 26 27 makeoptions DEBUG="-g" # compile full symbol table 28 29 # 30 # File systems 31 # 32 file-system FFS # UFS 33 file-system EXT2FS # Linux ext2fs 34 file-system MSDOSFS # FAT 35 file-system KERNFS # /kern 36 file-system PTYFS # /dev/pts/N support 37 file-system TMPFS # Efficient memory file-system 38 39 options FFS_EI # Enable Endian Independent 40 41 options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 42 options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges 43 options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges 44 45 file-system NFS # Network File System client 46 options NFS_BOOT_DHCP # Support DHCP NFS root 47 48 # 49 # Networking options 50 # 51 options INET 52 options INET6 53 54 # 55 # Kernel root file system and dump configuration. 56 # 57 config netbsd root on ? type ? 58 59 # 60 # Device configuration 61 # 62 plb0 at root # Processor Local Bus 63 cpu0 at plb? # CPU 64 65 # On-chip Peripheral Bus support 66 opb* at plb? # On-chip Peripheral Bus 67 com* at opb? addr ? irq ? # UARTs 68 wdog* at opb? # On-chip Watchdog 69 gpiic* at opb? addr ? irq ? # On-chip IIC 70 iic* at gpiic? # I2C bus 71 72 strtc0 at iic0 addr 0x68 flags 62 # M41T62 RTC (M41T80 under QEMU) 73 spdmem0 at iic0 addr 0x50 # DDR2 SPD EEPROM 74 75 #seeprom0 at iic0 addr 0x54 flags 8 # U-Boot env EEPROM 76 77 # only EMAC0 is wired on the Sam460ex 78 emac0 at opb0 addr 0xef600e00 irq 80 # Ethernet Media Access Controller 79 options EMAC_EVENT_COUNTERS 80 options EMAC_RGMII_PHY # both EMACs use the RGMII0 bridge 81 options EMAC_TAH 82 83 # MII/PHY support 84 makphy* at mii? phy ? # Marvell 88E1121R (dual GbE PHY) 85 ukphy* at mii? phy ? # generic/unknown PHYs 86 87 # PCI bus support 88 options PCI_NETBSD_CONFIGURE 89 pcix0 at plb? # 460EX PLB-PCIX host bridge 90 pciex0 at plb? # 460EX PCIe root complex 0 91 pciex1 at plb? # 460EX PCIe root complex 1 92 pci* at pcix? 93 pci* at pciex? 94 ppb* at pci? dev ? function ? # PCI-PCI bridges 95 pci* at ppb? bus ? 96 97 # on-board SM502 framebuffer, selected via console=sm502 98 voyager0 at pci? dev ? function ? # SM502 multimedia processor 99 voyagerfb0 at voyager0 # SM502 framebuffer console 100 options VOYAGERFB_MODE_SETTING # DDC/EDID readout + mode-setting 101 vac0 at voyager0 # SM502 AC97-link (Realtek ALC655) 102 103 # audio 104 audio* at audiobus? 105 106 spkr* at audio? # tone interface, synthesized via audio 107 wsbell* at spkr? # bell for the wscons display 108 109 # selected via console=pci 110 radeonfb* at pci? dev ? function ? # ATI Radeon R100 - R3XX 111 112 wsdisplay* at wsemuldisplaydev? 113 114 options WSEMUL_VT100 115 options WSDISPLAY_SCROLLSUPPORT 116 options FONT_BOLD8x16 # bitmap font 117 118 satalink* at pci? dev ? function ? # SATALink 119 siisata* at pci? dev ? function ? 120 121 dwcsata0 at plb? addr 0xbffd1000 irq 96 # on-chip DWC SATA-II 122 options DWCSATA_PIO_ONLY # force PIO mode 123 124 atabus* at ata? 125 wd* at atabus? drive ? flags 0x0000 126 127 # On-chip USB 2.0 host (EHCI + OHCI on the AHB) 128 ohci0 at plb? addr 0xbffd0000 irq 94 129 ehci0 at plb? addr 0xbffd0400 irq 93 130 131 # USB bus support 132 usb* at ehci0 133 usb* at ohci0 134 135 # USB Hubs 136 uhub* at usb? 137 uhub* at uhub? port ? 138 139 # USB Mass Storage 140 umass* at uhub? port ? configuration ? interface ? 141 scsibus* at umass? 142 sd* at scsibus? target ? lun ? # SCSI disk drives 143 144 # USB HID devices 145 uhidev* at uhub? port ? configuration ? interface ? 146 ukbd* at uhidev? reportid ? 147 wskbd* at ukbd? console ? 148 ums* at uhidev? reportid ? 149 wsmouse* at ums? mux 0 150 uhid* at uhidev? reportid ? 151 152 # 153 # Pseudo devices 154 # 155 pseudo-device wsmux # keyboard/mouse multiplexor 156 pseudo-device wsfont # bitmap fonts for the wsdisplay console 157 pseudo-device loop # network loopback 158 pseudo-device pty # pseudo-terminals 159 pseudo-device clockctl # user control of clock subsystem 160 pseudo-device drvctl # detach/rescan devices 161 pseudo-device ksyms # /dev/ksyms 162