1# $OpenBSD: files.fdt,v 1.202 2024/03/27 15:15:00 patrick Exp $ 2# 3# Config file and device description for machine-independent FDT code. 4# Included by ports that need it. 5 6define spi {} 7define spmi {} 8 9device iicmux: i2cbus 10attach iicmux at fdt 11file dev/fdt/iicmux.c iicmux 12 13device pinctrl 14attach pinctrl at fdt 15file dev/fdt/pinctrl.c pinctrl 16 17device graphaudio: audio 18attach graphaudio at fdt 19file dev/fdt/graphaudio.c graphaudio 20 21device simpleamp 22attach simpleamp at fdt 23file dev/fdt/simpleamp.c simpleamp 24 25device simpleaudio: audio 26attach simpleaudio at fdt 27file dev/fdt/simpleaudio.c simpleaudio 28 29device simplefb: wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32 30attach simplefb at fdt 31file dev/fdt/simplefb.c simplefb 32 33device simplepanel 34attach simplepanel at fdt 35file dev/fdt/simplepanel.c simplepanel 36 37device sxiccmu 38attach sxiccmu at fdt 39file dev/fdt/sxiccmu.c sxiccmu 40 41device sxidog 42attach sxidog at fdt 43file dev/fdt/sxidog.c sxidog 44 45device sxipio {}: gpiobus 46attach sxipio at fdt 47file dev/fdt/sxipio.c sxipio 48 49define rsb {} 50device sxirsb: rsb 51attach sxirsb at fdt 52file dev/fdt/sxirsb.c sxirsb needs-flag 53 54device sxipwm 55attach sxipwm at fdt 56file dev/fdt/sxipwm.c sxipwm 57 58device sxirtc 59attach sxirtc at fdt 60file dev/fdt/sxirtc.c sxirtc 61 62device sximmc: sdmmcbus 63attach sximmc at fdt 64file dev/fdt/sximmc.c sximmc 65 66device sxirintc 67attach sxirintc at fdt 68file dev/fdt/sxirintc.c sxirintc 69 70device sxisid 71attach sxisid at fdt 72file dev/fdt/sxisid.c sxisid 73 74device sxisyscon: fdt 75attach sxisyscon at fdt 76file dev/fdt/sxisyscon.c sxisyscon 77 78device sxitemp 79attach sxitemp at fdt 80file dev/fdt/sxitemp.c sxitemp 81 82device sxits 83attach sxits at fdt 84file dev/fdt/sxits.c sxits 85 86device sxitwi: i2cbus 87attach sxitwi at fdt 88file dev/fdt/sxitwi.c sxitwi 89 90device axppmic 91attach axppmic at i2c 92attach axppmic at rsb with axppmic_rsb 93file dev/fdt/axppmic.c axppmic 94 95device fanpwr 96attach fanpwr at i2c 97file dev/fdt/fanpwr.c fanpwr 98 99device sypwr 100attach sypwr at i2c 101file dev/fdt/sypwr.c sypwr 102 103device bcmaux 104attach bcmaux at fdt 105file dev/fdt/bcm2835_aux.c bcmaux 106 107device bcmbsc: i2cbus 108attach bcmbsc at fdt 109file dev/fdt/bcm2835_bsc.c bcmbsc 110 111device bcmclock 112attach bcmclock at fdt 113file dev/fdt/bcm2835_clock.c bcmclock 114 115device bcmdmac 116attach bcmdmac at fdt 117file dev/fdt/bcm2835_dmac.c bcmdmac 118 119device bcmdog 120attach bcmdog at fdt 121file dev/fdt/bcm2835_dog.c bcmdog 122 123device bcmgpio: gpiobus 124attach bcmgpio at fdt 125file dev/fdt/bcm2835_gpio.c bcmgpio 126 127device bcmirng 128attach bcmirng at fdt 129file dev/fdt/bcm2711_rng.c bcmirng 130 131device bcmmbox 132attach bcmmbox at fdt 133file dev/fdt/bcm2835_mbox.c bcmmbox 134 135device bcmpcie: pcibus, fdt 136attach bcmpcie at fdt 137file dev/fdt/bcm2711_pcie.c bcmpcie 138 139device bcmrng 140attach bcmrng at fdt 141file dev/fdt/bcm2835_rng.c bcmrng 142 143device bcmsdhost: sdmmcbus 144attach bcmsdhost at fdt 145file dev/fdt/bcm2835_sdhost.c bcmsdhost 146 147device bcmtemp 148attach bcmtemp at fdt 149file dev/fdt/bcm2835_temp.c bcmtemp 150 151device bcmtmon 152attach bcmtmon at fdt 153file dev/fdt/bcm2711_tmon.c bcmtmon 154 155attach bse at fdt with bse_fdt 156file dev/fdt/if_bse_fdt.c bse_fdt 157 158include "dev/usb/dwc2/files.dwc2" 159attach dwctwo at fdt with bcmdwctwo 160file dev/fdt/bcm2835_dwctwo.c bcmdwctwo needs-flag 161 162device exrtc 163attach exrtc at fdt 164file dev/fdt/exrtc.c exrtc 165 166device exuart 167attach exuart at fdt 168file dev/fdt/exuart.c exuart 169 170# Google Goldfish real-time clock 171device gfrtc 172attach gfrtc at fdt 173file dev/fdt/gfrtc.c gfrtc 174 175# OpenCores I2C controller 176device ociic: i2cbus 177attach ociic at fdt 178file dev/fdt/ociic.c ociic 179 180# ARM PrimeCell PL061 General Purpose Input/Output 181device plgpio 182attach plgpio at fdt 183file dev/fdt/plgpio.c plgpio 184 185# ARM PrimeCell PL031 Real-time clock 186device plrtc 187attach plrtc at fdt 188file dev/fdt/plrtc.c plrtc 189 190# ARM PrimeCell PL011 UART 191attach pluart at fdt with pluart_fdt 192file dev/fdt/pluart_fdt.c pluart_fdt 193 194# ARM Power State Coordination Interface 195device psci 196attach psci at fdt 197file dev/fdt/psci.c psci needs-flag 198 199# ARM System Control and Management Interface 200device scmi 201attach scmi at fdt 202file dev/fdt/scmi.c scmi 203 204attach virtio at fdt with virtio_mmio 205file dev/fdt/virtio_mmio.c virtio_mmio 206 207# Advanced Host Controller Interface for Serial ATA 208attach ahci at fdt with ahci_fdt 209file dev/fdt/ahci_fdt.c ahci_fdt 210 211# Synopsys DesignWare GMAC core 212device dwge: ether, ifnet, mii, ifmedia 213attach dwge at fdt 214file dev/fdt/if_dwge.c dwge 215 216# Synopsys DesignWare Ethernet QoS 217attach dwqe at fdt with dwqe_fdt 218file dev/fdt/if_dwqe_fdt.c dwqe_fdt 219 220attach ehci at fdt with ehci_fdt 221file dev/fdt/ehci_fdt.c ehci_fdt 222 223attach ohci at fdt with ohci_fdt 224file dev/fdt/ohci_fdt.c ohci_fdt 225 226attach sdhc at fdt with sdhc_fdt 227file dev/fdt/sdhc_fdt.c sdhc_fdt 228 229attach xhci at fdt with xhci_fdt 230file dev/fdt/xhci_fdt.c xhci_fdt 231 232device syscon: fdt 233attach syscon at fdt 234file dev/fdt/syscon.c syscon 235 236device pwmbl 237attach pwmbl at fdt 238file dev/fdt/pwmbl.c pwmbl 239 240device pwmfan 241attach pwmfan at fdt 242file dev/fdt/pwmfan.c pwmfan 243 244device pwmleds 245attach pwmleds at fdt 246file dev/fdt/pwmleds.c pwmleds 247 248device pwmreg 249attach pwmreg at fdt 250file dev/fdt/pwmreg.c pwmreg 251 252device amlclock 253attach amlclock at fdt 254file dev/fdt/amlclock.c amlclock 255 256device amldwusb: fdt 257attach amldwusb at fdt 258file dev/fdt/amldwusb.c amldwusb 259 260device amliic: i2cbus 261attach amliic at fdt 262file dev/fdt/amliic.c amliic 263 264device amlmmc: sdmmcbus 265attach amlmmc at fdt 266file dev/fdt/amlmmc.c amlmmc 267 268device amlpciephy 269attach amlpciephy at fdt 270file dev/fdt/amlpciephy.c amlpciephy 271 272device amlpinctrl 273attach amlpinctrl at fdt 274file dev/fdt/amlpinctrl.c amlpinctrl 275 276device amlpwm 277attach amlpwm at fdt 278file dev/fdt/amlpwm.c amlpwm 279 280device amlpwrc 281attach amlpwrc at fdt 282file dev/fdt/amlpwrc.c amlpwrc 283 284device amlreset 285attach amlreset at fdt 286file dev/fdt/amlreset.c amlreset 287 288device amlrng 289attach amlrng at fdt 290file dev/fdt/amlrng.c amlrng 291 292device amlsm 293attach amlsm at fdt 294file dev/fdt/amlsm.c amlsm 295 296device amltemp 297attach amltemp at fdt 298file dev/fdt/amltemp.c amltemp 299 300device amluart 301attach amluart at fdt 302file dev/fdt/amluart.c amluart 303 304device amlusbphy 305attach amlusbphy at fdt 306file dev/fdt/amlusbphy.c amlusbphy 307 308device cad: ether, ifnet, mii, ifmedia 309attach cad at fdt 310file dev/fdt/if_cad.c cad 311 312device cdsdhc: sdmmcbus, sdhc 313attach cdsdhc at fdt 314file dev/fdt/cdsdhc.c cdsdhc 315 316device cduart 317attach cduart at fdt 318file dev/fdt/cduart.c cduart 319 320device hiclock 321attach hiclock at fdt 322file dev/fdt/hiclock.c hiclock 323 324device hidwusb: fdt 325attach hidwusb at fdt 326file dev/fdt/hidwusb.c hidwusb 327 328device hireset 329attach hireset at fdt 330file dev/fdt/hireset.c hireset 331 332device hitemp 333attach hitemp at fdt 334file dev/fdt/hitemp.c hitemp 335 336device rkanxdp 337attach rkanxdp at fdt 338file dev/fdt/rkanxdp.c rkanxdp 339file dev/ic/anxdp.c rkanxdp 340 341device rkclock 342attach rkclock at fdt 343file dev/fdt/rkclock.c rkclock 344 345device rkcomphy 346attach rkcomphy at fdt 347file dev/fdt/rkcomphy.c rkcomphy 348 349device rkusbphy 350attach rkusbphy at fdt 351file dev/fdt/rkusbphy.c rkusbphy 352 353device rkdrm: drmbase, wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32 354attach rkdrm at fdt 355file dev/fdt/rkdrm.c rkdrm 356 357device rkdwhdmi: dwhdmi, i2cbus 358attach rkdwhdmi at fdt 359file dev/fdt/rkdwhdmi.c rkdwhdmi 360 361device rkdwusb: fdt 362attach rkdwusb at fdt 363file dev/fdt/rkdwusb.c rkdwusb 364 365device rkemmcphy 366attach rkemmcphy at fdt 367file dev/fdt/rkemmcphy.c rkemmcphy 368 369device rkgrf: fdt 370attach rkgrf at fdt 371file dev/fdt/rkgrf.c rkgrf 372 373device rkgpio 374attach rkgpio at fdt 375file dev/fdt/rkgpio.c rkgpio 376 377device rkiic: i2cbus 378attach rkiic at fdt 379file dev/fdt/rkiic.c rkiic 380 381device rkiis 382attach rkiis at fdt 383file dev/fdt/rkiis.c rkiis 384 385device rkiovd 386attach rkiovd at fdt 387file dev/fdt/rkiovd.c rkiovd 388 389device rkpcie: pcibus 390attach rkpcie at fdt 391file dev/fdt/rkpcie.c rkpcie 392 393device rkpciephy 394attach rkpciephy at fdt 395file dev/fdt/rkpciephy.c rkpciephy 396 397device rkpinctrl: fdt 398attach rkpinctrl at fdt 399file dev/fdt/rkpinctrl.c rkpinctrl 400 401device rkpmic 402attach rkpmic at spi with rkpmic_spi 403attach rkpmic at i2c with rkpmic_i2c 404file dev/fdt/rkpmic.c rkpmic 405 406device rkpwm 407attach rkpwm at fdt 408file dev/fdt/rkpwm.c rkpwm 409 410device rkrng 411attach rkrng at fdt 412file dev/fdt/rkrng.c rkrng 413 414device rkspi: spi 415attach rkspi at fdt 416file dev/fdt/rkspi.c rkspi 417 418device rktcphy: fdt 419attach rktcphy at fdt 420file dev/fdt/rktcphy.c rktcphy 421 422device rktemp 423attach rktemp at fdt 424file dev/fdt/rktemp.c rktemp 425 426device rkvop 427attach rkvop at fdt 428file dev/fdt/rkvop.c rkvop 429 430attach dwiic at fdt with dwiic_fdt 431file dev/fdt/dwiic_fdt.c dwiic_fdt 432 433device dwmmc: sdmmcbus 434attach dwmmc at fdt 435file dev/fdt/dwmmc.c dwmmc 436 437device dwmshc: sdhc, sdmmcbus 438attach dwmshc at fdt 439file dev/fdt/dwmshc.c dwmshc 440 441device dwdog 442attach dwdog at fdt 443file dev/fdt/dwdog.c dwdog 444 445device dwpcie: pcibus 446attach dwpcie at fdt 447file dev/fdt/dwpcie.c dwpcie 448 449device moxtet 450attach moxtet at spi 451file dev/fdt/moxtet.c moxtet 452 453device mvclock 454attach mvclock at fdt 455file dev/fdt/mvclock.c mvclock 456 457device mvdog 458attach mvdog at fdt 459file dev/fdt/mvdog.c mvdog 460 461device mvgicp 462attach mvgicp at fdt 463file dev/fdt/mvgicp.c mvgicp 464 465device mvgpio 466attach mvgpio at fdt 467file dev/fdt/mvgpio.c mvgpio 468 469device mvicu 470attach mvicu at fdt 471file dev/fdt/mvicu.c mvicu 472 473device mviic: i2cbus 474attach mviic at fdt 475file dev/fdt/mviic.c mviic 476 477device mvkpcie: pcibus 478attach mvkpcie at fdt 479file dev/fdt/mvkpcie.c mvkpcie 480 481device mvpinctrl 482attach mvpinctrl at fdt 483file dev/fdt/mvpinctrl.c mvpinctrl 484 485device mvmdio: fdt 486attach mvmdio at fdt 487file dev/fdt/mvmdio.c mvmdio 488 489device mvneta: ether, ifnet, mii, ifmedia 490attach mvneta at fdt 491file dev/fdt/if_mvneta.c mvneta 492 493device mvppc {} 494attach mvppc at fdt 495device mvpp: ether, ifnet, mii, ifmedia 496attach mvpp at mvppc 497file dev/fdt/if_mvpp.c mvppc | mvpp 498 499device mvrng 500attach mvrng at fdt 501file dev/fdt/mvrng.c mvrng 502 503device mvrtc 504attach mvrtc at fdt 505file dev/fdt/mvrtc.c mvrtc 506 507device mvspi: spi 508attach mvspi at fdt 509file dev/fdt/mvspi.c mvspi 510 511device mvsw 512attach mvsw at fdt 513file dev/fdt/mvsw.c mvsw 514 515device mvtemp 516attach mvtemp at fdt 517file dev/fdt/mvtemp.c mvtemp 518 519device mvuart 520attach mvuart at fdt 521file dev/fdt/mvuart.c mvuart 522 523device dwxe: ether, ifnet, mii, ifmedia 524attach dwxe at fdt 525file dev/fdt/if_dwxe.c dwxe 526 527device acrtc 528attach acrtc at rsb 529file dev/fdt/acrtc.c acrtc 530 531device imxanatop 532attach imxanatop at fdt 533file dev/fdt/imxanatop.c imxanatop 534 535device imxccm 536attach imxccm at fdt 537file dev/fdt/imxccm.c imxccm 538 539device imxdog 540attach imxdog at fdt 541file dev/fdt/imxdog.c imxdog 542 543device imxdwusb: fdt 544attach imxdwusb at fdt 545file dev/fdt/imxdwusb.c imxdwusb 546 547device imxehci: usbus 548attach imxehci at fdt 549file dev/fdt/imxehci.c imxehci 550 551device imxesdhc: sdmmcbus 552attach imxesdhc at fdt 553file dev/fdt/imxesdhc.c imxesdhc 554 555device imxgpc 556attach imxgpc at fdt 557file dev/fdt/imxgpc.c imxgpc 558 559device imxgpio 560attach imxgpio at fdt 561file dev/fdt/imxgpio.c imxgpio 562 563attach imxiic at fdt with imxiic_fdt 564file dev/fdt/imxiic_fdt.c imxiic_fdt 565 566device imxiomuxc 567attach imxiomuxc at fdt 568file dev/fdt/imxiomuxc.c imxiomuxc 569 570device imxpciephy 571attach imxpciephy at fdt 572file dev/fdt/imxpciephy.c imxpciephy 573 574device imxpwm 575attach imxpwm at fdt 576file dev/fdt/imxpwm.c imxpwm 577 578device imxrtc 579attach imxrtc at fdt 580file dev/fdt/imxrtc.c imxrtc 581 582device imxsrc: fdt 583attach imxsrc at fdt 584file dev/fdt/imxsrc.c imxsrc 585 586device imxtmu 587attach imxtmu at fdt 588file dev/fdt/imxtmu.c imxtmu 589 590device imxuart 591attach imxuart at fdt 592file dev/fdt/imxuart.c imxuart 593 594device fec: ether, ifnet, mii, ifmedia 595attach fec at fdt 596file dev/fdt/if_fec.c fec 597 598device imxspi: spi 599attach imxspi at fdt 600file dev/fdt/imxspi.c imxspi 601 602attach ccp at fdt with ccp_fdt 603file dev/fdt/ccp_fdt.c ccp_fdt 604 605attach com at fdt with com_fdt 606file dev/fdt/com_fdt.c com_fdt 607 608attach ipmi at fdt with ipmi_fdt 609file dev/fdt/ipmi_fdt.c ipmi_fdt 610 611device ssdfb: wsemuldisplaydev, rasops1 612attach ssdfb at spi with ssdfb_spi 613attach ssdfb at i2c with ssdfb_i2c 614file dev/fdt/ssdfb.c ssdfb 615 616device fusbtc 617attach fusbtc at i2c 618file dev/fdt/fusbtc.c fusbtc 619 620device sfp 621attach sfp at fdt 622file dev/fdt/sfp.c sfp 623 624# ROHM BD718x7 Regulator 625device bdpmic 626attach bdpmic at i2c 627file dev/fdt/bd718x7.c bdpmic 628 629device tcpci 630attach tcpci at i2c 631file dev/fdt/tcpci.c tcpci 632 633device escodec 634attach escodec at i2c 635file dev/fdt/es8316ac.c escodec 636 637device cwfg 638attach cwfg at i2c 639file dev/fdt/cwfg.c cwfg 640 641# Dialog DA9063 PMIC 642device dapmic 643attach dapmic at i2c 644file dev/fdt/dapmic.c dapmic 645 646device gpiobl 647attach gpiobl at fdt 648file dev/fdt/gpiobl.c gpiobl 649 650device gpiocharger 651attach gpiocharger at fdt 652file dev/fdt/gpiocharger.c gpiocharger 653 654device gpioleds 655attach gpioleds at fdt 656file dev/fdt/gpioleds.c gpioleds 657 658device gpiokeys 659attach gpiokeys at fdt 660file dev/fdt/gpiokeys.c gpiokeys 661 662device gpiorestart 663attach gpiorestart at fdt 664file dev/fdt/gpiorestart.c gpiorestart 665 666device sncodec 667attach sncodec at i2c 668file dev/fdt/sncodec.c sncodec 669 670device tascodec 671attach tascodec at i2c 672file dev/fdt/tascodec.c tascodec 673 674# Qualcomm Always On Subsystem 675device qcaoss 676attach qcaoss at fdt 677file dev/fdt/qcaoss.c qcaoss 678 679# Qualcomm CPU Clock 680device qccpu 681attach qccpu at fdt 682file dev/fdt/qccpu.c qccpu 683 684device qcdwusb: fdt 685attach qcdwusb at fdt 686file dev/fdt/qcdwusb.c qcdwusb 687 688# Qualcomm GPIO controller 689attach qcgpio at fdt with qcgpio_fdt 690file dev/fdt/qcgpio_fdt.c qcgpio 691 692# Qualcomm I2C controller 693attach qciic at fdt with qciic_fdt 694file dev/fdt/qciic_fdt.c qciic 695 696# Qualcomm Inter-Processor Communication controller 697device qcipcc 698attach qcipcc at fdt 699file dev/fdt/qcipcc.c qcipcc 700 701# Qualcomm Hardware Spinlock 702device qcmtx 703attach qcmtx at fdt 704file dev/fdt/qcmtx.c qcmtx 705 706# Qualcomm Peripheral Authentication Service 707device qcpas 708attach qcpas at fdt 709file dev/fdt/qcpas.c qcpas 710 711# Qualcomm SCM 712device qcscm 713attach qcscm at fdt 714file dev/fdt/qcscm.c qcscm 715 716# Qualcomm Shared Memory API 717device qcsmem 718attach qcsmem at fdt 719file dev/fdt/qcsmem.c qcsmem 720 721# Qualcomm Shared Memory Point-to-Point 722device qcsmptp 723attach qcsmptp at fdt 724file dev/fdt/qcsmptp.c qcsmptp 725 726# Qualcomm SPMI controller 727device qcspmi: spmi 728attach qcspmi at fdt 729file dev/fdt/qcspmi.c qcspmi 730 731# Qualcomm Power Domain controller 732device qcpdc 733attach qcpdc at fdt 734file dev/fdt/qcpdc.c qcpdc 735 736# Qualcomm Temperature Sensor 737device qctsens 738attach qctsens at fdt 739file dev/fdt/qctsens.c qctsens 740 741# Qualcomm PMIC 742device qcpmic: spmi 743attach qcpmic at spmi 744file dev/fdt/qcpmic.c qcpmic 745 746# Qualcomm PMIC GPIO 747device qcpmicgpio 748attach qcpmicgpio at spmi 749file dev/fdt/qcpmicgpio.c qcpmicgpio 750 751# Qualcomm PMIC PON 752device qcpon 753attach qcpon at spmi 754file dev/fdt/qcpon.c qcpon 755 756# Qualcomm PMIC PWM 757device qcpwm 758attach qcpwm at spmi 759file dev/fdt/qcpwm.c qcpwm 760 761# Qualcomm RNG 762device qcrng 763attach qcrng at fdt 764file dev/fdt/qcrng.c qcrng 765 766# Qualcomm PMIC RTC 767device qcrtc 768attach qcrtc at spmi 769file dev/fdt/qcrtc.c qcrtc 770 771# Qualcomm PMIC Shared Direct Access Memory 772device qcsdam 773attach qcsdam at spmi 774file dev/fdt/qcsdam.c qcsdam 775 776# TI TPS6598x Type-C controller 777device tipd 778attach tipd at i2c 779file dev/fdt/tipd.c tipd 780