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