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