head 1.24; access; symbols netbsd-11-0-RC5:1.24 netbsd-11-0-RC4:1.24 netbsd-11-0-RC3:1.24 netbsd-11-0-RC2:1.24 netbsd-11-0-RC1:1.24 perseant-exfatfs-base-20250801:1.24 netbsd-11:1.24.0.28 netbsd-11-base:1.24 netbsd-10-1-RELEASE:1.24 perseant-exfatfs-base-20240630:1.24 perseant-exfatfs:1.24.0.26 perseant-exfatfs-base:1.24 netbsd-8-3-RELEASE:1.14 netbsd-9-4-RELEASE:1.19 netbsd-10-0-RELEASE:1.24 netbsd-10-0-RC6:1.24 netbsd-10-0-RC5:1.24 netbsd-10-0-RC4:1.24 netbsd-10-0-RC3:1.24 netbsd-10-0-RC2:1.24 thorpej-ifq:1.24.0.24 thorpej-ifq-base:1.24 thorpej-altq-separation:1.24.0.22 thorpej-altq-separation-base:1.24 netbsd-10-0-RC1:1.24 netbsd-10:1.24.0.20 netbsd-10-base:1.24 bouyer-sunxi-drm:1.24.0.18 bouyer-sunxi-drm-base:1.24 netbsd-9-3-RELEASE:1.19 thorpej-i2c-spi-conf2:1.24.0.16 thorpej-i2c-spi-conf2-base:1.24 thorpej-futex2:1.24.0.14 thorpej-futex2-base:1.24 thorpej-cfargs2:1.24.0.12 thorpej-cfargs2-base:1.24 cjep_sun2x-base1:1.24 cjep_sun2x:1.24.0.10 cjep_sun2x-base:1.24 cjep_staticlib_x-base1:1.24 netbsd-9-2-RELEASE:1.19 cjep_staticlib_x:1.24.0.8 cjep_staticlib_x-base:1.24 thorpej-i2c-spi-conf:1.24.0.6 thorpej-i2c-spi-conf-base:1.24 thorpej-cfargs:1.24.0.4 thorpej-cfargs-base:1.24 thorpej-futex:1.24.0.2 thorpej-futex-base:1.24 netbsd-9-1-RELEASE:1.19 bouyer-xenpvh-base2:1.20 phil-wifi-20200421:1.20 bouyer-xenpvh-base1:1.20 phil-wifi-20200411:1.20 bouyer-xenpvh:1.20.0.6 bouyer-xenpvh-base:1.20 is-mlppp:1.20.0.4 is-mlppp-base:1.20 phil-wifi-20200406:1.20 netbsd-8-2-RELEASE:1.14 ad-namecache-base3:1.20 netbsd-9-0-RELEASE:1.19 netbsd-9-0-RC2:1.19 ad-namecache-base2:1.20 ad-namecache-base1:1.20 ad-namecache:1.20.0.2 ad-namecache-base:1.20 netbsd-9-0-RC1:1.19 phil-wifi-20191119:1.20 netbsd-9:1.19.0.2 netbsd-9-base:1.19 phil-wifi-20190609:1.18 netbsd-8-1-RELEASE:1.14 netbsd-8-1-RC1:1.14 isaki-audio2:1.18.0.4 isaki-audio2-base:1.18 pgoyette-compat-merge-20190127:1.17.2.1 pgoyette-compat-20190127:1.18 pgoyette-compat-20190118:1.18 pgoyette-compat-1226:1.18 pgoyette-compat-1126:1.18 pgoyette-compat-1020:1.18 pgoyette-compat-0930:1.18 pgoyette-compat-0906:1.18 netbsd-7-2-RELEASE:1.11 pgoyette-compat-0728:1.18 netbsd-8-0-RELEASE:1.14 phil-wifi:1.18.0.2 phil-wifi-base:1.18 pgoyette-compat-0625:1.18 netbsd-8-0-RC2:1.14 pgoyette-compat-0521:1.18 pgoyette-compat-0502:1.18 pgoyette-compat-0422:1.18 netbsd-8-0-RC1:1.14 pgoyette-compat-0415:1.18 pgoyette-compat-0407:1.18 pgoyette-compat-0330:1.18 pgoyette-compat-0322:1.18 pgoyette-compat-0315:1.17 netbsd-7-1-2-RELEASE:1.11 pgoyette-compat:1.17.0.2 pgoyette-compat-base:1.17 netbsd-7-1-1-RELEASE:1.11 tls-maxphys-base-20171202:1.17 matt-nb8-mediatek:1.14.0.14 matt-nb8-mediatek-base:1.14 nick-nhusb-base-20170825:1.16 perseant-stdc-iso10646:1.14.0.12 perseant-stdc-iso10646-base:1.14 netbsd-8:1.14.0.10 netbsd-8-base:1.14 prg-localcount2-base3:1.14 prg-localcount2-base2:1.14 prg-localcount2-base1:1.14 prg-localcount2:1.14.0.8 prg-localcount2-base:1.14 pgoyette-localcount-20170426:1.14 bouyer-socketcan-base1:1.14 jdolecek-ncq:1.14.0.6 jdolecek-ncq-base:1.14 pgoyette-localcount-20170320:1.14 netbsd-7-1:1.11.0.10 netbsd-7-1-RELEASE:1.11 netbsd-7-1-RC2:1.11 nick-nhusb-base-20170204:1.14 netbsd-7-nhusb-base-20170116:1.11 bouyer-socketcan:1.14.0.4 bouyer-socketcan-base:1.14 pgoyette-localcount-20170107:1.14 netbsd-7-1-RC1:1.11 nick-nhusb-base-20161204:1.14 pgoyette-localcount-20161104:1.14 netbsd-7-0-2-RELEASE:1.11 nick-nhusb-base-20161004:1.14 localcount-20160914:1.14 netbsd-7-nhusb:1.11.0.8 netbsd-7-nhusb-base:1.11 pgoyette-localcount-20160806:1.14 pgoyette-localcount-20160726:1.14 pgoyette-localcount:1.14.0.2 pgoyette-localcount-base:1.14 nick-nhusb-base-20160907:1.14 nick-nhusb-base-20160529:1.14 netbsd-7-0-1-RELEASE:1.11 nick-nhusb-base-20160422:1.14 nick-nhusb-base-20160319:1.14 nick-nhusb-base-20151226:1.14 netbsd-7-0:1.11.0.6 netbsd-7-0-RELEASE:1.11 nick-nhusb-base-20150921:1.13 netbsd-7-0-RC3:1.11 netbsd-7-0-RC2:1.11 netbsd-7-0-RC1:1.11 nick-nhusb-base-20150606:1.13 nick-nhusb-base-20150406:1.12 nick-nhusb:1.11.0.4 nick-nhusb-base:1.11 netbsd-6-0-6-RELEASE:1.3 netbsd-6-1-5-RELEASE:1.3 netbsd-7:1.11.0.2 netbsd-7-base:1.11 yamt-pagecache-base9:1.9 yamt-pagecache-tag8:1.3.4.1 netbsd-6-1-4-RELEASE:1.3 netbsd-6-0-5-RELEASE:1.3 tls-earlyentropy:1.8.0.2 tls-earlyentropy-base:1.11 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8 riastradh-drm2-base3:1.5 netbsd-6-1-3-RELEASE:1.3 netbsd-6-0-4-RELEASE:1.3 netbsd-6-1-2-RELEASE:1.3 netbsd-6-0-3-RELEASE:1.3 rmind-smpnet-nbase:1.9 netbsd-6-1-1-RELEASE:1.3 riastradh-drm2-base2:1.5 riastradh-drm2-base1:1.5 riastradh-drm2:1.5.0.10 riastradh-drm2-base:1.5 rmind-smpnet:1.5.0.4 rmind-smpnet-base:1.9 netbsd-6-1:1.3.0.16 netbsd-6-0-2-RELEASE:1.3 netbsd-6-1-RELEASE:1.3 khorben-n900:1.5.0.8 netbsd-6-1-RC4:1.3 netbsd-6-1-RC3:1.3 agc-symver:1.5.0.6 agc-symver-base:1.5 netbsd-6-1-RC2:1.3 netbsd-6-1-RC1:1.3 yamt-pagecache-base8:1.5 netbsd-6-0-1-RELEASE:1.3 yamt-pagecache-base7:1.5 matt-nb6-plus-nbase:1.3 yamt-pagecache-base6:1.5 netbsd-6-0:1.3.0.14 netbsd-6-0-RELEASE:1.3 netbsd-6-0-RC2:1.3 tls-maxphys:1.5.0.2 tls-maxphys-base:1.11 matt-nb6-plus:1.3.0.12 matt-nb6-plus-base:1.3 netbsd-6-0-RC1:1.3 jmcneill-usbmp-base10:1.5 yamt-pagecache-base5:1.5 jmcneill-usbmp-base9:1.5 yamt-pagecache-base4:1.3 jmcneill-usbmp-base8:1.3 jmcneill-usbmp-base7:1.3 jmcneill-usbmp-base6:1.3 jmcneill-usbmp-base5:1.3 jmcneill-usbmp-base4:1.3 jmcneill-usbmp-base3:1.3 jmcneill-usbmp-pre-base2:1.3 jmcneill-usbmp-base2:1.3 netbsd-6:1.3.0.10 netbsd-6-base:1.3 jmcneill-usbmp:1.3.0.8 jmcneill-usbmp-base:1.3 jmcneill-audiomp3:1.3.0.6 jmcneill-audiomp3-base:1.3 yamt-pagecache-base3:1.3 yamt-pagecache-base2:1.3 yamt-pagecache:1.3.0.4 yamt-pagecache-base:1.3 rmind-uvmplock-nbase:1.3 cherry-xenmp:1.3.0.2 cherry-xenmp-base:1.3 jym-xensuspend-nbase:1.3 rmind-uvmplock-base:1.3 rmind-uvmplock:1.2.0.6 uebayasi-xip-base7:1.2 bouyer-quota2-nbase:1.2 bouyer-quota2:1.2.0.4 bouyer-quota2-base:1.2 jruoho-x86intr:1.2.0.2 jruoho-x86intr-base:1.2 jym-xensuspend-base:1.3 matt-mips64-premerge-20101231:1.2 uebayasi-xip:1.1.0.2 uebayasi-xip-base6:1.1; locks; strict; comment @# @; 1.24 date 2020.06.21.16.33.34; author skrll; state Exp; branches; next 1.23; commitid vUDTJN0vdWlSW6dC; 1.23 date 2020.06.21.08.02.43; author simonb; state Exp; branches; next 1.22; commitid 1GBaelgEQlns84dC; 1.22 date 2020.05.23.06.21.15; author rin; state Exp; branches; next 1.21; commitid SpCLlOxocqV0vk9C; 1.21 date 2020.05.20.05.10.42; author hkenken; state Exp; branches; next 1.20; commitid V5CGJHWHQilfdW8C; 1.20 date 2019.10.12.06.46.13; author skrll; state Exp; branches; next 1.19; commitid 7dIRIudCwY3pQxGB; 1.19 date 2019.07.24.12.33.18; author hkenken; state Exp; branches; next 1.18; commitid BGnRueZSks3UkiwB; 1.18 date 2018.03.17.18.34.09; author ryo; state Exp; branches 1.18.2.1; next 1.17; commitid b7lKxCAbcAnedQuA; 1.17 date 2017.09.08.05.29.12; author hkenken; state Exp; branches 1.17.2.1; next 1.16; commitid HEQLWYTo6vGAYl6A; 1.16 date 2017.08.18.21.45.25; author jakllsch; state Exp; branches; next 1.15; commitid QwZwjhHYwlMd3K3A; 1.15 date 2017.08.17.09.11.04; author hkenken; state Exp; branches; next 1.14; commitid hSl0xsu2sPJyUx3A; 1.14 date 2015.12.21.04.26.28; author hkenken; state Exp; branches; next 1.13; commitid wkf7oJp59W8DMLNy; 1.13 date 2015.05.07.04.13.47; author hkenken; state Exp; branches; next 1.12; commitid KaciSTFjs6FE2tky; 1.12 date 2015.03.27.05.31.23; author hkenken; state Exp; branches; next 1.11; commitid SKDMYrlPt2AZMcfy; 1.11 date 2014.07.25.07.49.56; author hkenken; state Exp; branches 1.11.4.1; next 1.10; commitid KSL5r8kWoPGKqJJx; 1.10 date 2014.07.25.07.07.47; author hkenken; state Exp; branches; next 1.9; commitid jmsaymmCZTLicJJx; 1.9 date 2014.05.06.11.22.53; author hkenken; state Exp; branches; next 1.8; commitid NQcQcSxgZOhgbtzx; 1.8 date 2014.03.22.09.28.08; author hkenken; state Exp; branches 1.8.2.1; next 1.7; commitid Hs4CkfeQsqSzZFtx; 1.7 date 2014.03.22.05.19.18; author hkenken; state Exp; branches; next 1.6; commitid ugVzlm5bvw9dCEtx; 1.6 date 2014.03.22.04.55.00; author hkenken; state Exp; branches; next 1.5; commitid VZ6EKgbwqP9StEtx; 1.5 date 2012.04.19.09.53.53; author bsh; state Exp; branches 1.5.2.1 1.5.4.1; next 1.4; 1.4 date 2012.04.17.10.19.57; author bsh; state Exp; branches; next 1.3; 1.3 date 2011.03.11.03.16.13; author bsh; state Exp; branches 1.3.4.1 1.3.8.1; next 1.2; 1.2 date 2010.11.30.13.05.27; author bsh; state Exp; branches 1.2.2.1 1.2.6.1; next 1.1; 1.1 date 2010.11.13.07.11.02; author bsh; state Exp; branches 1.1.2.1; next ; 1.18.2.1 date 2020.04.13.08.03.34; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.17.2.1 date 2018.03.22.01.44.42; author pgoyette; state Exp; branches; next ; commitid fxb4Rxa9G9QMsovA; 1.11.4.1 date 2015.04.06.15.17.52; author skrll; state Exp; branches; next 1.11.4.2; commitid pz01Zhy7RP6iGxgy; 1.11.4.2 date 2015.06.06.14.39.55; author skrll; state Exp; branches; next 1.11.4.3; commitid O6LVO5i6UulOvnoy; 1.11.4.3 date 2015.12.27.12.09.30; author skrll; state Exp; branches; next 1.11.4.4; commitid BTSqUD4SdJ5k7AOy; 1.11.4.4 date 2017.08.28.17.51.30; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; 1.8.2.1 date 2014.08.10.06.53.51; author tls; state Exp; branches; next ; commitid 7fY3uHKSIbCABMLx; 1.5.2.1 date 2014.08.20.00.02.46; author tls; state Exp; branches; next 1.5.2.2; commitid jTnpym9Qu0o4R1Nx; 1.5.2.2 date 2017.12.03.11.35.53; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.5.4.1 date 2014.05.18.17.44.58; author rmind; state Exp; branches; next ; commitid mL5ZYSzpqK6QS2Bx; 1.3.4.1 date 2012.05.23.10.07.41; author yamt; state Exp; branches; next 1.3.4.2; 1.3.4.2 date 2014.05.22.11.39.32; author yamt; state Exp; branches; next ; commitid VUUXuyNWnt3AKwBx; 1.3.8.1 date 2012.04.29.23.04.37; author mrg; state Exp; branches; next ; 1.2.2.1 date 2011.06.06.09.05.03; author jruoho; state Exp; branches; next ; 1.2.6.1 date 2010.11.30.13.05.27; author rmind; state dead; branches; next 1.2.6.2; 1.2.6.2 date 2011.03.05.20.49.34; author rmind; state Exp; branches; next 1.2.6.3; 1.2.6.3 date 2011.04.21.01.40.52; author rmind; state Exp; branches; next ; 1.1.2.1 date 2010.11.13.07.11.02; author uebayasi; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2010.11.15.14.38.21; author uebayasi; state Exp; branches; next ; desc @@ 1.24 log @Remove all paltforms @ text @# $NetBSD: files.imx51,v 1.23 2020/06/21 08:02:43 simonb Exp $ # # Configuration info for the Freescale i.MX5x # defparam opt_imx.h MEMSIZE defflag opt_imx.h IMX51 defflag opt_imx.h IMX50 define bus_dma_generic 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 # iMX51 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/imx51_axi.c axi # iMX51 TrustZone Interrupt Controller include "arch/arm/pic/files.pic" device tzic: pic, pic_splfuncs attach tzic at axi file arch/arm/imx/imx51_tzic.c tzic needs-flag # iMX51 Enhanced Periodic Interrupt Timer device imxclock attach imxclock at axi file arch/arm/imx/imxclock.c file arch/arm/imx/imx51_clock.c # Clock Control Module device imxccm attach imxccm at axi file arch/arm/imx/imx51_ccm.c imxccm needs-flag defflag opt_imx51clk.h IMXCCMDEBUG # frequency of external low frequency clock # typically 32000, 32768, or 38400. defparam opt_imx51clk.h IMX51_CKIL_FREQ # frequency of on-chip oscillator. typeilcally 24000000. defparam opt_imx51clk.h IMX51_OSC_FREQ # following parameters are used when imxccm is not configured in the kernel. defparam opt_imx51clk.h IMX51_AHBCLK_FREQ defparam opt_imx51clk.h IMX51_IPGCLK_FREQ # Watchdog device imxwdog: sysmon_wdog attach imxwdog at axi file arch/arm/imx/imx51_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 file arch/arm/imx/imx51_gpio.c imxgpio # iMX IOMUX device imxiomux : bus_space_generic attach imxiomux at axi file arch/arm/imx/imx51_iomux.c imxiomux # EPDC controller # device epdc : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons # file arch/arm/imx/imx50_epdc.c epdc needs-flag # defflag opt_imx50_epdc.h IMXEPDCCONSOLE # defparam opt_imx50_epdc.h EPDC_DEBUG # IPU v3 controller device ipu { } file arch/arm/imx/imx51_ipuv3.c imx_ipuv3 needs-flag defparam opt_imx51_ipuv3.h IPUV3_DEBUG # Framebuffer console attach genfb at ipu with imx_genfb file arch/arm/imx/imx_genfb.c imx_genfb # 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 with imx51_uart file arch/arm/imx/imxuart.c imxuart needs-flag file arch/arm/imx/imx51_uart.c imx51_uart defflag opt_imxuart.h IMXUARTCONSOLE # USB controller # attach of this driver need to be specified in platform configuration device imxusbc { unit, irq } : bus_dma_generic file arch/arm/imx/imx51_usb.c imxusbc attach ehci at imxusbc with imxehci file arch/arm/imx/imxusb.c imxehci # SD host controller for SD/MMC attach sdhc at axi with sdhc_axi file arch/arm/imx/imx51_esdhc.c sdhc_axi # iic controller device imxi2c: motoi2c, i2cbus, i2cexec attach imxi2c at axi file arch/arm/imx/imxi2c.c imxi2c file arch/arm/imx/imx51_i2c.c imxi2c # SPI bus controller # attach of this driver need to be specified in platform configuration # use flags to module version device imxspi : spibus file arch/arm/imx/imxspi.c imxspi defparam opt_imxspi.h IMXSPINSLAVES defparam opt_imxspi.h IMXSPI_DEBUG # attach imxspi at axi with imx51_spi # file arch/arm/imx/imx51_spi.c imx51_spi # Smart Direct Memory Access Controller # device imxsdma: dmover_service, bus_dma_generic # attach imxsdma at axi # 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/imx51_i2s.c imxi2s needs-flag # PWM controller device imxpwm: pwm, clk file arch/arm/imx/imxpwm.c imxpwm file arch/arm/imx/imx51_pwm.c imxpwm @ 1.23 log @Fix tyop. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.22 2020/05/23 06:21:15 rin Exp $ d120 1 a120 1 # attach of this driver need to be specified in paltform configuration @ 1.22 log @imxpwm depends on clk. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.21 2020/05/20 05:10:42 hkenken Exp $ d102 1 a102 1 # attach of this driver need to be specified in paltform configuration @ 1.21 log @Use kernel API of PWM subsystems for i.MX PWM driver. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.20 2019/10/12 06:46:13 skrll Exp $ d140 1 a140 1 device imxpwm: pwm @ 1.20 log @Spell controller correctly @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.19 2019/07/24 12:33:18 hkenken Exp $ d140 1 a140 1 device imxpwm @ 1.19 log @Modified i.MX GPIO control module and PCIe module. + Add imxpcie.c imx PCIe common driver @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.18 2018/03/17 18:34:09 ryo Exp $ d113 1 a113 1 # iic Controler d119 1 a119 1 # SPI bus controlloer d139 1 a139 1 # PWM controlloer @ 1.18 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.imx51,v 1.17 2017/09/08 05:29:12 hkenken Exp $ d65 1 a65 1 file arch/arm/imx/imxgpio.c imxgpio needs-flag a66 1 defflag opt_imxgpio.h IMX_GPIO_INTR_SPLIT @ 1.18.2.1 log @Mostly merge changes from HEAD upto 20200411 @ text @d1 1 a1 1 # $NetBSD$ d65 1 a65 1 file arch/arm/imx/imxgpio.c imxgpio d67 1 d114 1 a114 1 # iic controller d120 1 a120 1 # SPI bus controller d140 1 a140 1 # PWM controller @ 1.17 log @- Move CFATTACH_DECL_NEW() from common uart driver. - Rename : imxuart_cons_attach() -> imxuart_cnattach() @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.16 2017/08/18 21:45:25 jakllsch Exp $ d19 1 a19 1 file arch/arm/arm32/armv7_generic_dma.c bus_dma_generic needs-flag @ 1.17.2.1 log @Synch with HEAD, resolve conflicts @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.18 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.16 log @Sprinkle 'bus_dma_generic needs-flag' to fix build after previous. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.15 2017/08/17 09:11:04 hkenken Exp $ d97 1 a97 1 attach imxuart at axi d99 1 a99 1 file arch/arm/imx/imx51_uart.c imxuart @ 1.15 log @Use armv7_generic_[dma|bs]_tag. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.14 2015/12/21 04:26:28 hkenken Exp $ d19 1 a19 1 file arch/arm/arm32/armv7_generic_dma.c @ 1.14 log @Rewritten to take advantage of genfb(4). @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.13 2015/05/07 04:13:47 hkenken Exp $ d16 2 d19 1 a20 1 file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag @ 1.13 log @use armv7_generic_space @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.12 2015/03/27 05:31:23 hkenken Exp $ d79 2 a80 3 device ipu : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons file arch/arm/imx/imx51_ipuv3.c ipu needs-flag defflag opt_imx51_ipuv3.h IMXIPUCONSOLE d83 4 @ 1.12 log @Rewritten to take advantage of motoi2c code. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.11 2014/07/25 07:49:56 hkenken Exp $ d12 6 a17 1 file arch/arm/imx/imx_space.c a29 1 file arch/arm/arm32/irq_dispatch.S @ 1.11 log @Add support i.MX50x * i.MX50 series is e-ink e-reader processor. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.10 2014/07/25 07:07:47 hkenken Exp $ d106 1 a106 1 device imxi2c: i2cbus @ 1.11.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.12 2015/03/27 05:31:23 hkenken Exp $ d106 1 a106 1 device imxi2c: motoi2c, i2cbus, i2cexec @ 1.11.4.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.11.4.1 2015/04/06 15:17:52 skrll Exp $ d12 1 a12 6 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 file arch/arm/arm32/armv7_generic_space.c file arch/arm/arm/bus_space_a4x.S d25 1 @ 1.11.4.3 log @Sync with HEAD (as of 26th Dec) @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.11.4.2 2015/06/06 14:39:55 skrll Exp $ d79 3 a81 2 device ipu { } file arch/arm/imx/imx51_ipuv3.c imx_ipuv3 needs-flag a83 4 # Framebuffer console attach genfb at ipu with imx_genfb file arch/arm/imx/imx_genfb.c imx_genfb @ 1.11.4.4 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.11.4.3 2015/12/27 12:09:30 skrll Exp $ a15 2 define bus_dma_generic a16 1 file arch/arm/arm32/armv7_generic_dma.c bus_dma_generic needs-flag d18 1 @ 1.10 log @Add i2c driver for i.MX. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.9 2014/05/06 11:22:53 hkenken Exp $ d8 1 d36 2 a37 1 file arch/arm/imx/imx51_ccm.c imxccm needs-flag d68 6 @ 1.9 log @Add support for LCD Backlight control on NetWalker. + use imxpwm driver (PWM control driver for i.MX) @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.8 2014/03/22 09:28:08 hkenken Exp $ d3 1 a3 1 # Configuration info for the Freescale i.MX51 a92 3 # attach wdc at ahb with wdc_ahb : bus_dma_generic # file arch/arm/imx/wdc_axi.c wdc_axi d98 4 a101 5 # device imxi2c: i2cbus # file arch/arm/imx/imx51_i2c.c imxi2c # attach imxi2c at aips with imxi2c_aips # file arch/arm/imx/imxi2c_aips.c imxi2c_aips d115 1 a115 1 # attach imxsdma at ahb @ 1.8 log @Add SPI driver. i.MX51 have two eCSPI, and one CSPI. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.7 2014/03/22 05:19:18 hkenken Exp $ d126 5 @ 1.8.2.1 log @Rebase. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.11 2014/07/25 07:49:56 hkenken Exp $ d3 1 a3 1 # Configuration info for the Freescale i.MX5x a7 1 defflag opt_imx.h IMX50 d35 1 a35 2 file arch/arm/imx/imx51_ccm.c imxccm needs-flag defflag opt_imx51clk.h IMXCCMDEBUG a65 6 # EPDC controller # device epdc : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons # file arch/arm/imx/imx50_epdc.c epdc needs-flag # defflag opt_imx50_epdc.h IMXEPDCCONSOLE # defparam opt_imx50_epdc.h EPDC_DEBUG d93 3 d101 5 a105 4 device imxi2c: i2cbus attach imxi2c at axi file arch/arm/imx/imxi2c.c imxi2c file arch/arm/imx/imx51_i2c.c imxi2c d119 1 a119 1 # attach imxsdma at axi a125 5 # PWM controlloer device imxpwm file arch/arm/imx/imxpwm.c imxpwm file arch/arm/imx/imx51_pwm.c imxpwm @ 1.7 log @* GPIO interrupts of i.MX5 are divided into two groups. add IMX_GPIO_INTR_SPLIT option * Support GPIO both edge trigger interrupt. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.6 2014/03/22 04:55:00 hkenken Exp $ d107 9 a115 3 # spi bus controlloer # device imxspi: spibus # file arch/arm/imx/imx51_spi.c imxspi @ 1.6 log @add Watchdog Timer support for i.MX51. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.5 2012/04/19 09:53:53 bsh Exp $ d59 1 @ 1.5 log @support SD/MMC on Netwalker. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.4 2012/04/17 10:19:57 bsh Exp $ d48 6 @ 1.5.2.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 # Configuration info for the Freescale i.MX5x a7 1 defflag opt_imx.h IMX50 d35 1 a35 2 file arch/arm/imx/imx51_ccm.c imxccm needs-flag defflag opt_imx51clk.h IMXCCMDEBUG a47 6 # Watchdog device imxwdog: sysmon_wdog attach imxwdog at axi file arch/arm/imx/imx51_wdog.c imxwdog file arch/arm/imx/imxwdog.c imxwdog a52 1 defflag opt_imxgpio.h IMX_GPIO_INTR_SPLIT a58 6 # EPDC controller # device epdc : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons # file arch/arm/imx/imx50_epdc.c epdc needs-flag # defflag opt_imx50_epdc.h IMXEPDCCONSOLE # defparam opt_imx50_epdc.h EPDC_DEBUG d86 3 d94 2 a95 4 device imxi2c: i2cbus attach imxi2c at axi file arch/arm/imx/imxi2c.c imxi2c file arch/arm/imx/imx51_i2c.c imxi2c d97 6 a102 9 # SPI bus controlloer # attach of this driver need to be specified in paltform configuration # use flags to module version device imxspi : spibus file arch/arm/imx/imxspi.c imxspi defparam opt_imxspi.h IMXSPINSLAVES defparam opt_imxspi.h IMXSPI_DEBUG # attach imxspi at axi with imx51_spi # file arch/arm/imx/imx51_spi.c imx51_spi d106 1 a106 1 # attach imxsdma at axi a112 5 # PWM controlloer device imxpwm file arch/arm/imx/imxpwm.c imxpwm file arch/arm/imx/imx51_pwm.c imxpwm @ 1.5.2.2 log @update from HEAD @ text @d12 2 a13 9 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/arm32/armv7_generic_dma.c bus_dma_generic needs-flag file arch/arm/arm/bus_space_a4x.S d25 1 d75 3 a77 2 device ipu { } file arch/arm/imx/imx51_ipuv3.c imx_ipuv3 needs-flag a79 4 # Framebuffer console attach genfb at ipu with imx_genfb file arch/arm/imx/imx_genfb.c imx_genfb d88 1 a88 1 attach imxuart at axi with imx51_uart d90 1 a90 1 file arch/arm/imx/imx51_uart.c imx51_uart d106 1 a106 1 device imxi2c: motoi2c, i2cbus, i2cexec @ 1.5.4.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.5 2012/04/19 09:53:53 bsh Exp $ a47 6 # Watchdog device imxwdog: sysmon_wdog attach imxwdog at axi file arch/arm/imx/imx51_wdog.c imxwdog file arch/arm/imx/imxwdog.c imxwdog a52 1 defflag opt_imxgpio.h IMX_GPIO_INTR_SPLIT d100 3 a102 9 # SPI bus controlloer # attach of this driver need to be specified in paltform configuration # use flags to module version device imxspi : spibus file arch/arm/imx/imxspi.c imxspi defparam opt_imxspi.h IMXSPINSLAVES defparam opt_imxspi.h IMXSPI_DEBUG # attach imxspi at axi with imx51_spi # file arch/arm/imx/imx51_spi.c imx51_spi a112 5 # PWM controlloer device imxpwm file arch/arm/imx/imxpwm.c imxpwm file arch/arm/imx/imx51_pwm.c imxpwm @ 1.4 log @Support i.MX51's LCD framebuffer on Netwalker. from Kenichi Hashimoto. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.3 2011/03/11 03:16:13 bsh Exp $ d90 2 a91 2 # device imxmci: sdmmcbus # file arch/arm/imx/imx51_mci.c imxmci @ 1.3 log @split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.2 2010/11/30 13:05:27 bsh Exp $ d59 5 a63 4 # LCD controller # device lcd : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation # file arch/arm/imx/imx31_lcd.c lcd needs-flag # defflag opt_imx31_lcd.h IMXLCDCONSOLE @ 1.3.4.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.3 2011/03/11 03:16:13 bsh Exp $ d59 4 a62 5 # IPU v3 controller device ipu : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons file arch/arm/imx/imx51_ipuv3.c ipu needs-flag defflag opt_imx51_ipuv3.h IMXIPUCONSOLE defparam opt_imx51_ipuv3.h IPUV3_DEBUG d89 2 a90 2 attach sdhc at axi with sdhc_axi file arch/arm/imx/imx51_esdhc.c sdhc_axi @ 1.3.4.2 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.3.4.1 2012/05/23 10:07:41 yamt Exp $ a47 6 # Watchdog device imxwdog: sysmon_wdog attach imxwdog at axi file arch/arm/imx/imx51_wdog.c imxwdog file arch/arm/imx/imxwdog.c imxwdog a52 1 defflag opt_imxgpio.h IMX_GPIO_INTR_SPLIT d100 3 a102 9 # SPI bus controlloer # attach of this driver need to be specified in paltform configuration # use flags to module version device imxspi : spibus file arch/arm/imx/imxspi.c imxspi defparam opt_imxspi.h IMXSPINSLAVES defparam opt_imxspi.h IMXSPI_DEBUG # attach imxspi at axi with imx51_spi # file arch/arm/imx/imx51_spi.c imx51_spi a112 5 # PWM controlloer device imxpwm file arch/arm/imx/imxpwm.c imxpwm file arch/arm/imx/imx51_pwm.c imxpwm @ 1.3.8.1 log @sync to latest -current. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.3 2011/03/11 03:16:13 bsh Exp $ d59 4 a62 5 # IPU v3 controller device ipu : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons file arch/arm/imx/imx51_ipuv3.c ipu needs-flag defflag opt_imx51_ipuv3.h IMXIPUCONSOLE defparam opt_imx51_ipuv3.h IPUV3_DEBUG d89 2 a90 2 attach sdhc at axi with sdhc_axi file arch/arm/imx/imx51_esdhc.c sdhc_axi @ 1.2 log @Support GPIO, IOMUX, and USB on i.MX51. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.1 2010/11/13 07:11:02 bsh Exp $ d21 1 a21 1 device tzic: pic @ 1.2.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.imx51,v 1.3 2011/03/11 03:16:13 bsh Exp $ d21 1 a21 1 device tzic: pic, pic_splfuncs @ 1.2.6.1 log @file files.imx51 was added on branch rmind-uvmplock on 2011-03-05 20:49:33 +0000 @ text @d1 111 @ 1.2.6.2 log @sync with head @ text @a0 111 # $NetBSD$ # # Configuration info for the Freescale i.MX51 # defparam opt_imx.h MEMSIZE defflag opt_imx.h IMX51 define bus_dma_generic file arch/arm/imx/imx_space.c file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag # iMX51 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/imx51_axi.c axi # iMX51 TrustZone Interrupt Controller include "arch/arm/pic/files.pic" device tzic: pic attach tzic at axi file arch/arm/imx/imx51_tzic.c tzic needs-flag file arch/arm/arm32/irq_dispatch.S # iMX51 Enhanced Periodic Interrupt Timer device imxclock attach imxclock at axi file arch/arm/imx/imxclock.c file arch/arm/imx/imx51_clock.c # Clock Control Module device imxccm attach imxccm at axi file arch/arm/imx/imx51_ccm.c imxccm needs-flag # frequency of external low frequency clock # typically 32000, 32768, or 38400. defparam opt_imx51clk.h IMX51_CKIL_FREQ # frequency of on-chip oscillator. typeilcally 24000000. defparam opt_imx51clk.h IMX51_OSC_FREQ # following parameters are used when imxccm is not configured in the kernel. defparam opt_imx51clk.h IMX51_AHBCLK_FREQ defparam opt_imx51clk.h IMX51_IPGCLK_FREQ # iMX GPIO device imxgpio: gpiobus attach imxgpio at axi file arch/arm/imx/imxgpio.c imxgpio needs-flag file arch/arm/imx/imx51_gpio.c imxgpio # iMX IOMUX device imxiomux : bus_space_generic attach imxiomux at axi file arch/arm/imx/imx51_iomux.c imxiomux # LCD controller # device lcd : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation # file arch/arm/imx/imx31_lcd.c lcd needs-flag # defflag opt_imx31_lcd.h IMXLCDCONSOLE # 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/imx51_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/imx51_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 # device imxmci: sdmmcbus # file arch/arm/imx/imx51_mci.c imxmci # iic Controler # device imxi2c: i2cbus # file arch/arm/imx/imx51_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/imx51_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/imx51_i2s.c imxi2s needs-flag @ 1.2.6.3 log @sync with head @ text @d21 1 a21 1 device tzic: pic, pic_splfuncs @ 1.1 log @i.MX51 support by SHIMIZU Ryo, Hashimoto Kenichi, and me. @ text @d1 1 a1 1 # $NetBSD: files.imx,v 1.2 2008/04/27 18:58:44 matt Exp $ d49 4 a52 3 # device imxgpio: gpiobus # attach imxgpio at ahb # file arch/arm/imx/imx31_gpio.c imxgpio needs-flag d57 1 a57 1 file arch/arm/imx/imx31_iomux.c imxiomux d77 7 a83 2 # attach ohci at ahb with ohci_ahb : bus_dma_generic # file arch/arm/imx/ochi_axi.c ohci_axi @ 1.1.2.1 log @file files.imx51 was added on branch uebayasi-xip on 2010-11-15 14:38:21 +0000 @ text @d1 105 @ 1.1.2.2 log @Sync with HEAD. @ text @a0 105 # $NetBSD$ # # Configuration info for the Freescale i.MX51 # defparam opt_imx.h MEMSIZE defflag opt_imx.h IMX51 define bus_dma_generic file arch/arm/imx/imx_space.c file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag # iMX51 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/imx51_axi.c axi # iMX51 TrustZone Interrupt Controller include "arch/arm/pic/files.pic" device tzic: pic attach tzic at axi file arch/arm/imx/imx51_tzic.c tzic needs-flag file arch/arm/arm32/irq_dispatch.S # iMX51 Enhanced Periodic Interrupt Timer device imxclock attach imxclock at axi file arch/arm/imx/imxclock.c file arch/arm/imx/imx51_clock.c # Clock Control Module device imxccm attach imxccm at axi file arch/arm/imx/imx51_ccm.c imxccm needs-flag # frequency of external low frequency clock # typically 32000, 32768, or 38400. defparam opt_imx51clk.h IMX51_CKIL_FREQ # frequency of on-chip oscillator. typeilcally 24000000. defparam opt_imx51clk.h IMX51_OSC_FREQ # following parameters are used when imxccm is not configured in the kernel. defparam opt_imx51clk.h IMX51_AHBCLK_FREQ defparam opt_imx51clk.h IMX51_IPGCLK_FREQ # iMX GPIO # device imxgpio: gpiobus # attach imxgpio at ahb # file arch/arm/imx/imx31_gpio.c imxgpio needs-flag # iMX IOMUX device imxiomux : bus_space_generic attach imxiomux at axi file arch/arm/imx/imx31_iomux.c imxiomux # LCD controller # device lcd : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation # file arch/arm/imx/imx31_lcd.c lcd needs-flag # defflag opt_imx31_lcd.h IMXLCDCONSOLE # 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/imx51_uart.c imxuart defflag opt_imxuart.h IMXUARTCONSOLE # attach ohci at ahb with ohci_ahb : bus_dma_generic # file arch/arm/imx/ochi_axi.c ohci_axi # 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 # device imxmci: sdmmcbus # file arch/arm/imx/imx51_mci.c imxmci # iic Controler # device imxi2c: i2cbus # file arch/arm/imx/imx51_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/imx51_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/imx51_i2s.c imxi2s needs-flag @