1# $OpenBSD: files.fdt,v 1.149 2021/04/24 07:49:11 visa 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# ARM PrimeCell PL061 General Purpose Input/Output 165device plgpio 166attach plgpio at fdt 167file dev/fdt/plgpio.c plgpio 168 169# ARM PrimeCell PL031 Real-time clock 170device plrtc 171attach plrtc at fdt 172file dev/fdt/plrtc.c plrtc 173 174# ARM PrimeCell PL011 UART 175attach pluart at fdt with pluart_fdt 176file dev/fdt/pluart_fdt.c pluart_fdt 177 178# ARM Power State Coordination Interface 179device psci 180attach psci at fdt 181file dev/fdt/psci.c psci needs-flag 182 183attach virtio at fdt with virtio_mmio 184file dev/fdt/virtio_mmio.c virtio_mmio 185 186# Advanced Host Controller Interface for Serial ATA 187attach ahci at fdt with ahci_fdt 188file dev/fdt/ahci_fdt.c ahci_fdt 189 190# Synopsis Designware GMAC core 191device dwge: ether, ifnet, mii, ifmedia 192attach dwge at fdt 193file dev/fdt/if_dwge.c dwge 194 195attach ehci at fdt with ehci_fdt 196file dev/fdt/ehci_fdt.c ehci_fdt 197 198attach ohci at fdt with ohci_fdt 199file dev/fdt/ohci_fdt.c ohci_fdt 200 201attach sdhc at fdt with sdhc_fdt 202file dev/fdt/sdhc_fdt.c sdhc_fdt 203 204attach xhci at fdt with xhci_fdt 205file dev/fdt/xhci_fdt.c xhci_fdt 206 207device syscon: fdt 208attach syscon at fdt 209file dev/fdt/syscon.c syscon 210 211device pwmbl 212attach pwmbl at fdt 213file dev/fdt/pwmbl.c pwmbl 214 215device pwmfan 216attach pwmfan at fdt 217file dev/fdt/pwmfan.c pwmfan 218 219device pwmreg 220attach pwmreg at fdt 221file dev/fdt/pwmreg.c pwmreg 222 223device amlclock 224attach amlclock at fdt 225file dev/fdt/amlclock.c amlclock 226 227device amldwusb: fdt 228attach amldwusb at fdt 229file dev/fdt/amldwusb.c amldwusb 230 231device amliic: i2cbus 232attach amliic at fdt 233file dev/fdt/amliic.c amliic 234 235device amlmmc: sdmmcbus 236attach amlmmc at fdt 237file dev/fdt/amlmmc.c amlmmc 238 239device amlpciephy 240attach amlpciephy at fdt 241file dev/fdt/amlpciephy.c amlpciephy 242 243device amlpinctrl 244attach amlpinctrl at fdt 245file dev/fdt/amlpinctrl.c amlpinctrl 246 247device amlpwm 248attach amlpwm at fdt 249file dev/fdt/amlpwm.c amlpwm 250 251device amlpwrc 252attach amlpwrc at fdt 253file dev/fdt/amlpwrc.c amlpwrc 254 255device amlreset 256attach amlreset at fdt 257file dev/fdt/amlreset.c amlreset 258 259device amlrng 260attach amlrng at fdt 261file dev/fdt/amlrng.c amlrng 262 263device amlsm 264attach amlsm at fdt 265file dev/fdt/amlsm.c amlsm 266 267device amltemp 268attach amltemp at fdt 269file dev/fdt/amltemp.c amltemp 270 271device amluart 272attach amluart at fdt 273file dev/fdt/amluart.c amluart 274 275device amlusbphy 276attach amlusbphy at fdt 277file dev/fdt/amlusbphy.c amlusbphy 278 279device cduart 280attach cduart at fdt 281file dev/fdt/cduart.c cduart 282 283device hiclock 284attach hiclock at fdt 285file dev/fdt/hiclock.c hiclock 286 287device hidwusb: fdt 288attach hidwusb at fdt 289file dev/fdt/hidwusb.c hidwusb 290 291device hireset 292attach hireset at fdt 293file dev/fdt/hireset.c hireset 294 295device hitemp 296attach hitemp at fdt 297file dev/fdt/hitemp.c hitemp 298 299device rkanxdp 300attach rkanxdp at fdt 301file dev/fdt/rkanxdp.c rkanxdp 302file dev/ic/anxdp.c rkanxdp 303 304device rkclock 305attach rkclock at fdt 306file dev/fdt/rkclock.c rkclock 307 308device rkdrm: drmbase, wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32 309attach rkdrm at fdt 310file dev/fdt/rkdrm.c rkdrm 311file dev/pci/drm/drm_gem_cma_helper.c rkdrm 312 313device rkdwhdmi: dwhdmi, i2cbus 314attach rkdwhdmi at fdt 315file dev/fdt/rkdwhdmi.c rkdwhdmi 316 317device rkdwusb: fdt 318attach rkdwusb at fdt 319file dev/fdt/rkdwusb.c rkdwusb 320 321device rkemmcphy 322attach rkemmcphy at fdt 323file dev/fdt/rkemmcphy.c rkemmcphy 324 325device rkgrf: fdt 326attach rkgrf at fdt 327file dev/fdt/rkgrf.c rkgrf 328 329device rkgpio 330attach rkgpio at fdt 331file dev/fdt/rkgpio.c rkgpio 332 333device rkiic: i2cbus 334attach rkiic at fdt 335file dev/fdt/rkiic.c rkiic 336 337device rkiis 338attach rkiis at fdt 339file dev/fdt/rkiis.c rkiis 340 341device rkpmic 342attach rkpmic at i2c 343file dev/fdt/rkpmic.c rkpmic 344 345device rkpinctrl: fdt 346attach rkpinctrl at fdt 347file dev/fdt/rkpinctrl.c rkpinctrl 348 349device rkpcie: pcibus 350attach rkpcie at fdt 351file dev/fdt/rkpcie.c rkpcie 352 353device rkpwm 354attach rkpwm at fdt 355file dev/fdt/rkpwm.c rkpwm 356 357device rkrng 358attach rkrng at fdt 359file dev/fdt/rkrng.c rkrng 360 361device rktemp 362attach rktemp at fdt 363file dev/fdt/rktemp.c rktemp 364 365device rkvop 366attach rkvop at fdt 367file dev/fdt/rkvop.c rkvop 368 369device dwmmc: sdmmcbus 370attach dwmmc at fdt 371file dev/fdt/dwmmc.c dwmmc 372 373device dwdog 374attach dwdog at fdt 375file dev/fdt/dwdog.c dwdog 376 377device dwpcie: pcibus 378attach dwpcie at fdt 379file dev/fdt/dwpcie.c dwpcie 380 381define spi {} 382device moxtet 383attach moxtet at spi 384file dev/fdt/moxtet.c moxtet 385 386device mvclock 387attach mvclock at fdt 388file dev/fdt/mvclock.c mvclock 389 390device mvdog 391attach mvdog at fdt 392file dev/fdt/mvdog.c mvdog 393 394device mvgicp 395attach mvgicp at fdt 396file dev/fdt/mvgicp.c mvgicp 397 398device mvgpio 399attach mvgpio at fdt 400file dev/fdt/mvgpio.c mvgpio 401 402device mvicu 403attach mvicu at fdt 404file dev/fdt/mvicu.c mvicu 405 406device mviic: i2cbus 407attach mviic at fdt 408file dev/fdt/mviic.c mviic 409 410device mvkpcie: pcibus 411attach mvkpcie at fdt 412file dev/fdt/mvkpcie.c mvkpcie 413 414device mvpinctrl 415attach mvpinctrl at fdt 416file dev/fdt/mvpinctrl.c mvpinctrl 417 418device mvmdio: fdt 419attach mvmdio at fdt 420file dev/fdt/mvmdio.c mvmdio 421 422device mvneta: ether, ifnet, mii, ifmedia 423attach mvneta at fdt 424file dev/fdt/if_mvneta.c mvneta 425 426device mvppc {} 427attach mvppc at fdt 428device mvpp: ether, ifnet, mii, ifmedia 429attach mvpp at mvppc 430file dev/fdt/if_mvpp.c mvppc | mvpp 431 432device mvrng 433attach mvrng at fdt 434file dev/fdt/mvrng.c mvrng 435 436device mvrtc 437attach mvrtc at fdt 438file dev/fdt/mvrtc.c mvrtc 439 440device mvspi: spi 441attach mvspi at fdt 442file dev/fdt/mvspi.c mvspi 443 444device mvsw 445attach mvsw at fdt 446file dev/fdt/mvsw.c mvsw 447 448device mvtemp 449attach mvtemp at fdt 450file dev/fdt/mvtemp.c mvtemp 451 452device mvuart 453attach mvuart at fdt 454file dev/fdt/mvuart.c mvuart 455 456device dwxe: ether, ifnet, mii, ifmedia 457attach dwxe at fdt 458file dev/fdt/if_dwxe.c dwxe 459 460device acrtc 461attach acrtc at rsb 462file dev/fdt/acrtc.c acrtc 463 464device imxanatop 465attach imxanatop at fdt 466file dev/fdt/imxanatop.c imxanatop 467 468device imxccm 469attach imxccm at fdt 470file dev/fdt/imxccm.c imxccm 471 472device imxdwusb: fdt 473attach imxdwusb at fdt 474file dev/fdt/imxdwusb.c imxdwusb 475 476device imxehci: usbus 477attach imxehci at fdt 478file dev/fdt/imxehci.c imxehci 479 480device imxesdhc: sdmmcbus 481attach imxesdhc at fdt 482file dev/fdt/imxesdhc.c imxesdhc 483 484device imxgpc 485attach imxgpc at fdt 486file dev/fdt/imxgpc.c imxgpc 487 488device imxgpio 489attach imxgpio at fdt 490file dev/fdt/imxgpio.c imxgpio 491 492attach imxiic at fdt with imxiic_fdt 493file dev/fdt/imxiic_fdt.c imxiic_fdt 494 495device imxiomuxc 496attach imxiomuxc at fdt 497file dev/fdt/imxiomuxc.c imxiomuxc 498 499device imxpciephy 500attach imxpciephy at fdt 501file dev/fdt/imxpciephy.c imxpciephy 502 503device imxpwm 504attach imxpwm at fdt 505file dev/fdt/imxpwm.c imxpwm 506 507device imxrtc 508attach imxrtc at fdt 509file dev/fdt/imxrtc.c imxrtc 510 511device imxsrc: fdt 512attach imxsrc at fdt 513file dev/fdt/imxsrc.c imxsrc 514 515device imxtmu 516attach imxtmu at fdt 517file dev/fdt/imxtmu.c imxtmu 518 519device imxuart 520attach imxuart at fdt 521file dev/fdt/imxuart.c imxuart 522 523device fec: ether, ifnet, mii, ifmedia 524attach fec at fdt 525file dev/fdt/if_fec.c fec 526 527device imxspi: spi 528attach imxspi at fdt 529file dev/fdt/imxspi.c imxspi 530 531attach ccp at fdt with ccp_fdt 532file dev/fdt/ccp_fdt.c ccp_fdt 533 534attach com at fdt with com_fdt 535file dev/fdt/com_fdt.c com_fdt 536 537attach ipmi at fdt with ipmi_fdt 538file dev/fdt/ipmi_fdt.c ipmi_fdt 539 540device ssdfb: wsemuldisplaydev, rasops1 541attach ssdfb at spi with ssdfb_spi 542attach ssdfb at i2c with ssdfb_i2c 543file dev/fdt/ssdfb.c ssdfb 544 545device fusbtc 546attach fusbtc at i2c 547file dev/fdt/fusbtc.c fusbtc 548 549device sfp 550attach sfp at fdt 551file dev/fdt/sfp.c sfp 552 553# ROHM BD718x7 Regulator 554device bdpmic 555attach bdpmic at i2c 556file dev/fdt/bd718x7.c bdpmic 557 558device tcpci 559attach tcpci at i2c 560file dev/fdt/tcpci.c tcpci 561 562device escodec 563attach escodec at i2c 564file dev/fdt/es8316ac.c escodec 565 566device cwfg 567attach cwfg at i2c 568file dev/fdt/cwfg.c cwfg 569