summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5
Commit message (Collapse)AuthorAgeFilesLines
* ARM: imx: Get the silicon version from the IIM moduleDinh Nguyen2010-11-283-32/+41
| | | | | | | | | | | Instead of reading the silicon version from ROM, we should read the SREV register from the IIM. Freescale has dropped all support for MX51 REV1.0, only MX51 REV 2.0 and 3.0 are valid. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx: Add mx53 support to common msl functions.Dinh Nguyen2010-11-242-2/+36
| | | | | | | Add mx53 support to cpu.c and mm.c. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx: Add core definitions for MX53Dinh Nguyen2010-11-246-25/+129
| | | | | | | | | | Add iomux, clocks, and memory map for Freescale's MX53 SoC. Add cpu_is_mx53 function to common.h. Add 3 more banks of gpio's to mxc_gpio_ports. Add MX53 phys offset address. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx51_babbage: Add SPI flash supportFabio Estevam2010-11-242-0/+37
| | | | | | | | | | MX51 Babbage has an AT45DB321 SPI Flash connected to eCSPI1. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM i.MX51: return gracefully on different socsSascha Hauer2010-11-241-0/+3
| | | | | | | | | Code called from an initcall can be maybe called for machines it's not intended for. So check for valid machines and return gracefully if an incompatible machine is found. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX51 boards: Do not use PHYS_OFFSETSascha Hauer2010-11-243-3/+3
| | | | | | | PHYS_OFFSET may become a variable once the runtime PHYS_OFFSET patch is merged, so use MX51_PHYS_OFFSET for boot_params. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx51_3ds: Add esdhc supportFabio Estevam2010-11-242-0/+2
| | | | | | | | Add support for esdhc on mx51_3ds board. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add resetArnaud Patard (Rtp)2010-11-241-0/+24
| | | | | | | | The efikamx board is using a gpio to reset the board so add support for it Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add spi nor supportArnaud Patard (Rtp)2010-11-242-0/+59
| | | | | | | On efikamx, uboot is stored on a nor spi flash. Add support for it Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add support for power keyArnaud Patard (Rtp)2010-11-241-0/+24
| | | | | | | | This patch adds support for power key button of the efika mx. It's connected on GPIO 2 31. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add leds supportArnaud Patard (Rtp)2010-11-241-1/+46
| | | | | | | | | The efika mx a 3 leds (1 blue, 1 red, 1 green) connected on GPIOS 3 13/14/15. Also, some special care is done for default trigger of blue led for mmc as the mmc host used is different between hw revisions Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add mmc supportArnaud Patard (Rtp)2010-11-242-0/+28
| | | | | | | | The efika mx is using a esdhc host for mmc support. Now that the sdhci has support for it, enable it. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: read board idArnaud Patard (Rtp)2010-11-241-0/+65
| | | | | | | read board id value from the GPIO3_16/17/11 Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookieLothar Waßmann2010-11-247-11/+11
| | | | | | | | | | | | | | The following patch is a first step to convert the 'struct pad_desc' to a bitmapped cookie to facilitate adding platform specific pullup or drive strength definitions to existing pad definitions without need to rewrite the complete pad def. The patch wraps 'struct pad_desc' in an opaque data type and introduces macros to access the individual members. This patch does not constitute any functional change! Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx: fix name for functions adding sdhci-esdhc-imx devicesUwe Kleine-König2010-11-195-12/+13
| | | | | | and restore alphabetic ordering. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: use MXxy_IO_P2V macros to setup static mappingsUwe Kleine-König2010-11-171-28/+7
| | | | | | | | | | This makes less code rely on the virtual constants. To further simplify code and reduce the needed boilerplate when defining the static mappings a new helper macro is defined in mach/hardware.h. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into ↵Russell King2010-10-287-3/+116
|\ | | | | | | devel-stable
| * ARM: mx5: Add gpio-keys to mx51 babbage boardDinh Nguyen2010-10-262-0/+26
| | | | | | | | | | | | | | Add functionality for the power button on MX51 Babbage board. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cpufreq for freescale mx51Yong Shen2010-10-226-3/+70
| | | | | | | | | | | | | | | | Currently, only two operating points: 160Mhz and 800Mhz. the operating points are tested on babbage 3.0 Signed-off-by: Yong Shen <yong.shen@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * babbage: esdhc device registrationShawn Guo2010-10-212-0/+20
| | | | | | | | | | | | | | Update babbage board support to register esdhc device Signed-off-by: Shawn Guo <shawn.gsc@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: remove machine_desc.io_pg_offst and .phys_ioNicolas Pitre2010-10-205-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we're now using addruart to establish the debug mapping, we can remove the io_pg_offst and phys_io members of struct machine_desc. The various declarations were removed using the following script: grep -rl MACHINE_START arch/arm | xargs \ sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }' [ Initial patch was from Jeremy Kerr, example script from Russell King ] Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Eric Miao <eric.miao at canonical.com>
* | Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into ↵Russell King2010-10-198-94/+715
|\ \ | |/ | | | | devel-stable
| * cpuimx51: update board supportEric Bénard2010-10-193-1/+34
| | | | | | | | | | | | add NAND, SDHC Signed-off-by: Eric Bénard <eric@eukrea.com>
| * mx5: add cpuimx51sd module and its baseboardEric Bénard2010-10-194-0/+526
| | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
| * imx-esdhc: update devices registrationEric Bénard2010-10-191-8/+3
| | | | | | | | | | | | Tested on i.MX25 and i.MX35 and i.MX51 Signed-off-by: Eric Bénard <eric@eukrea.com>
| * mx51: add resources for SD/MMC on i.MX51Eric Bénard2010-10-192-0/+113
| | | | | | | | | | | | | | | | the attached patch allows SD to work on i.MX51 with Wolfram's drivers Tested on i.MX51. Based on original patch from: Richard Zhu <r65037@freescale.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
| * clock-mx51: rename CLOCK1 to CLOCK_CCGR for better readabilityEric Bénard2010-10-191-2/+2
| | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
| * clock-mx51: factorize clk_set_parent and clk_get_rateEric Bénard2010-10-191-94/+48
| | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* | Merge branch 'for-rmk-next' of git://git.pengutronix.de/git/imx/linux-2.6 ↵Russell King2010-10-1111-180/+480
|\ \ | |/ | | | | into devel-stable
| * mx51: efikamx: add otg supportAmit Kucheria2010-10-111-0/+30
| | | | | | | | | | | | | | Ethernet hangs off OTG Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx51: add support for genesi efikamx nettopAmit Kucheria2010-10-113-0/+99
| | | | | | | | | | | | | | Get serial port working for now Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: imx: dynamically register fec devicesUwe Kleine-König2010-10-115-26/+6
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: imx: fix/define clocks and create devices for imx dmaUwe Kleine-König2010-10-111-0/+5
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5: clock-imx51: make *ipg clocks secondary clocks of their ↵Sascha Hauer2010-10-011-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | corresponding peripheral clocks Currently the uarts and timer only work because they are turned on by reset default. Make them secondary clocks of their corresponding peripheral clocks to make sure they are turned on when necessary. Also, register some clocks to get rid of compiler warnings Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5: dynamically register mxc-nand deviceSascha Hauer2010-10-011-0/+4
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx51: Add audmux supportSascha Hauer2010-10-011-0/+1
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx51: add imx-ssi devicesSascha Hauer2010-10-012-0/+16
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx51: dynamically register imx-uart devicesUwe Kleine-König2010-10-018-76/+23
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5: Add Nand clock supportSascha Hauer2010-10-011-0/+98
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5/mx51_3ds: add SPI NOR flash in the board init stageJason Wang2010-10-011-0/+13
| | | | | | | | | | | | | | | | | | | | A 2M bytes SPI NOR flash(sst25vf016b) is soldered on the mx51_3ds board. So add the corresponding device for it. Signed-off-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5/mx51_3ds: add eCSPI2 support on the imx51_3ds boardJason Wang2010-10-012-0/+21
| | | | | | | | | | | | | | Signed-off-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5/clock-mx51: add spi clocksJason Wang2010-10-011-0/+57
| | | | | | | | | | | | | | Signed-off-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5/clock-mx51: new macro that defines a clk with all membersUwe Kleine-König2010-10-011-13/+13
| | | | | | | | | | | | | | Acked-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5/clock-mx51: refactor ccgr callbacks to use common codeUwe Kleine-König2010-10-011-14/+16
| | | | | | | | | | | | | | Acked-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5: add spi_imx device registrationUwe Kleine-König2010-10-011-0/+8
| | | | | | | | | | | | | | Acked-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5: dynamically register imx-i2c devicesUwe Kleine-König2010-10-016-47/+22
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mx5/mx51_babbage: don't use PHYS_OFFSETUwe Kleine-König2010-09-271-1/+1
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx5/mx51_babbage: fix compiler warningsSascha Hauer2010-09-271-2/+2
| | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx5/mx51_babbage: Add FEC supportFabio Estevam2010-09-271-1/+42
| | | | | | | | | | | | | | | | Tested it by booting a rootfs via NFS. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mxc: turn off HWCAP_NEON for older versions of imx51 siliconAmit Kucheria2010-10-011-0/+19
|/ | | | | | | | | | Versions of silicon older than TO3 have broken NEON implementation. Turn off NEON in such cases. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Tested-by: Dave Martin <dave.martin@linaro.org> Tested-by: Jason Hui <jason.hui@linaro.org> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
OpenPOWER on IntegriCloud