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