head 1.21; access; symbols netbsd-9-5-RELEASE:1.18 perseant-exfatfs-base-20250801:1.21 perseant-exfatfs-base-20240630:1.21 perseant-exfatfs:1.21.0.8 perseant-exfatfs-base:1.21 netbsd-8-3-RELEASE:1.8 netbsd-9-4-RELEASE:1.18 bouyer-sunxi-drm:1.21.0.6 bouyer-sunxi-drm-base:1.21 netbsd-9-3-RELEASE:1.18 cjep_sun2x:1.21.0.4 cjep_sun2x-base:1.21 cjep_staticlib_x-base1:1.21 netbsd-9-2-RELEASE:1.18 cjep_staticlib_x:1.21.0.2 cjep_staticlib_x-base:1.21 thorpej-futex-base:1.21 netbsd-9-1-RELEASE:1.18 bouyer-xenpvh-base2:1.19 phil-wifi-20200421:1.19 bouyer-xenpvh-base1:1.19 phil-wifi-20200411:1.19 bouyer-xenpvh:1.19.0.6 bouyer-xenpvh-base:1.19 is-mlppp:1.19.0.4 is-mlppp-base:1.19 phil-wifi-20200406:1.19 netbsd-8-2-RELEASE:1.8 ad-namecache-base3:1.19 netbsd-9-0-RELEASE:1.18 netbsd-9-0-RC2:1.18 ad-namecache-base2:1.19 ad-namecache-base1:1.19 ad-namecache:1.19.0.2 ad-namecache-base:1.19 netbsd-9-0-RC1:1.18 phil-wifi-20191119:1.19 netbsd-9:1.18.0.2 netbsd-9-base:1.18 phil-wifi-20190609:1.14 netbsd-8-1-RELEASE:1.8 netbsd-8-1-RC1:1.8 isaki-audio2:1.14.0.4 isaki-audio2-base:1.14 pgoyette-compat-merge-20190127:1.12.2.2 pgoyette-compat-20190127:1.14 pgoyette-compat-20190118:1.14 pgoyette-compat-1226:1.14 pgoyette-compat-1126:1.14 pgoyette-compat-1020:1.14 pgoyette-compat-0930:1.14 pgoyette-compat-0906:1.14 netbsd-7-2-RELEASE:1.1 pgoyette-compat-0728:1.14 netbsd-8-0-RELEASE:1.8 phil-wifi:1.14.0.2 phil-wifi-base:1.14 pgoyette-compat-0625:1.14 netbsd-8-0-RC2:1.8 pgoyette-compat-0521:1.13 pgoyette-compat-0502:1.13 pgoyette-compat-0422:1.13 netbsd-8-0-RC1:1.8 pgoyette-compat-0415:1.13 pgoyette-compat-0407:1.13 pgoyette-compat-0330:1.13 pgoyette-compat-0322:1.13 pgoyette-compat-0315:1.12 netbsd-7-1-2-RELEASE:1.1 pgoyette-compat:1.12.0.2 pgoyette-compat-base:1.12 netbsd-7-1-1-RELEASE:1.1 tls-maxphys-base-20171202:1.12 matt-nb8-mediatek:1.8.0.12 matt-nb8-mediatek-base:1.8 nick-nhusb-base-20170825:1.10 perseant-stdc-iso10646:1.8.0.10 perseant-stdc-iso10646-base:1.8 netbsd-8:1.8.0.8 netbsd-8-base:1.8 prg-localcount2-base3:1.8 prg-localcount2-base2:1.8 prg-localcount2-base1:1.8 prg-localcount2:1.8.0.6 prg-localcount2-base:1.8 pgoyette-localcount-20170426:1.8 bouyer-socketcan-base1:1.8 jdolecek-ncq:1.8.0.4 jdolecek-ncq-base:1.8 pgoyette-localcount-20170320:1.8 netbsd-7-1:1.1.0.22 netbsd-7-1-RELEASE:1.1 netbsd-7-1-RC2:1.1 nick-nhusb-base-20170204:1.8 netbsd-7-nhusb-base-20170116:1.1 bouyer-socketcan:1.8.0.2 bouyer-socketcan-base:1.8 pgoyette-localcount-20170107:1.8 netbsd-7-1-RC1:1.1 nick-nhusb-base-20161204:1.8 pgoyette-localcount-20161104:1.7 netbsd-7-0-2-RELEASE:1.1 nick-nhusb-base-20161004:1.7 localcount-20160914:1.7 netbsd-7-nhusb:1.1.0.20 netbsd-7-nhusb-base:1.1 pgoyette-localcount-20160806:1.7 pgoyette-localcount-20160726:1.7 pgoyette-localcount:1.7.0.2 pgoyette-localcount-base:1.7 nick-nhusb-base-20160907:1.7 nick-nhusb-base-20160529:1.7 netbsd-7-0-1-RELEASE:1.1 nick-nhusb-base-20160422:1.6 nick-nhusb-base-20160319:1.6 nick-nhusb-base-20151226:1.5 netbsd-7-0:1.1.0.18 netbsd-7-0-RELEASE:1.1 nick-nhusb-base-20150921:1.5 netbsd-7-0-RC3:1.1 netbsd-7-0-RC2:1.1 netbsd-7-0-RC1:1.1 nick-nhusb-base-20150606:1.5 nick-nhusb-base-20150406:1.5 nick-nhusb:1.4.0.2 nick-nhusb-base:1.4 netbsd-7:1.1.0.16 netbsd-7-base:1.1 yamt-pagecache-base9:1.1 yamt-pagecache-tag8:1.1.4.2 tls-earlyentropy:1.1.0.14 tls-earlyentropy-base:1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1 riastradh-drm2-base3:1.1 rmind-smpnet-nbase:1.1 riastradh-drm2-base2:1.1 riastradh-drm2-base1:1.1 riastradh-drm2:1.1.0.12 riastradh-drm2-base:1.1 rmind-smpnet:1.1.0.6 rmind-smpnet-base:1.1 khorben-n900:1.1.0.10 agc-symver:1.1.0.8 agc-symver-base:1.1 yamt-pagecache-base8:1.1 yamt-pagecache-base7:1.1 yamt-pagecache:1.1.0.4 yamt-pagecache-base6:1.1 tls-maxphys:1.1.0.2 tls-maxphys-base:1.1; locks; strict; comment @# @; 1.21 date 2020.05.23.13.24.07; author skrll; state dead; branches; next 1.20; commitid 1CqkBi9gAT4sQm9C; 1.20 date 2020.05.23.06.21.36; author rin; state Exp; branches; next 1.19; commitid WInDeCOkWzExvk9C; 1.19 date 2019.10.12.06.46.13; author skrll; state Exp; branches; next 1.18; commitid 7dIRIudCwY3pQxGB; 1.18 date 2019.07.27.08.02.04; author skrll; state Exp; branches; next 1.17; commitid xbuWsPhYcH9SJEwB; 1.17 date 2019.07.24.12.33.18; author hkenken; state Exp; branches; next 1.16; commitid BGnRueZSks3UkiwB; 1.16 date 2019.07.24.11.58.00; author hkenken; state Exp; branches; next 1.15; commitid Jv3ptKM7yw0P8iwB; 1.15 date 2019.06.20.08.16.19; author hkenken; state Exp; branches; next 1.14; commitid e76zPmYUCAdw0UrB; 1.14 date 2018.06.20.07.05.37; author hkenken; state Exp; branches 1.14.2.1; next 1.13; commitid v31Cewb0PTHHlZGA; 1.13 date 2018.03.17.18.34.09; author ryo; state Exp; branches; next 1.12; commitid b7lKxCAbcAnedQuA; 1.12 date 2017.11.09.05.57.23; author hkenken; state Exp; branches 1.12.2.1; next 1.11; commitid XQZMz94fQcRH8keA; 1.11 date 2017.09.08.05.29.12; author hkenken; state Exp; branches; next 1.10; commitid HEQLWYTo6vGAYl6A; 1.10 date 2017.08.18.21.45.25; author jakllsch; state Exp; branches; next 1.9; commitid QwZwjhHYwlMd3K3A; 1.9 date 2017.08.17.09.11.04; author hkenken; state Exp; branches; next 1.8; commitid hSl0xsu2sPJyUx3A; 1.8 date 2016.11.24.12.06.43; author hkenken; state Exp; branches; next 1.7; commitid ecFH3RSFGadVqnvz; 1.7 date 2016.05.17.06.44.45; author ryo; state Exp; branches 1.7.2.1; next 1.6; commitid wXOjBc1LmU67NN6z; 1.6 date 2015.12.31.12.14.01; author ryo; state Exp; branches; next 1.5; commitid ZxhRstVnBIS536Py; 1.5 date 2015.03.27.05.31.23; author hkenken; state Exp; branches; next 1.4; commitid SKDMYrlPt2AZMcfy; 1.4 date 2014.10.07.09.36.09; author ryo; state Exp; branches 1.4.2.1; next 1.3; commitid 9JQ6mknHkd5KDfTx; 1.3 date 2014.10.06.10.15.40; author ryo; state Exp; branches; next 1.2; commitid I9NN970D4CZhT7Tx; 1.2 date 2014.09.25.05.05.28; author ryo; state Exp; branches; next 1.1; commitid thPlUzOEZPgNwGRx; 1.1 date 2012.09.01.00.07.32; author matt; state Exp; branches 1.1.2.1 1.1.4.1; next ; 1.14.2.1 date 2020.04.13.08.03.34; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.12.2.1 date 2018.03.22.01.44.42; author pgoyette; state Exp; branches; next 1.12.2.2; commitid fxb4Rxa9G9QMsovA; 1.12.2.2 date 2018.06.25.07.25.39; author pgoyette; state Exp; branches; next ; commitid 8PtAu9af7VvhiDHA; 1.7.2.1 date 2017.01.07.08.56.11; author pgoyette; state Exp; branches; next ; commitid uEL0C1YuiJrlV0Bz; 1.4.2.1 date 2015.04.06.15.17.52; author skrll; state Exp; branches; next 1.4.2.2; commitid pz01Zhy7RP6iGxgy; 1.4.2.2 date 2016.03.19.11.29.56; author skrll; state Exp; branches; next 1.4.2.3; commitid 2PHKtPSg1vDV9fZy; 1.4.2.3 date 2016.05.29.08.44.16; author skrll; state Exp; branches; next 1.4.2.4; commitid 8mlnPW6uSaJU1m8z; 1.4.2.4 date 2016.12.05.10.54.50; author skrll; state Exp; branches; next 1.4.2.5; commitid 4H3tiQVJXN6oEMwz; 1.4.2.5 date 2017.08.28.17.51.30; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; 1.1.2.1 date 2017.12.03.11.35.53; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.1.4.1 date 2012.09.01.00.07.32; author yamt; state dead; branches; next 1.1.4.2; 1.1.4.2 date 2012.10.30.17.19.03; author yamt; state Exp; branches; next ; desc @@ 1.21 log @imx6 kernels are part of GENERIC now @ text @# $NetBSD: files.imx6,v 1.20 2020/05/23 06:21:36 rin Exp $ # # Configuration info for the Freescale i.MX6 # include "arch/arm/pic/files.pic" include "arch/arm/cortex/files.cortex" defparam opt_imx.h MEMSIZE defflag opt_imx.h IMX6 file arch/arm/arm32/arm32_boot.c file arch/arm/arm32/arm32_kvminit.c file arch/arm/arm32/arm32_reboot.c file arch/arm/arm32/irq_dispatch.S define bus_dma_generic file arch/arm/arm32/armv7_generic_space.c file arch/arm/arm/arm_generic_dma.c bus_dma_generic needs-flag file arch/arm/arm/bus_space_a4x.S file arch/arm/imx/imx6_board.c # iMX6 AXI/AHB bus interface and SoC domains device axi { [addr=-1], [size=0], [irq=-1], [irqbase=-1]} : bus_space_generic attach axi at mainbus file arch/arm/imx/imx6_axi.c axi # iMX6 PCIe device imxpcie: pcibus, clk attach imxpcie at axi with imx6_pcie file arch/arm/imx/imxpcie.c imxpcie file arch/arm/imx/imx6_pcie.c imx6_pcie # iMX6 Clock Control Module device imxccm: clk attach imxccm at axi file arch/arm/imx/imx6_ccm.c imxccm needs-flag file arch/arm/imx/imx6_clk.c imxccm defparam opt_imx6clk.h IMX6_OSC_FREQ defparam opt_imx6clk.h IMX6_CKIL_FREQ defparam opt_imx6clk.h IMX6_CKIH_FREQ defparam opt_imx6clk.h IMX6_ANACLK1_FREQ defparam opt_imx6clk.h IMX6_ANACLK2_FREQ # iMX6 Enhanced Periodic Interrupt Timer device imxclock attach imxclock at axi file arch/arm/imx/imxclock.c imxclock file arch/arm/imx/imx6_clock.c imxclock # iMX6 On-Chip OTP Controller device imxocotp attach imxocotp at axi file arch/arm/imx/imx6_ocotp.c imxocotp needs-flag # Watchdog device imxwdog: sysmon_wdog attach imxwdog at axi file arch/arm/imx/imx6_wdog.c imxwdog file arch/arm/imx/imxwdog.c imxwdog # iMX GPIO device imxgpio: gpiobus attach imxgpio at axi file arch/arm/imx/imxgpio.c imxgpio needs-flag file arch/arm/imx/imx6_gpio.c imxgpio # iMX6 IOMUX device imxiomux attach imxiomux at axi file arch/arm/imx/imx6_iomux.c imxiomux # iMX iic controller device imxi2c: motoi2c, i2cbus, i2cexec attach imxi2c at axi file arch/arm/imx/imxi2c.c imxi2c file arch/arm/imx/imx6_i2c.c imxi2c # iMX UART device imxuart attach imxuart at axi with imx6_uart file arch/arm/imx/imxuart.c imxuart needs-flag file arch/arm/imx/imx6_uart.c imx6_uart defflag opt_imxuart.h IMXUARTCONSOLE # iMX6 10/100/1000-Mbps Ethernet MAC(ENET) device enet: ether, ifnet, arp, mii, bus_dma_generic attach enet at axi file arch/arm/imx/if_enet.c enet file arch/arm/imx/if_enet_imx6.c enet # USB Controller # attach of this driver need to be specified in paltform configuration device imxusbc { unit, irq } : bus_dma_generic file arch/arm/imx/imx6_usb.c imxusbc # USB Phy device imxusbphy attach imxusbphy at axi file arch/arm/imx/imx6_usbphy.c imxusbphy attach ehci at imxusbc with imxehci file arch/arm/imx/imxusb.c imxehci # uSDHC attach sdhc at axi with sdhc_axi file arch/arm/imx/imx6_usdhc.c sdhc_axi # iMX6 SATA Controllers (AHCI) attach ahcisata at axi with imx6_ahcisata file arch/arm/imx/imx6_ahcisata.c imx6_ahcisata # iMX6 Secure Non-Volatile Storage (SNVS) device imxsnvs attach imxsnvs at axi file arch/arm/imx/imxsnvs.c imxsnvs file arch/arm/imx/imx6_snvs.c imxsnvs @ 1.20 log @imxpcie also depends on clk. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.19 2019/10/12 06:46:13 skrll Exp $ @ 1.19 log @Spell controller correctly @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.18 2019/07/27 08:02:04 skrll Exp $ d30 1 a30 1 device imxpcie: pcibus d36 1 a36 1 device imxccm : clk @ 1.18 log @Fix builds properly @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.17 2019/07/24 12:33:18 hkenken Exp $ d74 1 a74 1 # iMX iic Controler @ 1.17 log @Modified i.MX GPIO control module and PCIe module. + Add imxpcie.c imx PCIe common driver @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.16 2019/07/24 11:58:00 hkenken Exp $ d66 1 a66 1 file arch/arm/imx/imxgpio.c imxgpio @ 1.16 log @Modified imx6 Clock Controller Module (CCM). + Add imx6_get_clock_by_id(). @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.15 2019/06/20 08:16:19 hkenken Exp $ d31 3 a33 2 attach imxpcie at axi file arch/arm/imx/imx6_pcie.c imxpcie d66 1 a66 1 file arch/arm/imx/imxgpio.c imxgpio needs-flag a67 1 defflag opt_imxgpio.h IMX_GPIO_INTR_SPLIT @ 1.15 log @Add support for clk subsystem in imx6 CCM driver. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.14 2018/06/20 07:05:37 hkenken Exp $ d37 2 a38 2 file arch/arm/imx/imx6_ccm.c imxccm needs-flag defflag opt_imx6clk.h IMXCCMDEBUG @ 1.14 log @Modified CCM register defines. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.13 2018/03/17 18:34:09 ryo Exp $ d35 1 a35 1 device imxccm d41 3 @ 1.14.2.1 log @Mostly merge changes from HEAD upto 20200411 @ text @d1 1 a1 1 # $NetBSD$ d31 2 a32 3 attach imxpcie at axi with imx6_pcie file arch/arm/imx/imxpcie.c imxpcie file arch/arm/imx/imx6_pcie.c imx6_pcie d35 1 a35 1 device imxccm : clk d37 2 a38 2 file arch/arm/imx/imx6_ccm.c imxccm needs-flag file arch/arm/imx/imx6_clk.c imxccm a40 3 defparam opt_imx6clk.h IMX6_CKIH_FREQ defparam opt_imx6clk.h IMX6_ANACLK1_FREQ defparam opt_imx6clk.h IMX6_ANACLK2_FREQ d62 1 a62 1 file arch/arm/imx/imxgpio.c imxgpio needs-flag d64 1 d71 1 a71 1 # iMX iic controller @ 1.13 log @move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c, and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag no functional change. (preliminary changes for merging aarch64) @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.12 2017/11/09 05:57:23 hkenken Exp $ d39 2 @ 1.12 log @- Add imxusbphy driver for i.MX6. - Clean up CCM (Clock driver). Add imx6_ccm_analog_read/write() functions. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.11 2017/09/08 05:29:12 hkenken Exp $ d19 1 a19 1 file arch/arm/arm32/armv7_generic_dma.c bus_dma_generic needs-flag @ 1.12.2.1 log @Synch with HEAD, resolve conflicts @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.13 2018/03/17 18:34:09 ryo Exp $ d19 1 a19 1 file arch/arm/arm/arm_generic_dma.c bus_dma_generic needs-flag @ 1.12.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.14 2018/06/20 07:05:37 hkenken Exp $ a38 2 defparam opt_imx6clk.h IMX6_OSC_FREQ defparam opt_imx6clk.h IMX6_CKIL_FREQ @ 1.11 log @- Move CFATTACH_DECL_NEW() from common uart driver. - Rename : imxuart_cons_attach() -> imxuart_cnattach() @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.10 2017/08/18 21:45:25 jakllsch Exp $ d93 5 @ 1.10 log @Sprinkle 'bus_dma_generic needs-flag' to fix build after previous. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.9 2017/08/17 09:11:04 hkenken Exp $ d77 1 a77 1 attach imxuart at axi d79 1 a79 1 file arch/arm/imx/imx6_uart.c imxuart @ 1.9 log @Use armv7_generic_[dma|bs]_tag. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.8 2016/11/24 12:06:43 hkenken Exp $ d19 1 a19 1 file arch/arm/arm32/armv7_generic_dma.c @ 1.8 log @Add support imx6 PCIe controller. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.7 2016/05/17 06:44:45 ryo Exp $ d19 1 a20 1 file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag @ 1.7 log @Add initial support for Freescale i.MX7 SoC and Atmark Techno Armadillo-IoT G3 boards. Contributed by Internet Initiative Japan Inc. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.6 2015/12/31 12:14:01 ryo Exp $ d29 5 a108 1 @ 1.7.2.1 log @Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.) @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.8 2016/11/24 12:06:43 hkenken Exp $ a28 5 # iMX6 PCIe device imxpcie: pcibus attach imxpcie at axi file arch/arm/imx/imx6_pcie.c imxpcie d104 1 @ 1.6 log @use armv7_generic_space @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.5 2015/03/27 05:31:23 hkenken Exp $ d81 1 d102 1 @ 1.5 log @Rewritten to take advantage of motoi2c code. @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.4 2014/10/07 09:36:09 ryo Exp $ d18 3 a21 2 file arch/arm/imx/imx_space.c file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag a23 1 @ 1.4 log @add support imx6 I2C Controller @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.3 2014/10/06 10:15:40 ryo Exp $ d65 1 a65 1 device imxi2c: i2cbus @ 1.4.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.5 2015/03/27 05:31:23 hkenken Exp $ d65 1 a65 1 device imxi2c: motoi2c, i2cbus, i2cexec @ 1.4.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.4.2.1 2015/04/06 15:17:52 skrll Exp $ d18 2 a19 2 file arch/arm/arm32/armv7_generic_space.c file arch/arm/arm/bus_space_a4x.S d21 1 a22 1 file arch/arm/imx/imx6_board.c @ 1.4.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.4.2.2 2016/03/19 11:29:56 skrll Exp $ a80 1 file arch/arm/imx/if_enet_imx6.c enet a100 1 file arch/arm/imx/imxsnvs.c imxsnvs @ 1.4.2.4 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.4.2.3 2016/05/29 08:44:16 skrll Exp $ a28 5 # iMX6 PCIe device imxpcie: pcibus attach imxpcie at axi file arch/arm/imx/imx6_pcie.c imxpcie d104 1 @ 1.4.2.5 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.4.2.4 2016/12/05 10:54:50 skrll Exp $ a18 1 file arch/arm/arm32/armv7_generic_dma.c bus_dma_generic needs-flag d20 1 @ 1.3 log @add support imx6 Secure Non-Volatile Storage (SNVS) real-time clock @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.2 2014/09/25 05:05:28 ryo Exp $ d64 6 @ 1.2 log @add support i.MX6 and NITROGEN6X evaluation board @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.1 2012/09/01 00:07:32 matt Exp $ d91 6 @ 1.1 log @Some initial iMX.6 support @ text @d1 1 a1 1 # $NetBSD: files.imx6,v 1.5 2012/04/19 09:53:53 bsh Exp $ d6 3 d12 5 d20 3 a22 1 file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag d27 7 a33 1 file arch/arm/imx/imx6_axi.c axi d38 2 a39 2 file arch/arm/imx/imxclock.c file arch/arm/imx/imx6_clock.c d41 10 a50 15 # Clock Control Module device imxccm attach imxccm at axi file arch/arm/imx/imx6_ccm.c imxccm needs-flag # frequency of external low frequency clock # typically 32000, 32768, or 38400. defparam opt_imx6clk.h IMX6_CKIL_FREQ # frequency of on-chip oscillator. typically 24000000. defparam opt_imx6clk.h IMX6_OSC_FREQ # following parameters are used when imxccm is not configured in the kernel. defparam opt_imx6clk.h IMX6_AHBCLK_FREQ defparam opt_imx6clk.h IMX6_IPGCLK_FREQ d53 1 a53 1 #device imxgpio: gpiobus d55 8 a62 19 #file arch/arm/imx/imxgpio.c imxgpio needs-flag #file arch/arm/imx/imx6_gpio.c imxgpio # iMX IOMUX #device imxiomux : bus_space_generic #attach imxiomux at axi #file arch/arm/imx/imx6_iomux.c imxiomux # IPU v3 controller #device ipu : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons #file arch/arm/imx/imx6_ipuv3.c ipu needs-flag #defflag opt_imx6_ipuv3.h IMXIPUCONSOLE #defparam opt_imx6_ipuv3.h IPUV3_DEBUG # iMX M3IF - Multi Master Memory Interface # iMX ESDCTL/MDDRC - Enhanced SDRAM/LPDDR memory controller # iMX PCMCIA - PCMCIA memory controller # iMX NANDFC - NAND Flash memory controller # iMX WEIM - Wireless External Interface Module d69 1 a69 1 defflag opt_imxuart.h IMXUARTCONSOLE d71 6 a76 1 # USB controller d78 2 a79 5 device imxusbc { unit, irq } : bus_dma_generic file arch/arm/imx/imx6_usb.c imxusbc attach ehci at imxusbc with imxehci file arch/arm/imx/imxusb.c imxehci d81 2 a82 2 # attach wdc at ahb with wdc_ahb : bus_dma_generic # file arch/arm/imx/wdc_axi.c wdc_axi d84 1 a84 1 # SD host controller for SD/MMC d86 1 a86 1 file arch/arm/imx/imx6_esdhc.c sdhc_axi d88 3 a90 20 # iic Controler # device imxi2c: i2cbus # file arch/arm/imx/imx6_i2c.c imxi2c # attach imxi2c at aips with imxi2c_aips # file arch/arm/imx/imxi2c_aips.c imxi2c_aips # spi bus controlloer # device imxspi: spibus # file arch/arm/imx/imx6_spi.c imxspi # Smart Direct Memory Access Controller # device imxsdma: dmover_service, bus_dma_generic # attach imxsdma at ahb # file arch/arm/imx/imxsdma.c imxsdma # file arch/arm/imx/imxsdmaprog.c imxsdma # iis sound Controller (SSI module) # device imxi2s {} : bus_dma_generic # file arch/arm/imx/imx6_i2s.c imxi2s needs-flag @ 1.1.2.1 log @update from HEAD @ text @d1 1 a1 1 # $NetBSD$ a5 3 include "arch/arm/pic/files.pic" include "arch/arm/cortex/files.cortex" a8 5 file arch/arm/arm32/arm32_boot.c file arch/arm/arm32/arm32_kvminit.c file arch/arm/arm32/arm32_reboot.c file arch/arm/arm32/irq_dispatch.S a9 3 file arch/arm/arm32/armv7_generic_space.c file arch/arm/arm32/armv7_generic_dma.c bus_dma_generic needs-flag file arch/arm/arm/bus_space_a4x.S d11 2 a12 1 file arch/arm/imx/imx6_board.c d17 1 a17 12 file arch/arm/imx/imx6_axi.c axi # iMX6 PCIe device imxpcie: pcibus attach imxpcie at axi file arch/arm/imx/imx6_pcie.c imxpcie # iMX6 Clock Control Module device imxccm attach imxccm at axi file arch/arm/imx/imx6_ccm.c imxccm needs-flag defflag opt_imx6clk.h IMXCCMDEBUG d22 2 a23 2 file arch/arm/imx/imxclock.c imxclock file arch/arm/imx/imx6_clock.c imxclock d25 15 a39 10 # iMX6 On-Chip OTP Controller device imxocotp attach imxocotp at axi file arch/arm/imx/imx6_ocotp.c imxocotp needs-flag # Watchdog device imxwdog: sysmon_wdog attach imxwdog at axi file arch/arm/imx/imx6_wdog.c imxwdog file arch/arm/imx/imxwdog.c imxwdog d42 1 a42 1 device imxgpio: gpiobus d44 19 a62 14 file arch/arm/imx/imxgpio.c imxgpio needs-flag file arch/arm/imx/imx6_gpio.c imxgpio defflag opt_imxgpio.h IMX_GPIO_INTR_SPLIT # iMX6 IOMUX device imxiomux attach imxiomux at axi file arch/arm/imx/imx6_iomux.c imxiomux # iMX iic Controler device imxi2c: motoi2c, i2cbus, i2cexec attach imxi2c at axi file arch/arm/imx/imxi2c.c imxi2c file arch/arm/imx/imx6_i2c.c imxi2c d66 1 a66 1 attach imxuart at axi with imx6_uart d68 2 a69 8 file arch/arm/imx/imx6_uart.c imx6_uart defflag opt_imxuart.h IMXUARTCONSOLE # iMX6 10/100/1000-Mbps Ethernet MAC(ENET) device enet: ether, ifnet, arp, mii, bus_dma_generic attach enet at axi file arch/arm/imx/if_enet.c enet file arch/arm/imx/if_enet_imx6.c enet d71 1 a71 1 # USB Controller d73 2 a74 2 device imxusbc { unit, irq } : bus_dma_generic file arch/arm/imx/imx6_usb.c imxusbc d76 2 a77 4 # USB Phy device imxusbphy attach imxusbphy at axi file arch/arm/imx/imx6_usbphy.c imxusbphy d79 2 a80 2 attach ehci at imxusbc with imxehci file arch/arm/imx/imxusb.c imxehci d82 1 a82 1 # uSDHC d84 1 a84 1 file arch/arm/imx/imx6_usdhc.c sdhc_axi d86 20 a105 9 # iMX6 SATA Controllers (AHCI) attach ahcisata at axi with imx6_ahcisata file arch/arm/imx/imx6_ahcisata.c imx6_ahcisata # iMX6 Secure Non-Volatile Storage (SNVS) device imxsnvs attach imxsnvs at axi file arch/arm/imx/imxsnvs.c imxsnvs file arch/arm/imx/imx6_snvs.c imxsnvs @ 1.1.4.1 log @file files.imx6 was added on branch yamt-pagecache on 2012-10-30 17:19:03 +0000 @ text @d1 105 @ 1.1.4.2 log @sync with head @ text @a0 105 # $NetBSD$ # # Configuration info for the Freescale i.MX6 # defparam opt_imx.h MEMSIZE defflag opt_imx.h IMX6 define bus_dma_generic file arch/arm/imx/imx_space.c file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag # iMX6 AXI/AHB bus interface and SoC domains device axi { [addr=-1], [size=0], [irq=-1], [irqbase=-1]} : bus_space_generic attach axi at mainbus file arch/arm/imx/imx6_axi.c axi # iMX6 Enhanced Periodic Interrupt Timer device imxclock attach imxclock at axi file arch/arm/imx/imxclock.c file arch/arm/imx/imx6_clock.c # Clock Control Module device imxccm attach imxccm at axi file arch/arm/imx/imx6_ccm.c imxccm needs-flag # frequency of external low frequency clock # typically 32000, 32768, or 38400. defparam opt_imx6clk.h IMX6_CKIL_FREQ # frequency of on-chip oscillator. typically 24000000. defparam opt_imx6clk.h IMX6_OSC_FREQ # following parameters are used when imxccm is not configured in the kernel. defparam opt_imx6clk.h IMX6_AHBCLK_FREQ defparam opt_imx6clk.h IMX6_IPGCLK_FREQ # iMX GPIO #device imxgpio: gpiobus attach imxgpio at axi #file arch/arm/imx/imxgpio.c imxgpio needs-flag #file arch/arm/imx/imx6_gpio.c imxgpio # iMX IOMUX #device imxiomux : bus_space_generic #attach imxiomux at axi #file arch/arm/imx/imx6_iomux.c imxiomux # IPU v3 controller #device ipu : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons #file arch/arm/imx/imx6_ipuv3.c ipu needs-flag #defflag opt_imx6_ipuv3.h IMXIPUCONSOLE #defparam opt_imx6_ipuv3.h IPUV3_DEBUG # iMX M3IF - Multi Master Memory Interface # iMX ESDCTL/MDDRC - Enhanced SDRAM/LPDDR memory controller # iMX PCMCIA - PCMCIA memory controller # iMX NANDFC - NAND Flash memory controller # iMX WEIM - Wireless External Interface Module # iMX UART device imxuart attach imxuart at axi file arch/arm/imx/imxuart.c imxuart needs-flag file arch/arm/imx/imx6_uart.c imxuart defflag opt_imxuart.h IMXUARTCONSOLE # USB controller # attach of this driver need to be specified in paltform configuration device imxusbc { unit, irq } : bus_dma_generic file arch/arm/imx/imx6_usb.c imxusbc attach ehci at imxusbc with imxehci file arch/arm/imx/imxusb.c imxehci # attach wdc at ahb with wdc_ahb : bus_dma_generic # file arch/arm/imx/wdc_axi.c wdc_axi # SD host controller for SD/MMC attach sdhc at axi with sdhc_axi file arch/arm/imx/imx6_esdhc.c sdhc_axi # iic Controler # device imxi2c: i2cbus # file arch/arm/imx/imx6_i2c.c imxi2c # attach imxi2c at aips with imxi2c_aips # file arch/arm/imx/imxi2c_aips.c imxi2c_aips # spi bus controlloer # device imxspi: spibus # file arch/arm/imx/imx6_spi.c imxspi # Smart Direct Memory Access Controller # device imxsdma: dmover_service, bus_dma_generic # attach imxsdma at ahb # file arch/arm/imx/imxsdma.c imxsdma # file arch/arm/imx/imxsdmaprog.c imxsdma # iis sound Controller (SSI module) # device imxi2s {} : bus_dma_generic # file arch/arm/imx/imx6_i2s.c imxi2s needs-flag @