1 1.76 thorpej # $NetBSD: files.fdt,v 1.76 2025/09/06 22:53:49 thorpej Exp $ 2 1.1 jmcneill 3 1.1 jmcneill include "external/bsd/libfdt/conf/files.libfdt" 4 1.1 jmcneill 5 1.39 skrll defflag opt_fdt.h FDTBASE : libfdt, ofw_subr 6 1.39 skrll defflag opt_fdt.h FDT: FDTBASE 7 1.57 skrll defparam opt_fdt.h FDT_MEMORY_RANGES 8 1.54 jmcneill defparam opt_fdt.h FDT_DEFAULT_STDOUT_PATH 9 1.1 jmcneill 10 1.74 thorpej file dev/fdt/fdt_boot.c fdtbase 11 1.76 thorpej file dev/fdt/fdt_console.c fdtbase 12 1.74 thorpej file dev/fdt/fdt_memory.c fdtbase 13 1.74 thorpej file dev/fdt/fdt_openfirm.c fdtbase 14 1.74 thorpej file dev/fdt/fdt_stub.c fdtbase 15 1.74 thorpej file dev/fdt/fdt_subr.c fdtbase 16 1.74 thorpej 17 1.74 thorpej define fdt_clock: clk 18 1.74 thorpej file dev/fdt/fdt_clock.c fdt & fdt_clock 19 1.74 thorpej 20 1.74 thorpej define fdt_dai 21 1.74 thorpej file dev/fdt/fdt_dai.c fdt & fdt_dai 22 1.74 thorpej 23 1.74 thorpej define fdt_dma 24 1.74 thorpej file dev/fdt/fdt_dma.c fdt & fdt_dma 25 1.74 thorpej 26 1.74 thorpej file dev/fdt/fdt_ddb.c fdt & ddb 27 1.74 thorpej 28 1.74 thorpej define fdt_display_timing 29 1.74 thorpej file dev/fdt/display_timing.c fdt & fdt_display_timing 30 1.74 thorpej 31 1.74 thorpej define fdt_gpio 32 1.74 thorpej file dev/fdt/fdt_gpio.c fdt & fdt_gpio 33 1.74 thorpej 34 1.74 thorpej define fdt_i2c 35 1.74 thorpej file dev/fdt/fdt_i2c.c fdt & fdt_i2c 36 1.74 thorpej 37 1.74 thorpej # Interrupt support is basically always required. 38 1.74 thorpej # XXX Maybe it should be considered FDTBASE? 39 1.74 thorpej file dev/fdt/fdt_intr.c fdt 40 1.74 thorpej 41 1.74 thorpej define fdt_iommu 42 1.74 thorpej file dev/fdt/fdt_iommu.c fdt & fdt_iommu 43 1.74 thorpej 44 1.74 thorpej define fdt_mbox 45 1.74 thorpej file dev/fdt/fdt_mbox.c fdt & fdt_mbox 46 1.74 thorpej 47 1.74 thorpej define fdt_mmc_pwrseq 48 1.74 thorpej file dev/fdt/fdt_mmc_pwrseq.c fdt & fdt_mmc_pwrseq 49 1.74 thorpej 50 1.74 thorpej define fdt_phy 51 1.74 thorpej file dev/fdt/fdt_phy.c fdt & fdt_phy 52 1.74 thorpej 53 1.74 thorpej define fdt_power 54 1.74 thorpej file dev/fdt/fdt_power.c fdt & fdt_power 55 1.74 thorpej 56 1.74 thorpej define fdt_powerdomain 57 1.74 thorpej file dev/fdt/fdt_powerdomain.c fdt & fdt_powerdomain 58 1.74 thorpej 59 1.74 thorpej define fdt_pwm: pwm 60 1.74 thorpej file dev/fdt/fdt_pwm.c fdt & fdt_pwm 61 1.74 thorpej 62 1.74 thorpej define fdt_regulator 63 1.74 thorpej file dev/fdt/fdt_regulator.c fdt & fdt_regulator 64 1.74 thorpej 65 1.74 thorpej define fdt_reset 66 1.74 thorpej file dev/fdt/fdt_reset.c fdt & fdt_reset 67 1.74 thorpej 68 1.74 thorpej # XXX See kern/59630 69 1.74 thorpej file dev/fdt/fdt_rtc.c fdt 70 1.74 thorpej 71 1.74 thorpej define fdt_spi 72 1.74 thorpej file dev/fdt/fdt_spi.c fdt & fdt_spi 73 1.74 thorpej 74 1.74 thorpej # XXX arch/arm/ti/files.ti -- ti_cpufreq.c 75 1.74 thorpej defflag opt_fdt.h FDT_SYSCON 76 1.74 thorpej define fdt_syscon 77 1.74 thorpej file dev/fdt/fdt_syscon.c fdt & fdt_syscon 78 1.74 thorpej 79 1.74 thorpej define fdt_pinctrl 80 1.74 thorpej file dev/fdt/fdt_pinctrl.c fdt & fdt_pinctrl 81 1.74 thorpej 82 1.74 thorpej define fdt { [pass = 10] } 83 1.1 jmcneill 84 1.61 thorpej device simplebus: fdt 85 1.35 jmcneill attach simplebus at fdt 86 1.1 jmcneill file dev/fdt/fdtbus.c fdt 87 1.1 jmcneill 88 1.64 jmcneill file dev/fdt/fdt_userconf.c fdt & userconf 89 1.64 jmcneill 90 1.74 thorpej device fregulator: fdt_gpio, fdt_regulator 91 1.1 jmcneill attach fregulator at fdt 92 1.1 jmcneill file dev/fdt/fixedregulator.c fregulator 93 1.1 jmcneill 94 1.74 thorpej device gregulator: fdt_gpio, fdt_regulator 95 1.20 jmcneill attach gregulator at fdt 96 1.20 jmcneill file dev/fdt/gpioregulator.c gregulator 97 1.20 jmcneill 98 1.74 thorpej device pregulator: fdt_gpio, fdt_pwm, fdt_regulator 99 1.60 ryo attach pregulator at fdt 100 1.60 ryo file dev/fdt/pwmregulator.c pregulator 101 1.60 ryo 102 1.74 thorpej device fclock: fdt_clock 103 1.9 jmcneill attach fclock at fdt 104 1.9 jmcneill file dev/fdt/fixedclock.c fclock 105 1.9 jmcneill 106 1.74 thorpej device ffclock: fdt_clock 107 1.19 jmcneill attach ffclock at fdt 108 1.19 jmcneill file dev/fdt/fixedfactorclock.c ffclock 109 1.19 jmcneill 110 1.74 thorpej device gpiokeys: fdt_gpio, sysmon_envsys, sysmon_power, wskbddev, linux_keymap 111 1.2 jmcneill attach gpiokeys at fdt 112 1.2 jmcneill file dev/fdt/gpiokeys.c gpiokeys 113 1.2 jmcneill 114 1.74 thorpej device gpioleds: fdt_gpio, leds 115 1.18 jmcneill attach gpioleds at fdt 116 1.18 jmcneill file dev/fdt/gpioleds.c gpioleds 117 1.18 jmcneill 118 1.23 bouyer file dev/fdt/fdt_port.c fdt_port 119 1.23 bouyer 120 1.23 bouyer device connector: fdt_port 121 1.23 bouyer attach connector at fdt with fdt_connector 122 1.23 bouyer file dev/fdt/connector_fdt.c fdt_connector 123 1.23 bouyer 124 1.74 thorpej device panel: fdt_gpio, fdt_port 125 1.23 bouyer attach panel at fdt with fdt_panel 126 1.23 bouyer file dev/fdt/panel_fdt.c fdt_panel 127 1.23 bouyer 128 1.74 thorpej attach panel at fdt with panel_fdt: fdt_gpio, fdt_regulator, drmkms 129 1.49 jakllsch file dev/fdt/fdt_panel.c panel_fdt 130 1.65 riastrad makeoptions panel_fdt "CPPFLAGS.panel_fdt"+="${CPPFLAGS.drmkms}" 131 1.49 jakllsch 132 1.74 thorpej device dispcon: fdt_gpio, fdt_port, drmkms, ddc_read_edid 133 1.42 jmcneill attach dispcon at fdt with dispcon_hdmi 134 1.42 jmcneill file dev/fdt/hdmi_connector.c dispcon_hdmi 135 1.65 riastrad makeoptions dispcon_hdmi "CPPFLAGS.dispcon_hdmi"+="${CPPFLAGS.drmkms}" 136 1.42 jmcneill 137 1.74 thorpej device iicmux: fdt_i2c, i2cbus, i2cmux 138 1.74 thorpej attach iicmux at fdt with iicmux_fdt: fdt_gpio, fdt_pinctrl 139 1.58 thorpej file dev/fdt/i2cmux_fdt.c iicmux_fdt 140 1.58 thorpej 141 1.61 thorpej device cpus: fdt 142 1.13 jmcneill attach cpus at fdt 143 1.13 jmcneill file dev/fdt/cpus.c cpus 144 1.16 jmcneill 145 1.74 thorpej device mmcpwrseq: fdt_gpio, fdt_mmc_pwrseq 146 1.74 thorpej attach mmcpwrseq at fdt with mmcpwrseq_simple: fdt_clock 147 1.43 jmcneill file dev/fdt/mmc_pwrseq_simple.c mmcpwrseq_simple 148 1.43 jmcneill attach mmcpwrseq at fdt with mmcpwrseq_emmc 149 1.43 jmcneill file dev/fdt/mmc_pwrseq_emmc.c mmcpwrseq_emmc 150 1.22 jmcneill 151 1.74 thorpej device syscon: fdt, fdt_syscon 152 1.34 jmcneill attach syscon at fdt 153 1.34 jmcneill file dev/fdt/syscon.c syscon 154 1.34 jmcneill 155 1.74 thorpej device pinctrl: fdt_pinctrl 156 1.46 jmcneill attach pinctrl at fdt with pinctrl_single 157 1.46 jmcneill file dev/fdt/pinctrl_single.c pinctrl_single 158 1.46 jmcneill 159 1.74 thorpej device pwmbacklight: fdt_gpio, fdt_pwm 160 1.25 jmcneill attach pwmbacklight at fdt 161 1.25 jmcneill file dev/fdt/pwm_backlight.c pwmbacklight 162 1.25 jmcneill 163 1.74 thorpej device pwmfan: fdt_pwm 164 1.36 jmcneill attach pwmfan at fdt 165 1.36 jmcneill file dev/fdt/pwm_fan.c pwmfan 166 1.36 jmcneill 167 1.74 thorpej device ausoc: fdt_dai, audiobus 168 1.26 jmcneill attach ausoc at fdt 169 1.26 jmcneill file dev/fdt/ausoc.c ausoc 170 1.26 jmcneill 171 1.74 thorpej device spdiftx: fdt_dai 172 1.48 jmcneill attach spdiftx at fdt 173 1.48 jmcneill file dev/fdt/spdif_tx.c spdiftx 174 1.48 jmcneill 175 1.28 jmcneill # Display controller 176 1.28 jmcneill attach genfb at fdt with simplefb 177 1.28 jmcneill file dev/fdt/simplefb.c simplefb 178 1.28 jmcneill 179 1.53 jmcneill # NS 8250 compatible UART 180 1.74 thorpej attach com at fdt with ns8250_uart: fdt_clock 181 1.53 jmcneill file dev/fdt/ns8250_uart.c ns8250_uart 182 1.53 jmcneill 183 1.27 jmcneill # Designware APB UART 184 1.74 thorpej attach com at fdt with dw_apb_uart: fdt_clock, fdt_reset 185 1.27 jmcneill file dev/fdt/dw_apb_uart.c dw_apb_uart 186 1.27 jmcneill 187 1.52 tnn # EHCI 188 1.74 thorpej attach ehci at fdt with ehci_fdt: fdt_clock, fdt_phy, fdt_reset 189 1.52 tnn file dev/fdt/ehci_fdt.c ehci_fdt 190 1.52 tnn 191 1.52 tnn # OHCI 192 1.74 thorpej attach ohci at fdt with ohci_fdt: fdt_clock, fdt_phy, fdt_reset 193 1.52 tnn file dev/fdt/ohci_fdt.c ohci_fdt 194 1.52 tnn 195 1.72 skrll # Cadence USB3 XHCI 196 1.74 thorpej attach xhci at fdt with cdns3_fdt: fdt_phy 197 1.72 skrll file dev/fdt/cdns3_fdt.c cdns3_fdt 198 1.72 skrll 199 1.32 jmcneill # Designware USB2 OTG 200 1.74 thorpej attach dwctwo at fdt with dwc2_fdt: fdt_clock, fdt_phy 201 1.32 jmcneill file dev/fdt/dwc2_fdt.c dwc2_fdt 202 1.32 jmcneill 203 1.24 jmcneill # Designware USB3 XHCI 204 1.74 thorpej attach xhci at fdt with dwc3_fdt: fdt_clock, fdt_phy, fdt_reset 205 1.24 jmcneill file dev/fdt/dwc3_fdt.c dwc3_fdt 206 1.29 jakllsch 207 1.32 jmcneill # Designware SD/MMC 208 1.74 thorpej attach dwcmmc at fdt with dwcmmc_fdt: fdt_clock, fdt_gpio, fdt_mmc_pwrseq, fdt_regulator 209 1.32 jmcneill file dev/fdt/dwcmmc_fdt.c dwcmmc_fdt 210 1.32 jmcneill 211 1.33 jmcneill # Designware Watchdog Timer 212 1.74 thorpej attach dwcwdt at fdt with dwcwdt_fdt: fdt_clock, fdt_reset 213 1.33 jmcneill file dev/fdt/dwcwdt_fdt.c dwcwdt_fdt 214 1.33 jmcneill 215 1.29 jakllsch # Virtio virtio,mmio 216 1.29 jakllsch attach virtio at fdt with virtio_mmio_fdt: virtio_mmio 217 1.29 jakllsch file dev/fdt/virtio_mmio_fdt.c virtio_mmio_fdt 218 1.30 jakllsch 219 1.30 jakllsch # QEMU Firmware Configuration (fw_cfg) device 220 1.30 jakllsch attach qemufwcfg at fdt with qemufwcfg_fdt 221 1.30 jakllsch file dev/fdt/qemufwcfg_fdt.c qemufwcfg_fdt 222 1.31 jakllsch 223 1.40 jmcneill # ARM PrimeCell General Purpose Input/Output (PL061) 224 1.74 thorpej attach plgpio at fdt with plgpio_fdt: fdt_gpio 225 1.40 jmcneill file dev/fdt/pl061gpio_fdt.c plgpio_fdt 226 1.37 jmcneill 227 1.37 jmcneill # AHCI SATA controller 228 1.74 thorpej attach ahcisata at fdt with ahcisata_fdt: fdt_clock, fdt_reset 229 1.37 jmcneill file dev/fdt/ahcisata_fdt.c ahcisata_fdt 230 1.38 jakllsch 231 1.38 jakllsch # Designware I2C 232 1.74 thorpej attach dwiic at fdt with dwiic_fdt: fdt_clock, fdt_i2c, fdt_reset 233 1.38 jakllsch file dev/fdt/dwiic_fdt.c dwiic_fdt 234 1.41 jakllsch 235 1.66 jmcneill # Cadence I2C 236 1.74 thorpej attach cdnsiic at fdt with cdnsiic_fdt: fdt_clock, fdt_i2c 237 1.66 jmcneill file dev/fdt/cdnsiic_fdt.c cdnsiic_fdt 238 1.66 jmcneill 239 1.41 jakllsch # AMD Cryptographic Coprocessor 240 1.41 jakllsch attach amdccp at fdt with amdccp_fdt 241 1.41 jakllsch file dev/fdt/amdccp_fdt.c amdccp_fdt 242 1.44 jmcneill 243 1.44 jmcneill # Arasan SDHCI controller 244 1.74 thorpej attach sdhc at fdt with arasan_sdhc_fdt: fdt_clock, fdt_phy, fdt_syscon 245 1.44 jmcneill file dev/fdt/arasan_sdhc_fdt.c arasan_sdhc_fdt 246 1.47 jmcneill 247 1.47 jmcneill # Generic USB PHY 248 1.74 thorpej device usbnopphy: fdt_clock, fdt_gpio, fdt_phy, fdt_regulator 249 1.47 jmcneill attach usbnopphy at fdt 250 1.47 jmcneill file dev/fdt/usbnopphy.c usbnopphy 251 1.50 jmcneill 252 1.50 jmcneill # Simple Amplifier Audio Driver 253 1.74 thorpej device simpleamp: fdt_dai, fdt_gpio, fdt_regulator 254 1.50 jmcneill attach simpleamp at fdt 255 1.50 jmcneill file dev/fdt/simple_amplifier.c simpleamp 256 1.50 jmcneill 257 1.51 jmcneill # Broadcom GENET v5 258 1.51 jmcneill attach genet at fdt with genet_fdt 259 1.51 jmcneill file dev/fdt/genet_fdt.c genet_fdt 260 1.55 ryo 261 1.70 skrll # Google Goldfish RTC 262 1.70 skrll attach gfrtc at fdt with gfrtc_fdt 263 1.70 skrll file dev/fdt/gfrtc_fdt.c gfrtc_fdt 264