files.imx revision 1.2
11.2Sriastrad#	$NetBSD: files.imx,v 1.2 2022/07/20 10:01:10 riastradh 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.1Sskrlldefflag	opt_soc.h				SOC_IMX7D: SOC_IMX
141.1Sskrll
151.1Sskrlldefflag opt_imx.h				IMX6
161.1Sskrll
171.1Sskrll# Clock
181.1Sskrlldevice	imx6ccm : clk
191.1Sskrllattach	imx6ccm at fdt
201.1Sskrllfile	arch/arm/nxp/imx6_ccm.c			imx6ccm
211.1Sskrllfile	arch/arm/nxp/imx6_clk.c			imx6ccm
221.1Sskrll
231.1Sskrll# Common FDT clock framework
241.1Sskrlldefine	imx_ccm: clk
251.1Sskrllfile	arch/arm/nxp/imx_ccm.c			imx_ccm
261.1Sskrllfile	arch/arm/nxp/imx_ccm_composite.c	imx_ccm
271.1Sskrllfile	arch/arm/nxp/imx_ccm_div.c		imx_ccm
281.1Sskrllfile	arch/arm/nxp/imx_ccm_extclk.c		imx_ccm
291.1Sskrllfile	arch/arm/nxp/imx_ccm_fixed.c		imx_ccm
301.1Sskrllfile	arch/arm/nxp/imx_ccm_fixed_factor.c	imx_ccm
311.1Sskrllfile	arch/arm/nxp/imx_ccm_gate.c		imx_ccm
321.1Sskrllfile	arch/arm/nxp/imx_ccm_mux.c		imx_ccm
331.1Sskrllfile	arch/arm/nxp/imx_ccm_pll.c		imx_ccm
341.1Sskrll
351.1Sskrll# CCM (iMX7D)
361.1Sskrlldevice	imx7dccm: imx_ccm
371.1Sskrllattach	imx7dccm at fdt with imx7d_ccm
381.1Sskrllfile	arch/arm/nxp/imx7d_ccm.c		imx7d_ccm
391.1Sskrll
401.1Sskrll# CCM (iMX8MQ)
411.1Sskrlldevice	imx8mqccm: imx_ccm
421.1Sskrllattach	imx8mqccm at fdt with imx8mq_ccm
431.1Sskrllfile	arch/arm/nxp/imx8mq_ccm.c		imx8mq_ccm
441.1Sskrll
451.1Sskrll# GPC
461.1Sskrlldevice	imxgpc
471.1Sskrllattach	imxgpc at fdt
481.1Sskrllfile	arch/arm/nxp/imx6_gpc.c	imxgpc
491.1Sskrll
501.1Sskrlldevice	imx7gpc
511.1Sskrllattach	imx7gpc at fdt
521.1Sskrllfile	arch/arm/nxp/imx7_gpc.c	imx7gpc
531.1Sskrll
541.1Sskrll# IOMUX
551.1Sskrlldevice	imxiomux
561.1Sskrllattach	imxiomux at fdt
571.1Sskrllfile	arch/arm/nxp/imx6_iomux.c		imxiomux
581.1Sskrll
591.1Sskrll# GPIO controller
601.1Sskrlldevice	imxgpio: gpiobus
611.1Sskrllattach	imxgpio at fdt
621.1Sskrllfile	arch/arm/imx/imxgpio.c			imxgpio	needs-flag
631.1Sskrllfile	arch/arm/nxp/imx_gpio.c			imxgpio
641.1Sskrll
651.1Sskrll# UART
661.1Sskrlldevice	imxuart: tty
671.1Sskrllattach	imxuart at fdt with imx_com
681.1Sskrllfile	arch/arm/imx/imxuart.c			imxuart	needs-flag
691.1Sskrllfile	arch/arm/nxp/imx_com.c			imx_com needs-flag
701.1Sskrlldefflag opt_imxuart.h				IMXUARTCONSOLE
711.1Sskrll
721.1Sskrll# FEC
731.1Sskrlldevice	enet: ether, ifnet, arp, mii, bus_dma_generic
741.1Sskrllattach	enet at fdt with enet_fdt
751.1Sskrllfile	arch/arm/imx/if_enet.c			enet
761.1Sskrllfile	arch/arm/nxp/if_enet_imx.c		enet_fdt
771.1Sskrll
781.1Sskrll# SATA
791.1Sskrllattach	ahcisata at fdt with imx_ahcisata
801.1Sskrllfile	arch/arm/nxp/imx_ahcisata.c		imx_ahcisata
811.1Sskrll
821.1Sskrll# USB Controller
831.1Sskrlldevice	imxusbc { [unit=-1], [irq=-1] } : bus_dma_generic
841.1Sskrllattach	imxusbc at fdt with imxusbc_fdt
851.1Sskrllfile	arch/arm/nxp/imx6_usb.c			imxusbc_fdt
861.1Sskrll
871.1Sskrllattach	ehci at imxusbc with imxehci
881.1Sskrllfile	arch/arm/imx/imxusb.c			imxehci
891.1Sskrll
901.1Sskrll# USB PHY
911.1Sskrlldevice	imxusbphy
921.1Sskrllattach	imxusbphy at fdt
931.1Sskrllfile	arch/arm/nxp/imx6_usbphy.c		imxusbphy
941.1Sskrll
951.1Sskrlldevice	imx8mqusbphy
961.1Sskrllattach	imx8mqusbphy at fdt
971.1Sskrllfile	arch/arm/nxp/imx8mq_usbphy.c	imx8mqusbphy
981.1Sskrll
991.1Sskrll# SDMMC
1001.1Sskrllattach	sdhc at fdt with imx_sdhc
1011.1Sskrllfile	arch/arm/nxp/imx_sdhc.c			imx_sdhc
1021.1Sskrll
1031.1Sskrll# PCIe
1041.1Sskrlldevice	imxpcie: pcibus, clk
1051.1Sskrllattach	imxpcie at fdt with imxpcie_fdt
1061.1Sskrllfile	arch/arm/nxp/imxpcie.c			imxpcie
1071.1Sskrllfile	arch/arm/nxp/imx6_pcie.c		imxpcie_fdt
1081.1Sskrll
1091.1Sskrll# iMX iic controller
1101.1Sskrlldevice	imxi2c: motoi2c, i2cbus, i2cexec
1111.1Sskrllattach	imxi2c at fdt
1121.1Sskrllfile	arch/arm/imx/imxi2c.c			imxi2c
1131.1Sskrllfile	arch/arm/nxp/imx_i2c.c			imxi2c
1141.1Sskrll
1151.1Sskrll# SPI bus controller
1161.1Sskrlldevice	imxspi: spibus
1171.1Sskrllattach	imxspi at fdt with imxspi_fdt
1181.1Sskrllfile	arch/arm/imx/imxspi.c			imxspi
1191.1Sskrllfile	arch/arm/nxp/imx6_spi.c			imxspi_fdt
1201.1Sskrlldefparam opt_imxspi.h				IMXSPI_DEBUG
1211.1Sskrll
1221.1Sskrll# iMX6 On-Chip OTP controller
1231.1Sskrlldevice	imxocotp
1241.1Sskrllattach	imxocotp at fdt
1251.1Sskrllfile	arch/arm/nxp/imx6_ocotp.c		imxocotp	needs-flag
1261.1Sskrll
1271.1Sskrll# iMX6 Enhanced Periodic Interrupt Timer
1281.1Sskrll#device	imxclock
1291.1Sskrll#attach	imxclock at axi
1301.1Sskrll#file	arch/arm/imx/imxclock.c			imxclock
1311.1Sskrll#file	arch/arm/imx/imx6_clock.c		imxclock
1321.1Sskrll
1331.1Sskrll# iMX6 Secure Non-Volatile Storage (SNVS)
1341.1Sskrlldevice	imxsnvs
1351.1Sskrllattach	imxsnvs at fdt
1361.1Sskrllfile	arch/arm/imx/imxsnvs.c			imxsnvs
1371.1Sskrllfile	arch/arm/nxp/imx_snvs.c			imxsnvs
1381.1Sskrll
1391.1Sskrll# Watchdog
1401.1Sskrlldevice imxwdog: sysmon_wdog
1411.1Sskrllattach imxwdog at fdt
1421.1Sskrllfile	arch/arm/nxp/imxwdog.c			imxwdog
1431.1Sskrll
1441.1Sskrll# PWM
1451.1Sskrlldevice	imxpwm: pwm, clk
1461.1Sskrllattach	imxpwm at fdt with imxpwm_fdt
1471.1Sskrllfile	arch/arm/imx/imxpwm.c			imxpwm
1481.1Sskrllfile	arch/arm/nxp/imx6_pwm.c			imxpwm_fdt
1491.1Sskrll
1501.1Sskrll# HDMI TX (Designware based)
1511.1Sskrllattach	dwhdmi at fdt with imx6_dwhdmi
1521.1Sskrllfile	arch/arm/nxp/imx6_dwhdmi.c		imx6_dwhdmi
1531.2Sriastradmakeoptions	imx6_dwhdmi	"CPPFLAGS.imx6_dwhdmi"+="${CPPFLAGS.drmkms}"
154