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