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