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