1# $NetBSD: files.fdt,v 1.54 2020/07/16 16:39:18 jmcneill Exp $ 2 3include "external/bsd/libfdt/conf/files.libfdt" 4 5defflag opt_fdt.h FDTBASE : libfdt, ofw_subr 6defflag opt_fdt.h FDT: FDTBASE 7defparam opt_fdt.h FDT_DEFAULT_STDOUT_PATH 8 9define fdt { [pass = 10] } : clk, pwm 10 11device simplebus { } : fdt 12attach simplebus at fdt 13file dev/fdt/fdtbus.c fdt 14 15device fregulator 16attach fregulator at fdt 17file dev/fdt/fixedregulator.c fregulator 18 19device gregulator 20attach gregulator at fdt 21file dev/fdt/gpioregulator.c gregulator 22 23device fclock: clk 24attach fclock at fdt 25file dev/fdt/fixedclock.c fclock 26 27device ffclock: clk 28attach ffclock at fdt 29file dev/fdt/fixedfactorclock.c ffclock 30 31device gpiokeys: sysmon_envsys, sysmon_power, wskbddev, linux_keymap 32attach gpiokeys at fdt 33file dev/fdt/gpiokeys.c gpiokeys 34 35device gpioleds: leds 36attach gpioleds at fdt 37file dev/fdt/gpioleds.c gpioleds 38 39file dev/fdt/fdt_port.c fdt_port 40 41device connector: fdt_port 42attach connector at fdt with fdt_connector 43file dev/fdt/connector_fdt.c fdt_connector 44 45device panel: fdt_port 46attach panel at fdt with fdt_panel 47file dev/fdt/panel_fdt.c fdt_panel 48 49attach panel at fdt with panel_fdt: drmkms 50file dev/fdt/fdt_panel.c panel_fdt 51 52device dispcon: fdt_port, drmkms, ddc_read_edid 53attach dispcon at fdt with dispcon_hdmi 54file dev/fdt/hdmi_connector.c dispcon_hdmi 55 56file dev/fdt/fdt_openfirm.c fdtbase 57file dev/fdt/fdt_subr.c fdtbase 58file dev/fdt/fdt_clock.c fdt 59file dev/fdt/fdt_dai.c fdt 60file dev/fdt/fdt_dma.c fdt 61file dev/fdt/fdt_gpio.c fdt 62file dev/fdt/fdt_i2c.c fdt 63file dev/fdt/fdt_intr.c fdt 64file dev/fdt/fdt_mmc_pwrseq.c fdt 65file dev/fdt/fdt_phy.c fdt 66file dev/fdt/fdt_power.c fdt 67file dev/fdt/fdt_pwm.c fdt 68file dev/fdt/fdt_regulator.c fdt 69file dev/fdt/fdt_reset.c fdt 70file dev/fdt/fdt_rtc.c fdt 71file dev/fdt/fdt_spi.c fdt 72file dev/fdt/fdt_syscon.c fdt 73file dev/fdt/fdt_pinctrl.c fdt 74 75device cpus { } : fdt 76attach cpus at fdt 77file dev/fdt/cpus.c cpus 78 79device mmcpwrseq 80attach mmcpwrseq at fdt with mmcpwrseq_simple 81file dev/fdt/mmc_pwrseq_simple.c mmcpwrseq_simple 82attach mmcpwrseq at fdt with mmcpwrseq_emmc 83file dev/fdt/mmc_pwrseq_emmc.c mmcpwrseq_emmc 84 85device syscon { } : fdt 86attach syscon at fdt 87file dev/fdt/syscon.c syscon 88 89device pinctrl 90attach pinctrl at fdt with pinctrl_single 91file dev/fdt/pinctrl_single.c pinctrl_single 92 93device pwmbacklight 94attach pwmbacklight at fdt 95file dev/fdt/pwm_backlight.c pwmbacklight 96 97device pwmfan 98attach pwmfan at fdt 99file dev/fdt/pwm_fan.c pwmfan 100 101device ausoc: audiobus 102attach ausoc at fdt 103file dev/fdt/ausoc.c ausoc 104 105device spdiftx 106attach spdiftx at fdt 107file dev/fdt/spdif_tx.c spdiftx 108 109define fdt_display_timing 110file dev/fdt/display_timing.c fdt_display_timing 111 112# Display controller 113attach genfb at fdt with simplefb 114file dev/fdt/simplefb.c simplefb 115 116# NS 8250 compatible UART 117attach com at fdt with ns8250_uart 118file dev/fdt/ns8250_uart.c ns8250_uart 119 120# Designware APB UART 121attach com at fdt with dw_apb_uart 122file dev/fdt/dw_apb_uart.c dw_apb_uart 123 124# EHCI 125attach ehci at fdt with ehci_fdt 126file dev/fdt/ehci_fdt.c ehci_fdt 127 128# OHCI 129attach ohci at fdt with ohci_fdt 130file dev/fdt/ohci_fdt.c ohci_fdt 131 132# Designware USB2 OTG 133attach dwctwo at fdt with dwc2_fdt 134file dev/fdt/dwc2_fdt.c dwc2_fdt 135 136# Designware USB3 XHCI 137attach xhci at fdt with dwc3_fdt 138file dev/fdt/dwc3_fdt.c dwc3_fdt 139 140# Designware SD/MMC 141attach dwcmmc at fdt with dwcmmc_fdt 142file dev/fdt/dwcmmc_fdt.c dwcmmc_fdt 143 144# Designware Watchdog Timer 145device dwcwdt: sysmon_wdog 146attach dwcwdt at fdt with dwcwdt_fdt 147file dev/fdt/dwcwdt_fdt.c dwcwdt_fdt 148 149# Virtio virtio,mmio 150attach virtio at fdt with virtio_mmio_fdt: virtio_mmio 151file dev/fdt/virtio_mmio_fdt.c virtio_mmio_fdt 152 153# QEMU Firmware Configuration (fw_cfg) device 154attach qemufwcfg at fdt with qemufwcfg_fdt 155file dev/fdt/qemufwcfg_fdt.c qemufwcfg_fdt 156 157# ARM PrimeCell General Purpose Input/Output (PL061) 158attach plgpio at fdt with plgpio_fdt 159file dev/fdt/pl061gpio_fdt.c plgpio_fdt 160 161# AHCI SATA controller 162attach ahcisata at fdt with ahcisata_fdt 163file dev/fdt/ahcisata_fdt.c ahcisata_fdt 164 165# Designware I2C 166attach dwiic at fdt with dwiic_fdt 167file dev/fdt/dwiic_fdt.c dwiic_fdt 168 169# AMD Cryptographic Coprocessor 170attach amdccp at fdt with amdccp_fdt 171file dev/fdt/amdccp_fdt.c amdccp_fdt 172 173# Arasan SDHCI controller 174attach sdhc at fdt with arasan_sdhc_fdt 175file dev/fdt/arasan_sdhc_fdt.c arasan_sdhc_fdt 176 177# Generic USB PHY 178device usbnopphy 179attach usbnopphy at fdt 180file dev/fdt/usbnopphy.c usbnopphy 181 182# Simple Amplifier Audio Driver 183device simpleamp 184attach simpleamp at fdt 185file dev/fdt/simple_amplifier.c simpleamp 186 187# Broadcom GENET v5 188attach genet at fdt with genet_fdt 189file dev/fdt/genet_fdt.c genet_fdt 190