11.4Sthorpej#	$NetBSD: files.imx,v 1.4 2025/09/06 15:44:03 thorpej Exp $
21.1Sskrll#
31.1Sskrll# Configuration info for the Freescale i.MX6
41.1Sskrll#
51.1Sskrll
61.1Sskrllfile	arch/arm/nxp/imx6_platform.c		soc_imx
71.1Sskrll
81.1Sskrll# SOC parameters
91.1Sskrlldefflag	opt_soc.h				SOC_IMX
101.1Sskrlldefflag	opt_soc.h				SOC_IMX6DL: SOC_IMX
111.1Sskrlldefflag	opt_soc.h				SOC_IMX6Q: SOC_IMX
121.1Sskrlldefflag	opt_soc.h				SOC_IMX6QDL: SOC_IMX
131.3Sbouyerdefflag	opt_soc.h				SOC_IMX6SX: SOC_IMX
141.1Sskrlldefflag	opt_soc.h				SOC_IMX7D: SOC_IMX
151.1Sskrll
161.1Sskrlldefflag opt_imx.h				IMX6
171.1Sskrll
181.1Sskrll# Clock
191.4Sthorpejdevice	imx6ccm : fdt_clock
201.1Sskrllattach	imx6ccm at fdt
211.1Sskrllfile	arch/arm/nxp/imx6_clk.c			imx6ccm
221.1Sskrll
231.4Sthorpejdevice	imx6sxccm : fdt_clock
241.3Sbouyerattach	imx6sxccm at fdt
251.3Sbouyerfile	arch/arm/nxp/imx6sx_clk.c		imx6sxccm
261.3Sbouyer
271.3Sbouyerfile	arch/arm/nxp/imx6_ccm.c			imx6ccm | imx6sxccm
281.3Sbouyer
291.1Sskrll# Common FDT clock framework
301.4Sthorpejdefine	imx_ccm: fdt_clock
311.1Sskrllfile	arch/arm/nxp/imx_ccm.c			imx_ccm
321.1Sskrllfile	arch/arm/nxp/imx_ccm_composite.c	imx_ccm
331.1Sskrllfile	arch/arm/nxp/imx_ccm_div.c		imx_ccm
341.1Sskrllfile	arch/arm/nxp/imx_ccm_extclk.c		imx_ccm
351.1Sskrllfile	arch/arm/nxp/imx_ccm_fixed.c		imx_ccm
361.1Sskrllfile	arch/arm/nxp/imx_ccm_fixed_factor.c	imx_ccm
371.1Sskrllfile	arch/arm/nxp/imx_ccm_gate.c		imx_ccm
381.1Sskrllfile	arch/arm/nxp/imx_ccm_mux.c		imx_ccm
391.1Sskrllfile	arch/arm/nxp/imx_ccm_pll.c		imx_ccm
401.1Sskrll
411.1Sskrll# CCM (iMX7D)
421.1Sskrlldevice	imx7dccm: imx_ccm
431.1Sskrllattach	imx7dccm at fdt with imx7d_ccm
441.1Sskrllfile	arch/arm/nxp/imx7d_ccm.c		imx7d_ccm
451.1Sskrll
461.1Sskrll# CCM (iMX8MQ)
471.1Sskrlldevice	imx8mqccm: imx_ccm
481.1Sskrllattach	imx8mqccm at fdt with imx8mq_ccm
491.1Sskrllfile	arch/arm/nxp/imx8mq_ccm.c		imx8mq_ccm
501.1Sskrll
511.1Sskrll# GPC
521.1Sskrlldevice	imxgpc
531.1Sskrllattach	imxgpc at fdt
541.1Sskrllfile	arch/arm/nxp/imx6_gpc.c	imxgpc
551.1Sskrll
561.1Sskrlldevice	imx7gpc
571.1Sskrllattach	imx7gpc at fdt
581.1Sskrllfile	arch/arm/nxp/imx7_gpc.c	imx7gpc
591.1Sskrll
601.1Sskrll# IOMUX
611.4Sthorpejdevice	imxiomux: fdt_pinctrl
621.1Sskrllattach	imxiomux at fdt
631.1Sskrllfile	arch/arm/nxp/imx6_iomux.c		imxiomux
641.1Sskrll
651.1Sskrll# GPIO controller
661.4Sthorpejdevice	imxgpio: fdt_gpio, gpiobus
671.1Sskrllattach	imxgpio at fdt
681.1Sskrllfile	arch/arm/imx/imxgpio.c			imxgpio	needs-flag
691.1Sskrllfile	arch/arm/nxp/imx_gpio.c			imxgpio
701.1Sskrll
711.1Sskrll# UART
721.1Sskrlldevice	imxuart: tty
731.4Sthorpejattach	imxuart at fdt with imx_com: fdt_clock
741.1Sskrllfile	arch/arm/imx/imxuart.c			imxuart	needs-flag
751.1Sskrllfile	arch/arm/nxp/imx_com.c			imx_com needs-flag
761.1Sskrlldefflag opt_imxuart.h				IMXUARTCONSOLE
771.1Sskrll
781.1Sskrll# FEC
791.4Sthorpejdevice	enet: fdt_clock, fdt_gpio, ether, ifnet, arp, mii, bus_dma_generic
801.1Sskrllattach	enet at fdt with enet_fdt
811.1Sskrllfile	arch/arm/imx/if_enet.c			enet
821.1Sskrllfile	arch/arm/nxp/if_enet_imx.c		enet_fdt
831.1Sskrll
841.1Sskrll# SATA
851.4Sthorpejattach	ahcisata at fdt with imx_ahcisata: fdt_clock
861.1Sskrllfile	arch/arm/nxp/imx_ahcisata.c		imx_ahcisata
871.1Sskrll
881.1Sskrll# USB Controller
891.4Sthorpejdevice	imxusbc { [unit=-1], [irq=-1] } : fdt_clock, fdt_regulator, bus_dma_generic
901.1Sskrllattach	imxusbc at fdt with imxusbc_fdt
911.1Sskrllfile	arch/arm/nxp/imx6_usb.c			imxusbc_fdt
921.1Sskrll
931.1Sskrllattach	ehci at imxusbc with imxehci
941.1Sskrllfile	arch/arm/imx/imxusb.c			imxehci
951.1Sskrll
961.1Sskrll# USB PHY
971.1Sskrlldevice	imxusbphy
981.4Sthorpejattach	imxusbphy at fdt: fdt_clock
991.1Sskrllfile	arch/arm/nxp/imx6_usbphy.c		imxusbphy
1001.1Sskrll
1011.4Sthorpejdevice	imx8mqusbphy: fdt_phy, fdt_regulator
1021.1Sskrllattach	imx8mqusbphy at fdt
1031.1Sskrllfile	arch/arm/nxp/imx8mq_usbphy.c	imx8mqusbphy
1041.1Sskrll
1051.1Sskrll# SDMMC
1061.4Sthorpejattach	sdhc at fdt with imx_sdhc: fdt_clock, fdt_gpio, fdt_regulator
1071.1Sskrllfile	arch/arm/nxp/imx_sdhc.c			imx_sdhc
1081.1Sskrll
1091.1Sskrll# PCIe
1101.4Sthorpejdevice	imxpcie: pcibus
1111.4Sthorpejattach	imxpcie at fdt with imxpcie_fdt: fdt_clock, fdt_gpio, fdt_regulator
1121.1Sskrllfile	arch/arm/nxp/imxpcie.c			imxpcie
1131.1Sskrllfile	arch/arm/nxp/imx6_pcie.c		imxpcie_fdt
1141.1Sskrll
1151.1Sskrll# iMX iic controller
1161.4Sthorpejdevice	imxi2c: fdt_clock, motoi2c, i2cbus, i2cexec
1171.1Sskrllattach	imxi2c at fdt
1181.1Sskrllfile	arch/arm/imx/imxi2c.c			imxi2c
1191.1Sskrllfile	arch/arm/nxp/imx_i2c.c			imxi2c
1201.1Sskrll
1211.1Sskrll# SPI bus controller
1221.1Sskrlldevice	imxspi: spibus
1231.4Sthorpejattach	imxspi at fdt with imxspi_fdt: fdt_clock, fdt_gpio, fdt_spi
1241.1Sskrllfile	arch/arm/imx/imxspi.c			imxspi
1251.1Sskrllfile	arch/arm/nxp/imx6_spi.c			imxspi_fdt
1261.1Sskrlldefparam opt_imxspi.h				IMXSPI_DEBUG
1271.1Sskrll
1281.1Sskrll# iMX6 On-Chip OTP controller
1291.1Sskrlldevice	imxocotp
1301.4Sthorpejattach	imxocotp at fdt: fdt_clock
1311.1Sskrllfile	arch/arm/nxp/imx6_ocotp.c		imxocotp	needs-flag
1321.1Sskrll
1331.1Sskrll# iMX6 Enhanced Periodic Interrupt Timer
1341.1Sskrll#device	imxclock
1351.1Sskrll#attach	imxclock at axi
1361.1Sskrll#file	arch/arm/imx/imxclock.c			imxclock
1371.1Sskrll#file	arch/arm/imx/imx6_clock.c		imxclock
1381.1Sskrll
1391.1Sskrll# iMX6 Secure Non-Volatile Storage (SNVS)
1401.1Sskrlldevice	imxsnvs
1411.1Sskrllattach	imxsnvs at fdt
1421.1Sskrllfile	arch/arm/imx/imxsnvs.c			imxsnvs
1431.1Sskrllfile	arch/arm/nxp/imx_snvs.c			imxsnvs
1441.1Sskrll
1451.1Sskrll# Watchdog
1461.1Sskrlldevice imxwdog: sysmon_wdog
1471.1Sskrllattach imxwdog at fdt
1481.1Sskrllfile	arch/arm/nxp/imxwdog.c			imxwdog
1491.1Sskrll
1501.1Sskrll# PWM
1511.4Sthorpejdevice	imxpwm
1521.4Sthorpejattach	imxpwm at fdt with imxpwm_fdt: fdt_clock, fdt_pwm
1531.1Sskrllfile	arch/arm/imx/imxpwm.c			imxpwm
1541.1Sskrllfile	arch/arm/nxp/imx6_pwm.c			imxpwm_fdt
1551.1Sskrll
1561.1Sskrll# HDMI TX (Designware based)
1571.4Sthorpejattach	dwhdmi at fdt with imx6_dwhdmi: fdt_dai, fdt_i2c
1581.1Sskrllfile	arch/arm/nxp/imx6_dwhdmi.c		imx6_dwhdmi
1591.2Sriastradmakeoptions	imx6_dwhdmi	"CPPFLAGS.imx6_dwhdmi"+="${CPPFLAGS.drmkms}"
160