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