1# $OpenBSD: files.fdt,v 1.203 2024/07/31 10:07:33 mglocker 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 232attach ufshci at fdt with ufshci_fdt 233file dev/fdt/ufshci_fdt.c ufshci_fdt 234 235device syscon: fdt 236attach syscon at fdt 237file dev/fdt/syscon.c syscon 238 239device pwmbl 240attach pwmbl at fdt 241file dev/fdt/pwmbl.c pwmbl 242 243device pwmfan 244attach pwmfan at fdt 245file dev/fdt/pwmfan.c pwmfan 246 247device pwmleds 248attach pwmleds at fdt 249file dev/fdt/pwmleds.c pwmleds 250 251device pwmreg 252attach pwmreg at fdt 253file dev/fdt/pwmreg.c pwmreg 254 255device amlclock 256attach amlclock at fdt 257file dev/fdt/amlclock.c amlclock 258 259device amldwusb: fdt 260attach amldwusb at fdt 261file dev/fdt/amldwusb.c amldwusb 262 263device amliic: i2cbus 264attach amliic at fdt 265file dev/fdt/amliic.c amliic 266 267device amlmmc: sdmmcbus 268attach amlmmc at fdt 269file dev/fdt/amlmmc.c amlmmc 270 271device amlpciephy 272attach amlpciephy at fdt 273file dev/fdt/amlpciephy.c amlpciephy 274 275device amlpinctrl 276attach amlpinctrl at fdt 277file dev/fdt/amlpinctrl.c amlpinctrl 278 279device amlpwm 280attach amlpwm at fdt 281file dev/fdt/amlpwm.c amlpwm 282 283device amlpwrc 284attach amlpwrc at fdt 285file dev/fdt/amlpwrc.c amlpwrc 286 287device amlreset 288attach amlreset at fdt 289file dev/fdt/amlreset.c amlreset 290 291device amlrng 292attach amlrng at fdt 293file dev/fdt/amlrng.c amlrng 294 295device amlsm 296attach amlsm at fdt 297file dev/fdt/amlsm.c amlsm 298 299device amltemp 300attach amltemp at fdt 301file dev/fdt/amltemp.c amltemp 302 303device amluart 304attach amluart at fdt 305file dev/fdt/amluart.c amluart 306 307device amlusbphy 308attach amlusbphy at fdt 309file dev/fdt/amlusbphy.c amlusbphy 310 311device cad: ether, ifnet, mii, ifmedia 312attach cad at fdt 313file dev/fdt/if_cad.c cad 314 315device cdsdhc: sdmmcbus, sdhc 316attach cdsdhc at fdt 317file dev/fdt/cdsdhc.c cdsdhc 318 319device cduart 320attach cduart at fdt 321file dev/fdt/cduart.c cduart 322 323device hiclock 324attach hiclock at fdt 325file dev/fdt/hiclock.c hiclock 326 327device hidwusb: fdt 328attach hidwusb at fdt 329file dev/fdt/hidwusb.c hidwusb 330 331device hireset 332attach hireset at fdt 333file dev/fdt/hireset.c hireset 334 335device hitemp 336attach hitemp at fdt 337file dev/fdt/hitemp.c hitemp 338 339device rkanxdp 340attach rkanxdp at fdt 341file dev/fdt/rkanxdp.c rkanxdp 342file dev/ic/anxdp.c rkanxdp 343 344device rkclock 345attach rkclock at fdt 346file dev/fdt/rkclock.c rkclock 347 348device rkcomphy 349attach rkcomphy at fdt 350file dev/fdt/rkcomphy.c rkcomphy 351 352device rkusbphy 353attach rkusbphy at fdt 354file dev/fdt/rkusbphy.c rkusbphy 355 356device rkdrm: drmbase, wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32 357attach rkdrm at fdt 358file dev/fdt/rkdrm.c rkdrm 359 360device rkdwhdmi: dwhdmi, i2cbus 361attach rkdwhdmi at fdt 362file dev/fdt/rkdwhdmi.c rkdwhdmi 363 364device rkdwusb: fdt 365attach rkdwusb at fdt 366file dev/fdt/rkdwusb.c rkdwusb 367 368device rkemmcphy 369attach rkemmcphy at fdt 370file dev/fdt/rkemmcphy.c rkemmcphy 371 372device rkgrf: fdt 373attach rkgrf at fdt 374file dev/fdt/rkgrf.c rkgrf 375 376device rkgpio 377attach rkgpio at fdt 378file dev/fdt/rkgpio.c rkgpio 379 380device rkiic: i2cbus 381attach rkiic at fdt 382file dev/fdt/rkiic.c rkiic 383 384device rkiis 385attach rkiis at fdt 386file dev/fdt/rkiis.c rkiis 387 388device rkiovd 389attach rkiovd at fdt 390file dev/fdt/rkiovd.c rkiovd 391 392device rkpcie: pcibus 393attach rkpcie at fdt 394file dev/fdt/rkpcie.c rkpcie 395 396device rkpciephy 397attach rkpciephy at fdt 398file dev/fdt/rkpciephy.c rkpciephy 399 400device rkpinctrl: fdt 401attach rkpinctrl at fdt 402file dev/fdt/rkpinctrl.c rkpinctrl 403 404device rkpmic 405attach rkpmic at spi with rkpmic_spi 406attach rkpmic at i2c with rkpmic_i2c 407file dev/fdt/rkpmic.c rkpmic 408 409device rkpwm 410attach rkpwm at fdt 411file dev/fdt/rkpwm.c rkpwm 412 413device rkrng 414attach rkrng at fdt 415file dev/fdt/rkrng.c rkrng 416 417device rkspi: spi 418attach rkspi at fdt 419file dev/fdt/rkspi.c rkspi 420 421device rktcphy: fdt 422attach rktcphy at fdt 423file dev/fdt/rktcphy.c rktcphy 424 425device rktemp 426attach rktemp at fdt 427file dev/fdt/rktemp.c rktemp 428 429device rkvop 430attach rkvop at fdt 431file dev/fdt/rkvop.c rkvop 432 433attach dwiic at fdt with dwiic_fdt 434file dev/fdt/dwiic_fdt.c dwiic_fdt 435 436device dwmmc: sdmmcbus 437attach dwmmc at fdt 438file dev/fdt/dwmmc.c dwmmc 439 440device dwmshc: sdhc, sdmmcbus 441attach dwmshc at fdt 442file dev/fdt/dwmshc.c dwmshc 443 444device dwdog 445attach dwdog at fdt 446file dev/fdt/dwdog.c dwdog 447 448device dwpcie: pcibus 449attach dwpcie at fdt 450file dev/fdt/dwpcie.c dwpcie 451 452device moxtet 453attach moxtet at spi 454file dev/fdt/moxtet.c moxtet 455 456device mvclock 457attach mvclock at fdt 458file dev/fdt/mvclock.c mvclock 459 460device mvdog 461attach mvdog at fdt 462file dev/fdt/mvdog.c mvdog 463 464device mvgicp 465attach mvgicp at fdt 466file dev/fdt/mvgicp.c mvgicp 467 468device mvgpio 469attach mvgpio at fdt 470file dev/fdt/mvgpio.c mvgpio 471 472device mvicu 473attach mvicu at fdt 474file dev/fdt/mvicu.c mvicu 475 476device mviic: i2cbus 477attach mviic at fdt 478file dev/fdt/mviic.c mviic 479 480device mvkpcie: pcibus 481attach mvkpcie at fdt 482file dev/fdt/mvkpcie.c mvkpcie 483 484device mvpinctrl 485attach mvpinctrl at fdt 486file dev/fdt/mvpinctrl.c mvpinctrl 487 488device mvmdio: fdt 489attach mvmdio at fdt 490file dev/fdt/mvmdio.c mvmdio 491 492device mvneta: ether, ifnet, mii, ifmedia 493attach mvneta at fdt 494file dev/fdt/if_mvneta.c mvneta 495 496device mvppc {} 497attach mvppc at fdt 498device mvpp: ether, ifnet, mii, ifmedia 499attach mvpp at mvppc 500file dev/fdt/if_mvpp.c mvppc | mvpp 501 502device mvrng 503attach mvrng at fdt 504file dev/fdt/mvrng.c mvrng 505 506device mvrtc 507attach mvrtc at fdt 508file dev/fdt/mvrtc.c mvrtc 509 510device mvspi: spi 511attach mvspi at fdt 512file dev/fdt/mvspi.c mvspi 513 514device mvsw 515attach mvsw at fdt 516file dev/fdt/mvsw.c mvsw 517 518device mvtemp 519attach mvtemp at fdt 520file dev/fdt/mvtemp.c mvtemp 521 522device mvuart 523attach mvuart at fdt 524file dev/fdt/mvuart.c mvuart 525 526device dwxe: ether, ifnet, mii, ifmedia 527attach dwxe at fdt 528file dev/fdt/if_dwxe.c dwxe 529 530device acrtc 531attach acrtc at rsb 532file dev/fdt/acrtc.c acrtc 533 534device imxanatop 535attach imxanatop at fdt 536file dev/fdt/imxanatop.c imxanatop 537 538device imxccm 539attach imxccm at fdt 540file dev/fdt/imxccm.c imxccm 541 542device imxdog 543attach imxdog at fdt 544file dev/fdt/imxdog.c imxdog 545 546device imxdwusb: fdt 547attach imxdwusb at fdt 548file dev/fdt/imxdwusb.c imxdwusb 549 550device imxehci: usbus 551attach imxehci at fdt 552file dev/fdt/imxehci.c imxehci 553 554device imxesdhc: sdmmcbus 555attach imxesdhc at fdt 556file dev/fdt/imxesdhc.c imxesdhc 557 558device imxgpc 559attach imxgpc at fdt 560file dev/fdt/imxgpc.c imxgpc 561 562device imxgpio 563attach imxgpio at fdt 564file dev/fdt/imxgpio.c imxgpio 565 566attach imxiic at fdt with imxiic_fdt 567file dev/fdt/imxiic_fdt.c imxiic_fdt 568 569device imxiomuxc 570attach imxiomuxc at fdt 571file dev/fdt/imxiomuxc.c imxiomuxc 572 573device imxpciephy 574attach imxpciephy at fdt 575file dev/fdt/imxpciephy.c imxpciephy 576 577device imxpwm 578attach imxpwm at fdt 579file dev/fdt/imxpwm.c imxpwm 580 581device imxrtc 582attach imxrtc at fdt 583file dev/fdt/imxrtc.c imxrtc 584 585device imxsrc: fdt 586attach imxsrc at fdt 587file dev/fdt/imxsrc.c imxsrc 588 589device imxtmu 590attach imxtmu at fdt 591file dev/fdt/imxtmu.c imxtmu 592 593device imxuart 594attach imxuart at fdt 595file dev/fdt/imxuart.c imxuart 596 597device fec: ether, ifnet, mii, ifmedia 598attach fec at fdt 599file dev/fdt/if_fec.c fec 600 601device imxspi: spi 602attach imxspi at fdt 603file dev/fdt/imxspi.c imxspi 604 605attach ccp at fdt with ccp_fdt 606file dev/fdt/ccp_fdt.c ccp_fdt 607 608attach com at fdt with com_fdt 609file dev/fdt/com_fdt.c com_fdt 610 611attach ipmi at fdt with ipmi_fdt 612file dev/fdt/ipmi_fdt.c ipmi_fdt 613 614device ssdfb: wsemuldisplaydev, rasops1 615attach ssdfb at spi with ssdfb_spi 616attach ssdfb at i2c with ssdfb_i2c 617file dev/fdt/ssdfb.c ssdfb 618 619device fusbtc 620attach fusbtc at i2c 621file dev/fdt/fusbtc.c fusbtc 622 623device sfp 624attach sfp at fdt 625file dev/fdt/sfp.c sfp 626 627# ROHM BD718x7 Regulator 628device bdpmic 629attach bdpmic at i2c 630file dev/fdt/bd718x7.c bdpmic 631 632device tcpci 633attach tcpci at i2c 634file dev/fdt/tcpci.c tcpci 635 636device escodec 637attach escodec at i2c 638file dev/fdt/es8316ac.c escodec 639 640device cwfg 641attach cwfg at i2c 642file dev/fdt/cwfg.c cwfg 643 644# Dialog DA9063 PMIC 645device dapmic 646attach dapmic at i2c 647file dev/fdt/dapmic.c dapmic 648 649device gpiobl 650attach gpiobl at fdt 651file dev/fdt/gpiobl.c gpiobl 652 653device gpiocharger 654attach gpiocharger at fdt 655file dev/fdt/gpiocharger.c gpiocharger 656 657device gpioleds 658attach gpioleds at fdt 659file dev/fdt/gpioleds.c gpioleds 660 661device gpiokeys 662attach gpiokeys at fdt 663file dev/fdt/gpiokeys.c gpiokeys 664 665device gpiorestart 666attach gpiorestart at fdt 667file dev/fdt/gpiorestart.c gpiorestart 668 669device sncodec 670attach sncodec at i2c 671file dev/fdt/sncodec.c sncodec 672 673device tascodec 674attach tascodec at i2c 675file dev/fdt/tascodec.c tascodec 676 677# Qualcomm Always On Subsystem 678device qcaoss 679attach qcaoss at fdt 680file dev/fdt/qcaoss.c qcaoss 681 682# Qualcomm CPU Clock 683device qccpu 684attach qccpu at fdt 685file dev/fdt/qccpu.c qccpu 686 687device qcdwusb: fdt 688attach qcdwusb at fdt 689file dev/fdt/qcdwusb.c qcdwusb 690 691# Qualcomm GPIO controller 692attach qcgpio at fdt with qcgpio_fdt 693file dev/fdt/qcgpio_fdt.c qcgpio 694 695# Qualcomm I2C controller 696attach qciic at fdt with qciic_fdt 697file dev/fdt/qciic_fdt.c qciic 698 699# Qualcomm Inter-Processor Communication controller 700device qcipcc 701attach qcipcc at fdt 702file dev/fdt/qcipcc.c qcipcc 703 704# Qualcomm Hardware Spinlock 705device qcmtx 706attach qcmtx at fdt 707file dev/fdt/qcmtx.c qcmtx 708 709# Qualcomm Peripheral Authentication Service 710device qcpas 711attach qcpas at fdt 712file dev/fdt/qcpas.c qcpas 713 714# Qualcomm SCM 715device qcscm 716attach qcscm at fdt 717file dev/fdt/qcscm.c qcscm 718 719# Qualcomm Shared Memory API 720device qcsmem 721attach qcsmem at fdt 722file dev/fdt/qcsmem.c qcsmem 723 724# Qualcomm Shared Memory Point-to-Point 725device qcsmptp 726attach qcsmptp at fdt 727file dev/fdt/qcsmptp.c qcsmptp 728 729# Qualcomm SPMI controller 730device qcspmi: spmi 731attach qcspmi at fdt 732file dev/fdt/qcspmi.c qcspmi 733 734# Qualcomm Power Domain controller 735device qcpdc 736attach qcpdc at fdt 737file dev/fdt/qcpdc.c qcpdc 738 739# Qualcomm Temperature Sensor 740device qctsens 741attach qctsens at fdt 742file dev/fdt/qctsens.c qctsens 743 744# Qualcomm PMIC 745device qcpmic: spmi 746attach qcpmic at spmi 747file dev/fdt/qcpmic.c qcpmic 748 749# Qualcomm PMIC GPIO 750device qcpmicgpio 751attach qcpmicgpio at spmi 752file dev/fdt/qcpmicgpio.c qcpmicgpio 753 754# Qualcomm PMIC PON 755device qcpon 756attach qcpon at spmi 757file dev/fdt/qcpon.c qcpon 758 759# Qualcomm PMIC PWM 760device qcpwm 761attach qcpwm at spmi 762file dev/fdt/qcpwm.c qcpwm 763 764# Qualcomm RNG 765device qcrng 766attach qcrng at fdt 767file dev/fdt/qcrng.c qcrng 768 769# Qualcomm PMIC RTC 770device qcrtc 771attach qcrtc at spmi 772file dev/fdt/qcrtc.c qcrtc 773 774# Qualcomm PMIC Shared Direct Access Memory 775device qcsdam 776attach qcsdam at spmi 777file dev/fdt/qcsdam.c qcsdam 778 779# TI TPS6598x Type-C controller 780device tipd 781attach tipd at i2c 782file dev/fdt/tipd.c tipd 783