summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
Commit message (Collapse)AuthorAgeFilesLines
* Add missing includeSascha Hauer2010-08-221-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* iim/imx25: fix MAC and UID offsetsBaruch Siach2010-08-171-2/+2
| | | | | | | IIM_UID and IIM_MAC_ADDR are now fixed addresses. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx25: add iim platform codeBaruch Siach2010-08-171-0/+44
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx25: add chip specific IIM fusebox definesBaruch Siach2010-08-171-1/+7
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx iim: add mac address supportBaruch Siach2010-08-172-1/+34
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: driver for the IIM fuseboxBaruch Siach2010-08-173-0/+310
| | | | | | | | | | | | | | | | | | | This driver provides an interface for programming and sensing the IIM fusebox which is present on some i.MX chips. Since the IIM io addresses of the controlling registers and each fuse bank are are not contiguous the driver implementation uses two drivers, imx_iim, and imx_iim_bank. The imx_iim is the "parent" driver for a device holding the map_base address of the control registers. The imx_iim_bank driver is for child devices holding the map_base of each fuse bank. The platform code then, instantiate one imx_iim_bank device per fuse bank. Fuses blow is a dangerous operation. Thus, the fuses blow functionality can be disabled independently at configuration time. On run time this functionality must be enabled explicitly by setting the permanent_write_enable parameter. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: move IIM registers to their own headerBaruch Siach2010-08-173-18/+43
| | | | | | | This allows the use of IIM registers from code which is not mx35 specific. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx25: fix UID endianessBaruch Siach2010-08-041-1/+7
| | | | | | | | Apparently, the UID is little-endian. Reverse endianess, and add a note in comment. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx25: add support for UID read from eFuseBaruch Siach2010-08-043-0/+16
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add Garz+Fricke Neso supportSascha Hauer2010-07-051-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx-ipu-fb: Add board specific hook to enable displayEric Bénard2010-06-301-0/+2
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX27: Add some missing device base addressesSascha Hauer2010-06-241-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX clocksource: Use readl/writel instead of pointer derefSascha Hauer2010-06-241-7/+11
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imxfb: Add board specific hook to enable displaySascha Hauer2010-06-241-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX27: merge iomux pim definitions from kernelSascha Hauer2010-06-245-126/+555
| | | | | | | | The Kernel pin definitions are more complete and up to date. Being here we also use seperate files for the iomuxer like the other i.MX SoCs already do. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: Add MMU supportSascha Hauer2010-06-171-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'net' into nextSascha Hauer2010-06-171-0/+3
|\
| * Merge branch 'next'Sascha Hauer2010-06-034-0/+44
| |\
| * | i.MX27: add required defines for I2C2Eric Bénard2010-05-181-0/+3
| | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25 3ds: Fix compilationIvo Clarysse2010-06-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On barebox-next, I get: board/freescale-mx25-3-stack/built-in.o: In function `go': 3stack.c:(.flash_header_start+0x0): undefined reference to `_start' board/freescale-mx25-3-stack/built-in.o: In function `imx25_3ds_fec_init': 3stack.c:(.text.imx25_3ds_fec_init+0x4): undefined reference to `mc34704_get' 3stack.c:(.text.imx25_3ds_fec_init+0x1c): undefined reference to `mc34704_reg_write' Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Add support for Eukrea CPUIMX35Eric Benard2010-06-101-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | this modules is based on Freescale's i.MX357 CPU, with 128MB of mDDR, 256 MB NAND, and ethernet PHY. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25: add support for i2cBaruch Siach2010-06-103-2/+8
| | | | | | | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mx25: fix typo in imx25-regs.hBaruch Siach2010-06-101-1/+1
| |/ |/| | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Add support for Eukrea's CPUIMX25Eric Benard2010-05-251-0/+10
| | | | | | | | | | | | | | | | This boards integrates 64mB of DDR, a 256MB NAND flash, a RMII Ethernet PHY and a i.MX257 CPU. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx35: add detection of silicon revisionMarc Reilly2010-05-173-0/+34
|/ | | | | | | Implemented imx_silicon_revision() for imx35. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX35: Fix ahbclock calculationSascha Hauer2010-05-031-1/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: remove __REG from esd controller regs. use readl/writel insteadSascha Hauer2010-05-031-5/+5
| | | | | | | So far these registers are unused in C, so we can remove the __REG without harm. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx/gpio: make gpio_get_value actually workUwe Kleine-König2010-05-031-1/+1
| | | | | | | | | The value read at the pin is provided by Sample Status Register, not the Data Register. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX25PDK: Add support for 64MiB DDR2 SDRAMIvo Clarysse2010-05-031-1/+11
| | | | | | | | | Newer Freescale 3-Stack development systems are equipped with 64MiB of DDR2 SDRAM, instead of the 128MiB of mDDR SDRAM with which earlier versions were shipped. Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX21: support framebufferIvo Clarysse2010-04-022-2/+38
| | | | | | | | This patch allows using the i.MX (LCDC) framebuffer driver on boards using an i.MX21 SoC. Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu' into nextSascha Hauer2010-04-022-2/+3
|\
| * pcm043: enable l2x0 cacheSascha Hauer2010-03-301-1/+2
| | | | | | | | | | | | | | Also, initialize the MMU in a postcore_initcall to enable it earlier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * make reset_cpu a __noreturn functionSascha Hauer2010-03-301-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'master' into nextSascha Hauer2010-03-221-2/+2
|\|
| * i.MX25 : fix define name for clock frequencyEric Benard2010-03-221-2/+2
| | | | | | | | | | | | | | CONFIG_MX35_HCLK_FREQ -> CONFIG_MX25_HCLK_FREQ Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX25 : change IOMUX for LD16 and LD17Eric Benard2010-03-221-2/+2
| | | | | | | | | | | | | | | | This allows the iomux to reconfigure these pins which are opendrain at power on and thus can't drive the LCD. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX25 : add lcdc clock supportEric Benard2010-03-221-0/+6
|/ | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu'Sascha Hauer2010-02-013-2/+4
|\
| * i.MX: select armv6 for i.MX31/35Sascha Hauer2010-02-011-0/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * remove typedef cmd_tbl_t and replace it with struct commandSascha Hauer2010-02-012-2/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX35: Fix pad control bit positionsJuergen Beisert2010-02-011-15/+15
| | | | | | | | | | | | | | | | | | | | | | Using these macros simplify the configuration for special GPIO usage. But they should use correct bit positions for usage in the IOMUX_PAD() macro. Note: These are the bit positions of the i.MX35 CPU. Not checked for the other i.MX3x CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'next'Sascha Hauer2010-02-012-0/+6
|\ \
| * | Add necessary clocks & defines to get I2C support for i.MX27Eric Benard2010-01-162-0/+6
| |/ | | | | | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / Fix nand_imx for i.MX21Ivo Clarysse2010-01-292-1/+2
|/ | | | | | | | | Recent changes to the nand_imx driver broke it for i.MX21 systems; the i.MX21 NAND controller is more akin to the one in i.MX27/i.MX31, than to the one in i.MX25/i.MX35. Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx ipu fb: Make fb_videomode constSascha Hauer2009-12-181-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX35 3stack: select I2C driversSascha Hauer2009-12-171-0/+4
| | | | | | | | Building i.MX35 3stack support without the I2C drivers does not make much sense as the board will trigger a watchdog timer soon after start. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-153-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX Nand: fix bit clearingSascha Hauer2009-12-101-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Fix CCM_UPCTL register offsetSascha Hauer2009-12-101-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm043: Add MMU supportSascha Hauer2009-12-101-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>