1# $OpenBSD: RAMDISK,v 1.131 2020/06/25 12:44:09 patrick Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default OpenBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling OpenBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21machine arm64 22maxusers 4 23 24option PCIVERBOSE 25option USBVERBOSE 26option SMALL_KERNEL 27option NO_PROPOLICE 28option BOOT_CONFIG 29 30option RAMDISK_HOOKS 31option MINIROOTSIZE=16384 32 33option FFS 34option FFS2 35option MSDOSFS 36option INET6 37option EXT2FS 38option NFSCLIENT 39option CRYPTO 40 41makeoptions KERNEL_BASE_PHYS="0x00200000" 42makeoptions KERNEL_BASE_VIRT="0xffffff8000200000" 43 44config bsd root on rd0a swap on rd0b 45 46# The main bus device 47mainbus0 at root 48softraid0 at root 49cpu0 at mainbus? 50efi0 at mainbus? 51acpi0 at mainbus? 52acpiec* at acpi? 53acpimcfg* at acpi? 54acpipci* at acpi? 55pci* at acpipci? 56ahci* at acpi? 57ccp* at acpi? # AMD Cryptographic Co-processor 58com* at acpi? 59pluart* at acpi? 60xhci* at acpi? 61simplebus* at fdt? 62 63scsibus* at scsi? 64sd* at scsibus? 65st* at scsibus? 66cd* at scsibus? 67ch* at scsibus? 68uk* at scsibus? 69 70ampintc* at fdt? early 1 71ampintcmsi* at fdt? early 1 72agintc* at fdt? early 1 73agintcmsi* at fdt? early 1 74agtimer* at fdt? 75ahci* at fdt? 76dwge* at fdt? 77dwpcie* at fdt? 78pci* at dwpcie? 79ohci* at fdt? 80ehci* at fdt? 81pciecam* at fdt? 82pci* at pciecam? 83sdhc* at fdt? 84sdmmc* at sdhc? 85bwfm* at sdmmc? # Broadcom FullMAC 86xhci* at fdt? 87ccp* at fdt? # AMD Cryptographic Co-processor 88 89# NS16550 compatible serial ports 90com* at fdt? 91 92# Generic devices 93pinctrl* at fdt? early 1 94plgpio* at fdt? early 1 95plrtc* at fdt? 96pluart* at fdt? 97psci* at fdt? early 1 98syscon* at fdt? early 1 99pwmfan* at fdt? 100 101virtio* at fdt? 102virtio* at pci? 103vio* at virtio? 104vioblk* at virtio? 105viomb* at virtio? 106viornd* at virtio? 107vioscsi* at virtio? 108 109simplefb* at fdt? 110wsdisplay* at simplefb? 111 112# iMX 113imxccm* at fdt? early 1 114imxiomuxc* at fdt? early 1 115imxanatop* at fdt? early 1 116imxsrc* at fdt? early 1 117imxehci* at fdt? 118usb* at imxehci? 119imxgpc* at fdt? 120imxgpio* at fdt? 121fec* at fdt? 122imxuart* at fdt? 123imxiic* at fdt? 124iic* at imxiic? 125bdpmic* at iic? 126imxesdhc* at fdt? 127sdmmc* at imxesdhc? 128imxpciephy* at fdt? 129 130# Raspberry Pi 3/4 131bcmaux* at fdt? early 1 132bcmbsc* at fdt? 133iic* at bcmbsc? 134bcmclock* at fdt? early 1 135bcmdmac* at fdt? early 1 136bcmdog* at fdt? 137bcmgpio* at fdt? early 1 138bcmintc* at fdt? early 1 139bcmirng* at fdt? 140bcmmbox* at fdt? early 1 141bcmpcie* at fdt? 142pci* at bcmpcie? 143bcmrng* at fdt? 144bcmsdhost* at fdt? 145sdmmc* at bcmsdhost? 146bse* at fdt? 147bse* at acpi? 148dwctwo* at fdt? 149usb* at dwctwo? 150 151# Amlogic SoCs 152amlclock* at fdt? early 1 153amldwusb* at fdt? 154amliic* at fdt? 155iic* at amliic? 156amlmmc* at fdt? 157sdmmc* at amlmmc? 158amlpciephy* at fdt? 159amlpinctrl* at fdt? early 1 160amlpwrc* at fdt? early 1 161amlreset* at fdt? early 1 162amlrng* at fdt? 163amluart* at fdt? 164amlusbphy* at fdt? 165 166# HiSilicon SoCs 167hiclock* at fdt? early 1 168hidwusb* at fdt? 169hireset* at fdt? early 1 170 171# Marvell SoCs 172mvclock* at fdt? early 1 173mvgicp* at fdt? early 1 174mvicu* at fdt? early 1 175mvpinctrl* at fdt? early 1 176mvdog* at fdt? 177mvgpio* at fdt? 178mviic* at fdt? 179iic* at mviic? 180mvkpcie* at fdt? 181pci* at mvkpcie? 182mvmdio* at fdt? 183mvneta* at fdt? 184#mvppc* at fdt? 185#mvpp* at mvppc? 186mvrng* at fdt? 187mvrtc* at fdt? 188mvuart* at fdt? 189sfp* at fdt? 190 191# Rockchip SoCs 192rkclock* at fdt? early 1 193rkgrf* at fdt? early 1 194rkpinctrl* at fdt? early 1 195rkemmcphy* at fdt? 196rkgpio* at fdt? 197rkiic* at fdt? 198iic* at rkiic? 199rkpcie* at fdt? 200pci* at rkpcie? 201rkpwm* at fdt? 202rkrng* at fdt? 203rkdwusb* at fdt? 204dwmmc* at fdt? 205sdmmc* at dwmmc? 206 207# Sunxi SoCs 208sxipio* at fdt? early 1 # GPIO pins for leds & PHYs 209gpio* at sxipio? 210sxiccmu* at fdt? early 1 # Clock Control Module/Unit 211sxidog* at fdt? 212sxirsb* at fdt? early 1 # Reduced Serial Bus 213sxirtc* at fdt? early 1 # Real Time Clock 214sximmc* at fdt? # SD/MMC card controller 215sdmmc* at sximmc? # SD/MMC bus 216sxisid* at fdt? early 1 217sxisyscon* at fdt? early 1 # System controller 218sxitwi* at fdt? # I2C controller 219iic* at sxitwi? # I2C bus 220dwxe* at fdt? 221 222# PCI 223ppb* at pci? # PCI-PCI bridges 224pci* at ppb? 225 226# PCI Ethernet 227bnxt* at pci? # Broadcom BCM573xx, BCM574xx 228em* at pci? # Intel Pro/1000 Ethernet 229ix* at pci? # Intel 82598EB 10Gb Ethernet 230mcx* at pci? # Mellanox ConnectX-4/5 Ethernet 231mskc* at pci? # Marvell Yukon-2 232msk* at mskc? # each port of above 233re* at pci? # Realtek 8169/8169S/8110S 234rge* at pci? # Realtek 8125 235 236# PCI WiFi 237bwfm* at pci? # Broadcom FullMAC 238 239# PCI SCSI 240ahci* at pci? flags 0x0000 # AHCI SATA controllers 241 # flags 0x0001 to force SATA 1 (1.5Gb/s) 242nvme* at pci? # NVMe controllers 243 244# USB Controllers 245ohci* at pci? # Open Host Controller 246uhci* at pci? # Universal Host Controller (Intel) 247ehci* at pci? # Enhanced Host Controller 248xhci* at pci? # eXtensible Host Controller 249 250# USB bus support 251usb* at ohci? 252usb* at uhci? 253usb* at ehci? 254usb* at xhci? 255 256# USB devices 257uhub* at usb? # USB Hubs 258uhub* at uhub? # USB Hubs 259umass* at uhub? # USB Mass Storage devices 260uhidev* at uhub? # Human Interface Devices 261ukbd* at uhidev? # USB keyboard 262wskbd* at ukbd? mux 1 263aue* at uhub? # ADMtek AN986 Pegasus Ethernet 264atu* at uhub? # Atmel AT76c50x based 802.11b 265axe* at uhub? # ASIX Electronics AX88172 USB Ethernet 266axen* at uhub? # ASIX Electronics AX88179 USB Ethernet 267cue* at uhub? # CATC USB-EL1201A based Ethernet 268kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet 269smsc* at uhub? # SMSC LAN95xx Ethernet 270cdce* at uhub? # CDC Ethernet 271urndis* at uhub? # Remote NDIS Ethernet 272upl* at uhub? # Prolific PL2301/PL2302 host-to-host `network' 273ugl* at uhub? # Genesys Logic GL620USB-A host-to-host `network' 274udav* at uhub? # Davicom DM9601 based Ethernet 275mos* at uhub? # MOSCHIP MCS7730/7830 10/100 Ethernet 276mue* at uhub? # Microchip LAN75xx/LAN78xx Ethernet 277url* at uhub? # Realtek RTL8150L based adapters 278ure* at uhub? # Realtek RTL8152 based adapters 279wi* at uhub? # WaveLAN IEEE 802.11DS 280uath* at uhub? # Atheros AR5005UG/AR5005UX 281ural* at uhub? # Ralink RT2500USB 282rum* at uhub? # Ralink RT2501USB/RT2601USB 283run* at uhub? # Ralink RT2700U/RT2800U/RT3000U 284otus* at uhub? # Atheros AR9001U 285athn* at uhub? # Atheros AR9002U 286zyd* at uhub? # Zydas ZD1211 287upgt* at uhub? # Conexant/Intersil PrismGT SoftMAC USB 288urtw* at uhub? # Realtek 8187 289rsu* at uhub? # Realtek RTL8188SU/RTL8191SU/RTL8192SU 290urtwn* at uhub? # Realtek RTL8188CU/RTL8192CU 291bwfm* at uhub? # Broadcom FullMAC 292 293amphy* at mii? # AMD 79C873 PHYs 294atphy* at mii? # Attansic F1 PHYs 295brgphy* at mii? # Broadcom Gigabit PHYs 296eephy* at mii? # Marvell 88E1000 series PHY 297rgephy* at mii? # Realtek 8169S/8110S PHY 298rlphy* at mii? # Realtek 8139 internal PHYs 299ukphy* at mii? # "unknown" PHYs 300urlphy* at mii? # Realtek RTL8150L internal PHY 301 302scsibus* at scsi? 303sd* at scsibus? 304cd* at scsibus? 305st* at scsibus? 306ch* at scsibus? 307uk* at scsibus? 308 309# I2C devices 310abcrtc* at iic? # Abracon x80x RTC 311dsxrtc* at iic? # DS3231 RTC 312fusbtc* at iic? # USB Type-C controller 313islrtc* at iic? # ISL1208 RTC 314maxrtc* at iic? # DS1307 RTC 315mcprtc* at iic? # MCP794XX RTC 316pcfrtc* at iic? # PCF8523 RTC 317pcxrtc* at iic? # PCF8563 RTC 318rkpmic* at iic? # RK808 PMIC 319tcpci* at iic? # USB Type-C controller 320 321pseudo-device loop 1 322pseudo-device vlan 323pseudo-device trunk 324pseudo-device bpfilter 1 325pseudo-device rd 1 326pseudo-device bio 1 327