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