1# $OpenBSD: files.fdt,v 1.199 2024/01/16 23:37:50 jsg 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 355 356device rkdwhdmi: dwhdmi, i2cbus 357attach rkdwhdmi at fdt 358file dev/fdt/rkdwhdmi.c rkdwhdmi 359 360device rkdwusb: fdt 361attach rkdwusb at fdt 362file dev/fdt/rkdwusb.c rkdwusb 363 364device rkemmcphy 365attach rkemmcphy at fdt 366file dev/fdt/rkemmcphy.c rkemmcphy 367 368device rkgrf: fdt 369attach rkgrf at fdt 370file dev/fdt/rkgrf.c rkgrf 371 372device rkgpio 373attach rkgpio at fdt 374file dev/fdt/rkgpio.c rkgpio 375 376device rkiic: i2cbus 377attach rkiic at fdt 378file dev/fdt/rkiic.c rkiic 379 380device rkiis 381attach rkiis at fdt 382file dev/fdt/rkiis.c rkiis 383 384device rkiovd 385attach rkiovd at fdt 386file dev/fdt/rkiovd.c rkiovd 387 388device rkpcie: pcibus 389attach rkpcie at fdt 390file dev/fdt/rkpcie.c rkpcie 391 392device rkpciephy 393attach rkpciephy at fdt 394file dev/fdt/rkpciephy.c rkpciephy 395 396device rkpinctrl: fdt 397attach rkpinctrl at fdt 398file dev/fdt/rkpinctrl.c rkpinctrl 399 400device rkpmic 401attach rkpmic at i2c 402file dev/fdt/rkpmic.c rkpmic 403 404device rkpwm 405attach rkpwm at fdt 406file dev/fdt/rkpwm.c rkpwm 407 408device rkrng 409attach rkrng at fdt 410file dev/fdt/rkrng.c rkrng 411 412device rktcphy: fdt 413attach rktcphy at fdt 414file dev/fdt/rktcphy.c rktcphy 415 416device rktemp 417attach rktemp at fdt 418file dev/fdt/rktemp.c rktemp 419 420device rkvop 421attach rkvop at fdt 422file dev/fdt/rkvop.c rkvop 423 424attach dwiic at fdt with dwiic_fdt 425file dev/fdt/dwiic_fdt.c dwiic_fdt 426 427device dwmmc: sdmmcbus 428attach dwmmc at fdt 429file dev/fdt/dwmmc.c dwmmc 430 431device dwmshc: sdhc, sdmmcbus 432attach dwmshc at fdt 433file dev/fdt/dwmshc.c dwmshc 434 435device dwdog 436attach dwdog at fdt 437file dev/fdt/dwdog.c dwdog 438 439device dwpcie: pcibus 440attach dwpcie at fdt 441file dev/fdt/dwpcie.c dwpcie 442 443define spi {} 444device moxtet 445attach moxtet at spi 446file dev/fdt/moxtet.c moxtet 447 448device mvclock 449attach mvclock at fdt 450file dev/fdt/mvclock.c mvclock 451 452device mvdog 453attach mvdog at fdt 454file dev/fdt/mvdog.c mvdog 455 456device mvgicp 457attach mvgicp at fdt 458file dev/fdt/mvgicp.c mvgicp 459 460device mvgpio 461attach mvgpio at fdt 462file dev/fdt/mvgpio.c mvgpio 463 464device mvicu 465attach mvicu at fdt 466file dev/fdt/mvicu.c mvicu 467 468device mviic: i2cbus 469attach mviic at fdt 470file dev/fdt/mviic.c mviic 471 472device mvkpcie: pcibus 473attach mvkpcie at fdt 474file dev/fdt/mvkpcie.c mvkpcie 475 476device mvpinctrl 477attach mvpinctrl at fdt 478file dev/fdt/mvpinctrl.c mvpinctrl 479 480device mvmdio: fdt 481attach mvmdio at fdt 482file dev/fdt/mvmdio.c mvmdio 483 484device mvneta: ether, ifnet, mii, ifmedia 485attach mvneta at fdt 486file dev/fdt/if_mvneta.c mvneta 487 488device mvppc {} 489attach mvppc at fdt 490device mvpp: ether, ifnet, mii, ifmedia 491attach mvpp at mvppc 492file dev/fdt/if_mvpp.c mvppc | mvpp 493 494device mvrng 495attach mvrng at fdt 496file dev/fdt/mvrng.c mvrng 497 498device mvrtc 499attach mvrtc at fdt 500file dev/fdt/mvrtc.c mvrtc 501 502device mvspi: spi 503attach mvspi at fdt 504file dev/fdt/mvspi.c mvspi 505 506device mvsw 507attach mvsw at fdt 508file dev/fdt/mvsw.c mvsw 509 510device mvtemp 511attach mvtemp at fdt 512file dev/fdt/mvtemp.c mvtemp 513 514device mvuart 515attach mvuart at fdt 516file dev/fdt/mvuart.c mvuart 517 518device dwxe: ether, ifnet, mii, ifmedia 519attach dwxe at fdt 520file dev/fdt/if_dwxe.c dwxe 521 522device acrtc 523attach acrtc at rsb 524file dev/fdt/acrtc.c acrtc 525 526device imxanatop 527attach imxanatop at fdt 528file dev/fdt/imxanatop.c imxanatop 529 530device imxccm 531attach imxccm at fdt 532file dev/fdt/imxccm.c imxccm 533 534device imxdog 535attach imxdog at fdt 536file dev/fdt/imxdog.c imxdog 537 538device imxdwusb: fdt 539attach imxdwusb at fdt 540file dev/fdt/imxdwusb.c imxdwusb 541 542device imxehci: usbus 543attach imxehci at fdt 544file dev/fdt/imxehci.c imxehci 545 546device imxesdhc: sdmmcbus 547attach imxesdhc at fdt 548file dev/fdt/imxesdhc.c imxesdhc 549 550device imxgpc 551attach imxgpc at fdt 552file dev/fdt/imxgpc.c imxgpc 553 554device imxgpio 555attach imxgpio at fdt 556file dev/fdt/imxgpio.c imxgpio 557 558attach imxiic at fdt with imxiic_fdt 559file dev/fdt/imxiic_fdt.c imxiic_fdt 560 561device imxiomuxc 562attach imxiomuxc at fdt 563file dev/fdt/imxiomuxc.c imxiomuxc 564 565device imxpciephy 566attach imxpciephy at fdt 567file dev/fdt/imxpciephy.c imxpciephy 568 569device imxpwm 570attach imxpwm at fdt 571file dev/fdt/imxpwm.c imxpwm 572 573device imxrtc 574attach imxrtc at fdt 575file dev/fdt/imxrtc.c imxrtc 576 577device imxsrc: fdt 578attach imxsrc at fdt 579file dev/fdt/imxsrc.c imxsrc 580 581device imxtmu 582attach imxtmu at fdt 583file dev/fdt/imxtmu.c imxtmu 584 585device imxuart 586attach imxuart at fdt 587file dev/fdt/imxuart.c imxuart 588 589device fec: ether, ifnet, mii, ifmedia 590attach fec at fdt 591file dev/fdt/if_fec.c fec 592 593device imxspi: spi 594attach imxspi at fdt 595file dev/fdt/imxspi.c imxspi 596 597attach ccp at fdt with ccp_fdt 598file dev/fdt/ccp_fdt.c ccp_fdt 599 600attach com at fdt with com_fdt 601file dev/fdt/com_fdt.c com_fdt 602 603attach ipmi at fdt with ipmi_fdt 604file dev/fdt/ipmi_fdt.c ipmi_fdt 605 606device ssdfb: wsemuldisplaydev, rasops1 607attach ssdfb at spi with ssdfb_spi 608attach ssdfb at i2c with ssdfb_i2c 609file dev/fdt/ssdfb.c ssdfb 610 611device fusbtc 612attach fusbtc at i2c 613file dev/fdt/fusbtc.c fusbtc 614 615device sfp 616attach sfp at fdt 617file dev/fdt/sfp.c sfp 618 619# ROHM BD718x7 Regulator 620device bdpmic 621attach bdpmic at i2c 622file dev/fdt/bd718x7.c bdpmic 623 624device tcpci 625attach tcpci at i2c 626file dev/fdt/tcpci.c tcpci 627 628device escodec 629attach escodec at i2c 630file dev/fdt/es8316ac.c escodec 631 632device cwfg 633attach cwfg at i2c 634file dev/fdt/cwfg.c cwfg 635 636# Dialog DA9063 PMIC 637device dapmic 638attach dapmic at i2c 639file dev/fdt/dapmic.c dapmic 640 641device gpiobl 642attach gpiobl at fdt 643file dev/fdt/gpiobl.c gpiobl 644 645device gpiocharger 646attach gpiocharger at fdt 647file dev/fdt/gpiocharger.c gpiocharger 648 649device gpioleds 650attach gpioleds at fdt 651file dev/fdt/gpioleds.c gpioleds 652 653device gpiokeys 654attach gpiokeys at fdt 655file dev/fdt/gpiokeys.c gpiokeys 656 657device gpiorestart 658attach gpiorestart at fdt 659file dev/fdt/gpiorestart.c gpiorestart 660 661device sncodec 662attach sncodec at i2c 663file dev/fdt/sncodec.c sncodec 664 665device tascodec 666attach tascodec at i2c 667file dev/fdt/tascodec.c tascodec 668 669# Qualcomm Always On Subsystem 670device qcaoss 671attach qcaoss at fdt 672file dev/fdt/qcaoss.c qcaoss 673 674# Qualcomm CPU Clock 675device qccpu 676attach qccpu at fdt 677file dev/fdt/qccpu.c qccpu 678 679device qcdwusb: fdt 680attach qcdwusb at fdt 681file dev/fdt/qcdwusb.c qcdwusb 682 683# Qualcomm GPIO controller 684attach qcgpio at fdt with qcgpio_fdt 685file dev/fdt/qcgpio_fdt.c qcgpio 686 687# Qualcomm I2C controller 688attach qciic at fdt with qciic_fdt 689file dev/fdt/qciic_fdt.c qciic 690 691# Qualcomm Inter-Processor Communication controller 692device qcipcc 693attach qcipcc at fdt 694file dev/fdt/qcipcc.c qcipcc 695 696# Qualcomm Hardware Spinlock 697device qcmtx 698attach qcmtx at fdt 699file dev/fdt/qcmtx.c qcmtx 700 701# Qualcomm Peripheral Authentication Service 702device qcpas 703attach qcpas at fdt 704file dev/fdt/qcpas.c qcpas 705 706# Qualcomm SCM 707device qcscm 708attach qcscm at fdt 709file dev/fdt/qcscm.c qcscm 710 711# Qualcomm Shared Memory API 712device qcsmem 713attach qcsmem at fdt 714file dev/fdt/qcsmem.c qcsmem 715 716# Qualcomm Shared Memory Point-to-Point 717device qcsmptp 718attach qcsmptp at fdt 719file dev/fdt/qcsmptp.c qcsmptp 720 721# Qualcomm SPMI controller 722device qcspmi: spmi 723attach qcspmi at fdt 724file dev/fdt/qcspmi.c qcspmi 725 726# Qualcomm Power Domain controller 727device qcpdc 728attach qcpdc at fdt 729file dev/fdt/qcpdc.c qcpdc 730 731# Qualcomm Temperature Sensor 732device qctsens 733attach qctsens at fdt 734file dev/fdt/qctsens.c qctsens 735 736# Qualcomm PMIC 737device qcpmic: spmi 738attach qcpmic at spmi 739file dev/fdt/qcpmic.c qcpmic 740 741# Qualcomm PMIC GPIO 742device qcpmicgpio 743attach qcpmicgpio at spmi 744file dev/fdt/qcpmicgpio.c qcpmicgpio 745 746# Qualcomm PMIC PON 747device qcpon 748attach qcpon at spmi 749file dev/fdt/qcpon.c qcpon 750 751# Qualcomm PMIC PWM 752device qcpwm 753attach qcpwm at spmi 754file dev/fdt/qcpwm.c qcpwm 755 756# Qualcomm RNG 757device qcrng 758attach qcrng at fdt 759file dev/fdt/qcrng.c qcrng 760 761# Qualcomm PMIC RTC 762device qcrtc 763attach qcrtc at spmi 764file dev/fdt/qcrtc.c qcrtc 765 766# Qualcomm PMIC Shared Direct Access Memory 767device qcsdam 768attach qcsdam at spmi 769file dev/fdt/qcsdam.c qcsdam 770 771# TI TPS6598x Type-C controller 772device tipd 773attach tipd at i2c 774file dev/fdt/tipd.c tipd 775