1# $OpenBSD: files.fdt,v 1.160 2021/11/21 11:02:21 kettenis Exp $ 2# 3# Config file and device description for machine-independent FDT code. 4# Included by ports that need it. 5 6device iicmux: i2cbus 7attach iicmux at fdt 8file dev/fdt/iicmux.c iicmux 9 10device pinctrl 11attach pinctrl at fdt 12file dev/fdt/pinctrl.c pinctrl 13 14device graphaudio: audio 15attach graphaudio at fdt 16file dev/fdt/graphaudio.c graphaudio 17 18device simpleamp 19attach simpleamp at fdt 20file dev/fdt/simpleamp.c simpleamp 21 22device simpleaudio: audio 23attach simpleaudio at fdt 24file dev/fdt/simpleaudio.c simpleaudio 25 26device simplefb: wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32 27attach simplefb at fdt 28file dev/fdt/simplefb.c simplefb 29 30device simplepanel 31attach simplepanel at fdt 32file dev/fdt/simplepanel.c simplepanel 33 34device sxiccmu 35attach sxiccmu at fdt 36file dev/fdt/sxiccmu.c sxiccmu 37 38device sxidog 39attach sxidog at fdt 40file dev/fdt/sxidog.c sxidog 41 42device sxipio {}: gpiobus 43attach sxipio at fdt 44file dev/fdt/sxipio.c sxipio 45 46define rsb {} 47device sxirsb: rsb 48attach sxirsb at fdt 49file dev/fdt/sxirsb.c sxirsb 50 51device sxipwm 52attach sxipwm at fdt 53file dev/fdt/sxipwm.c sxipwm 54 55device sxirtc 56attach sxirtc at fdt 57file dev/fdt/sxirtc.c sxirtc 58 59device sximmc: sdmmcbus 60attach sximmc at fdt 61file dev/fdt/sximmc.c sximmc 62 63device sxisid 64attach sxisid at fdt 65file dev/fdt/sxisid.c sxisid 66 67device sxisyscon: fdt 68attach sxisyscon at fdt 69file dev/fdt/sxisyscon.c sxisyscon 70 71device sxitemp 72attach sxitemp at fdt 73file dev/fdt/sxitemp.c sxitemp 74 75device sxits 76attach sxits at fdt 77file dev/fdt/sxits.c sxits 78 79device sxitwi: i2cbus 80attach sxitwi at fdt 81file dev/fdt/sxitwi.c sxitwi 82 83device axppmic 84attach axppmic at i2c 85attach axppmic at rsb with axppmic_rsb 86file dev/fdt/axppmic.c axppmic 87 88device fanpwr 89attach fanpwr at i2c 90file dev/fdt/fanpwr.c fanpwr 91 92device sypwr 93attach sypwr at i2c 94file dev/fdt/sypwr.c sypwr 95 96device bcmaux 97attach bcmaux at fdt 98file dev/fdt/bcm2835_aux.c bcmaux 99 100device bcmbsc: i2cbus 101attach bcmbsc at fdt 102file dev/fdt/bcm2835_bsc.c bcmbsc 103 104device bcmclock 105attach bcmclock at fdt 106file dev/fdt/bcm2835_clock.c bcmclock 107 108device bcmdmac 109attach bcmdmac at fdt 110file dev/fdt/bcm2835_dmac.c bcmdmac 111 112device bcmdog 113attach bcmdog at fdt 114file dev/fdt/bcm2835_dog.c bcmdog 115 116device bcmgpio: gpiobus 117attach bcmgpio at fdt 118file dev/fdt/bcm2835_gpio.c bcmgpio 119 120device bcmirng 121attach bcmirng at fdt 122file dev/fdt/bcm2711_rng.c bcmirng 123 124device bcmmbox 125attach bcmmbox at fdt 126file dev/fdt/bcm2835_mbox.c bcmmbox 127 128device bcmpcie: pcibus 129attach bcmpcie at fdt 130file dev/fdt/bcm2711_pcie.c bcmpcie 131 132device bcmrng 133attach bcmrng at fdt 134file dev/fdt/bcm2835_rng.c bcmrng 135 136device bcmsdhost: sdmmcbus 137attach bcmsdhost at fdt 138file dev/fdt/bcm2835_sdhost.c bcmsdhost 139 140device bcmtemp 141attach bcmtemp at fdt 142file dev/fdt/bcm2835_temp.c bcmtemp 143 144device bcmtmon 145attach bcmtmon at fdt 146file dev/fdt/bcm2711_tmon.c bcmtmon 147 148attach bse at fdt with bse_fdt 149file dev/fdt/if_bse_fdt.c bse_fdt 150 151include "dev/usb/dwc2/files.dwc2" 152attach dwctwo at fdt with bcmdwctwo 153file dev/fdt/bcm2835_dwctwo.c bcmdwctwo needs-flag 154 155device exrtc 156attach exrtc at fdt 157file dev/fdt/exrtc.c exrtc 158 159device exuart 160attach exuart at fdt 161file dev/fdt/exuart.c exuart 162 163# Google Goldfish real-time clock 164device gfrtc 165attach gfrtc at fdt 166file dev/fdt/gfrtc.c gfrtc 167 168# OpenCores I2C controller 169device ociic: i2cbus 170attach ociic at fdt 171file dev/fdt/ociic.c ociic 172 173# ARM PrimeCell PL061 General Purpose Input/Output 174device plgpio 175attach plgpio at fdt 176file dev/fdt/plgpio.c plgpio 177 178# ARM PrimeCell PL031 Real-time clock 179device plrtc 180attach plrtc at fdt 181file dev/fdt/plrtc.c plrtc 182 183# ARM PrimeCell PL011 UART 184attach pluart at fdt with pluart_fdt 185file dev/fdt/pluart_fdt.c pluart_fdt 186 187# ARM Power State Coordination Interface 188device psci 189attach psci at fdt 190file dev/fdt/psci.c psci needs-flag 191 192attach virtio at fdt with virtio_mmio 193file dev/fdt/virtio_mmio.c virtio_mmio 194 195# Advanced Host Controller Interface for Serial ATA 196attach ahci at fdt with ahci_fdt 197file dev/fdt/ahci_fdt.c ahci_fdt 198 199# Synopsis Designware GMAC core 200device dwge: ether, ifnet, mii, ifmedia 201attach dwge at fdt 202file dev/fdt/if_dwge.c dwge 203 204attach ehci at fdt with ehci_fdt 205file dev/fdt/ehci_fdt.c ehci_fdt 206 207attach ohci at fdt with ohci_fdt 208file dev/fdt/ohci_fdt.c ohci_fdt 209 210attach sdhc at fdt with sdhc_fdt 211file dev/fdt/sdhc_fdt.c sdhc_fdt 212 213attach xhci at fdt with xhci_fdt 214file dev/fdt/xhci_fdt.c xhci_fdt 215 216device syscon: fdt 217attach syscon at fdt 218file dev/fdt/syscon.c syscon 219 220device pwmbl 221attach pwmbl at fdt 222file dev/fdt/pwmbl.c pwmbl 223 224device pwmfan 225attach pwmfan at fdt 226file dev/fdt/pwmfan.c pwmfan 227 228device pwmreg 229attach pwmreg at fdt 230file dev/fdt/pwmreg.c pwmreg 231 232device amlclock 233attach amlclock at fdt 234file dev/fdt/amlclock.c amlclock 235 236device amldwusb: fdt 237attach amldwusb at fdt 238file dev/fdt/amldwusb.c amldwusb 239 240device amliic: i2cbus 241attach amliic at fdt 242file dev/fdt/amliic.c amliic 243 244device amlmmc: sdmmcbus 245attach amlmmc at fdt 246file dev/fdt/amlmmc.c amlmmc 247 248device amlpciephy 249attach amlpciephy at fdt 250file dev/fdt/amlpciephy.c amlpciephy 251 252device amlpinctrl 253attach amlpinctrl at fdt 254file dev/fdt/amlpinctrl.c amlpinctrl 255 256device amlpwm 257attach amlpwm at fdt 258file dev/fdt/amlpwm.c amlpwm 259 260device amlpwrc 261attach amlpwrc at fdt 262file dev/fdt/amlpwrc.c amlpwrc 263 264device amlreset 265attach amlreset at fdt 266file dev/fdt/amlreset.c amlreset 267 268device amlrng 269attach amlrng at fdt 270file dev/fdt/amlrng.c amlrng 271 272device amlsm 273attach amlsm at fdt 274file dev/fdt/amlsm.c amlsm 275 276device amltemp 277attach amltemp at fdt 278file dev/fdt/amltemp.c amltemp 279 280device amluart 281attach amluart at fdt 282file dev/fdt/amluart.c amluart 283 284device amlusbphy 285attach amlusbphy at fdt 286file dev/fdt/amlusbphy.c amlusbphy 287 288device cad: ether, ifnet, mii, ifmedia 289attach cad at fdt 290file dev/fdt/if_cad.c cad 291 292device cduart 293attach cduart at fdt 294file dev/fdt/cduart.c cduart 295 296device hiclock 297attach hiclock at fdt 298file dev/fdt/hiclock.c hiclock 299 300device hidwusb: fdt 301attach hidwusb at fdt 302file dev/fdt/hidwusb.c hidwusb 303 304device hireset 305attach hireset at fdt 306file dev/fdt/hireset.c hireset 307 308device hitemp 309attach hitemp at fdt 310file dev/fdt/hitemp.c hitemp 311 312device rkanxdp 313attach rkanxdp at fdt 314file dev/fdt/rkanxdp.c rkanxdp 315file dev/ic/anxdp.c rkanxdp 316 317device rkclock 318attach rkclock at fdt 319file dev/fdt/rkclock.c rkclock 320 321device rkdrm: drmbase, wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32 322attach rkdrm at fdt 323file dev/fdt/rkdrm.c rkdrm 324file dev/pci/drm/drm_gem_cma_helper.c rkdrm 325 326device rkdwhdmi: dwhdmi, i2cbus 327attach rkdwhdmi at fdt 328file dev/fdt/rkdwhdmi.c rkdwhdmi 329 330device rkdwusb: fdt 331attach rkdwusb at fdt 332file dev/fdt/rkdwusb.c rkdwusb 333 334device rkemmcphy 335attach rkemmcphy at fdt 336file dev/fdt/rkemmcphy.c rkemmcphy 337 338device rkgrf: fdt 339attach rkgrf at fdt 340file dev/fdt/rkgrf.c rkgrf 341 342device rkgpio 343attach rkgpio at fdt 344file dev/fdt/rkgpio.c rkgpio 345 346device rkiic: i2cbus 347attach rkiic at fdt 348file dev/fdt/rkiic.c rkiic 349 350device rkiis 351attach rkiis at fdt 352file dev/fdt/rkiis.c rkiis 353 354device rkpmic 355attach rkpmic at i2c 356file dev/fdt/rkpmic.c rkpmic 357 358device rkpinctrl: fdt 359attach rkpinctrl at fdt 360file dev/fdt/rkpinctrl.c rkpinctrl 361 362device rkpcie: pcibus 363attach rkpcie at fdt 364file dev/fdt/rkpcie.c rkpcie 365 366device rkpwm 367attach rkpwm at fdt 368file dev/fdt/rkpwm.c rkpwm 369 370device rkrng 371attach rkrng at fdt 372file dev/fdt/rkrng.c rkrng 373 374device rktcphy: fdt 375attach rktcphy at fdt 376file dev/fdt/rktcphy.c rktcphy 377 378device rktemp 379attach rktemp at fdt 380file dev/fdt/rktemp.c rktemp 381 382device rkvop 383attach rkvop at fdt 384file dev/fdt/rkvop.c rkvop 385 386device dwmmc: sdmmcbus 387attach dwmmc at fdt 388file dev/fdt/dwmmc.c dwmmc 389 390device dwdog 391attach dwdog at fdt 392file dev/fdt/dwdog.c dwdog 393 394device dwpcie: pcibus 395attach dwpcie at fdt 396file dev/fdt/dwpcie.c dwpcie 397 398define spi {} 399device moxtet 400attach moxtet at spi 401file dev/fdt/moxtet.c moxtet 402 403device mvclock 404attach mvclock at fdt 405file dev/fdt/mvclock.c mvclock 406 407device mvdog 408attach mvdog at fdt 409file dev/fdt/mvdog.c mvdog 410 411device mvgicp 412attach mvgicp at fdt 413file dev/fdt/mvgicp.c mvgicp 414 415device mvgpio 416attach mvgpio at fdt 417file dev/fdt/mvgpio.c mvgpio 418 419device mvicu 420attach mvicu at fdt 421file dev/fdt/mvicu.c mvicu 422 423device mviic: i2cbus 424attach mviic at fdt 425file dev/fdt/mviic.c mviic 426 427device mvkpcie: pcibus 428attach mvkpcie at fdt 429file dev/fdt/mvkpcie.c mvkpcie 430 431device mvpinctrl 432attach mvpinctrl at fdt 433file dev/fdt/mvpinctrl.c mvpinctrl 434 435device mvmdio: fdt 436attach mvmdio at fdt 437file dev/fdt/mvmdio.c mvmdio 438 439device mvneta: ether, ifnet, mii, ifmedia 440attach mvneta at fdt 441file dev/fdt/if_mvneta.c mvneta 442 443device mvppc {} 444attach mvppc at fdt 445device mvpp: ether, ifnet, mii, ifmedia 446attach mvpp at mvppc 447file dev/fdt/if_mvpp.c mvppc | mvpp 448 449device mvrng 450attach mvrng at fdt 451file dev/fdt/mvrng.c mvrng 452 453device mvrtc 454attach mvrtc at fdt 455file dev/fdt/mvrtc.c mvrtc 456 457device mvspi: spi 458attach mvspi at fdt 459file dev/fdt/mvspi.c mvspi 460 461device mvsw 462attach mvsw at fdt 463file dev/fdt/mvsw.c mvsw 464 465device mvtemp 466attach mvtemp at fdt 467file dev/fdt/mvtemp.c mvtemp 468 469device mvuart 470attach mvuart at fdt 471file dev/fdt/mvuart.c mvuart 472 473device dwxe: ether, ifnet, mii, ifmedia 474attach dwxe at fdt 475file dev/fdt/if_dwxe.c dwxe 476 477device acrtc 478attach acrtc at rsb 479file dev/fdt/acrtc.c acrtc 480 481device imxanatop 482attach imxanatop at fdt 483file dev/fdt/imxanatop.c imxanatop 484 485device imxccm 486attach imxccm at fdt 487file dev/fdt/imxccm.c imxccm 488 489device imxdog 490attach imxdog at fdt 491file dev/fdt/imxdog.c imxdog 492 493device imxdwusb: fdt 494attach imxdwusb at fdt 495file dev/fdt/imxdwusb.c imxdwusb 496 497device imxehci: usbus 498attach imxehci at fdt 499file dev/fdt/imxehci.c imxehci 500 501device imxesdhc: sdmmcbus 502attach imxesdhc at fdt 503file dev/fdt/imxesdhc.c imxesdhc 504 505device imxgpc 506attach imxgpc at fdt 507file dev/fdt/imxgpc.c imxgpc 508 509device imxgpio 510attach imxgpio at fdt 511file dev/fdt/imxgpio.c imxgpio 512 513attach imxiic at fdt with imxiic_fdt 514file dev/fdt/imxiic_fdt.c imxiic_fdt 515 516device imxiomuxc 517attach imxiomuxc at fdt 518file dev/fdt/imxiomuxc.c imxiomuxc 519 520device imxpciephy 521attach imxpciephy at fdt 522file dev/fdt/imxpciephy.c imxpciephy 523 524device imxpwm 525attach imxpwm at fdt 526file dev/fdt/imxpwm.c imxpwm 527 528device imxrtc 529attach imxrtc at fdt 530file dev/fdt/imxrtc.c imxrtc 531 532device imxsrc: fdt 533attach imxsrc at fdt 534file dev/fdt/imxsrc.c imxsrc 535 536device imxtmu 537attach imxtmu at fdt 538file dev/fdt/imxtmu.c imxtmu 539 540device imxuart 541attach imxuart at fdt 542file dev/fdt/imxuart.c imxuart 543 544device fec: ether, ifnet, mii, ifmedia 545attach fec at fdt 546file dev/fdt/if_fec.c fec 547 548device imxspi: spi 549attach imxspi at fdt 550file dev/fdt/imxspi.c imxspi 551 552attach ccp at fdt with ccp_fdt 553file dev/fdt/ccp_fdt.c ccp_fdt 554 555attach com at fdt with com_fdt 556file dev/fdt/com_fdt.c com_fdt 557 558attach ipmi at fdt with ipmi_fdt 559file dev/fdt/ipmi_fdt.c ipmi_fdt 560 561device ssdfb: wsemuldisplaydev, rasops1 562attach ssdfb at spi with ssdfb_spi 563attach ssdfb at i2c with ssdfb_i2c 564file dev/fdt/ssdfb.c ssdfb 565 566device fusbtc 567attach fusbtc at i2c 568file dev/fdt/fusbtc.c fusbtc 569 570device sfp 571attach sfp at fdt 572file dev/fdt/sfp.c sfp 573 574# ROHM BD718x7 Regulator 575device bdpmic 576attach bdpmic at i2c 577file dev/fdt/bd718x7.c bdpmic 578 579device tcpci 580attach tcpci at i2c 581file dev/fdt/tcpci.c tcpci 582 583device escodec 584attach escodec at i2c 585file dev/fdt/es8316ac.c escodec 586 587device cwfg 588attach cwfg at i2c 589file dev/fdt/cwfg.c cwfg 590 591# Dialog DA9063 PMIC 592device dapmic 593attach dapmic at i2c 594file dev/fdt/dapmic.c dapmic 595 596device gpiocharger 597attach gpiocharger at fdt 598file dev/fdt/gpiocharger.c gpiocharger 599 600device gpioleds 601attach gpioleds at fdt 602file dev/fdt/gpioleds.c gpioleds 603 604device gpiokeys 605attach gpiokeys at fdt 606file dev/fdt/gpiokeys.c gpiokeys 607