summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-davinci/hardware.h
AgeCommit message (Collapse)Author
2015-02-21ARM: davinci: move SoC headers to mach-davinci/include/machMasahiro Yamada
Move arch/arm/include/asm/arch-davinci/* -> arch/arm/mach-davinci/include/mach/* Signed-off-by: Masahiro Yamada <[email protected]> Cc: Tom Rini <[email protected]>
2014-06-19mtd: nand: davinci: add header file for driver definitionsKhoronzhuk, Ivan
The definitions inside emif_defs.h concern davinci nand driver and should be in it's header. So create header file for davinci nand driver and move definitions from emif_defs.h and nand_defs.h to it. Acked-by: Vitaly Andrianov <[email protected]> Signed-off-by: Ivan Khoronzhuk <[email protected]> [trini: Fixup more davinci breakage] Signed-off-by: Tom Rini <[email protected]>
2014-03-04sizes.h - consolidate for all architecturesAlexey Brodkin
Copied from Linux sources "include/linux/sizes.h" commit 413541dd66d51f791a0b169d9b9014e4f56be13c Signed-off-by: Alexey Brodkin <[email protected]> Cc: Vineet Gupta <[email protected]> Cc: Tom Rini <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Albert Aribaud <[email protected]> Acked-by: Tom Rini <[email protected]> Acked-by: Stefan Roese <[email protected]> [trini: Add bcm Kona platforms to the patch] Signed-off-by: Tom Rini <[email protected]>
2013-12-04davinci: fix Master Priority Registers locationViktar Palstsiuk
MSTPRI0 (Master Priority 0 Register) sits at 0x01C14110 not at 0x01C14114 Signed-off-by: Viktar Palstsiuk <[email protected]>
2013-11-01am33xx, davinci: Create and use <asm/davinci_rtc.h>Tom Rini
Create a common header file for the RTC IP block that is shared between davinci and am33xx. Signed-off-by: Tom Rini <[email protected]>
2013-07-24Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <[email protected]>
2013-05-10da850: provide davinci_enable_uart0Eric Benard
this is needed to bring UART0 out of reset but this function currently only exists for dm644x/355/365/646x when da850 (at least am1808 also need it). Signed-off-by: Eric Bénard <[email protected]>
2012-09-01da8xx/hawkboard: Add support for ohci host controllerSughosh Ganu
Also enable the ohci port on hawkboard. These additions result in an increased u-boot size -- adjust the same accordingly in the board's config. Move the usb header for da8xx platforms under arch-davinci. Signed-off-by: Sughosh Ganu <[email protected]>
2012-09-01DaVinci DA8xx: replace magic number for DDR speedLaurence Withers
Replace a magic number for the DDR2/mDDR PHY clock ID with a proper definition. In addition, don't request this clock ID on DA830 hardware, which does not have a DDR2/mDDR PHY (or associated PLL controller). Signed-off-by: Laurence Withers <[email protected]> Cc: Tom Rini <[email protected]> Cc: Prabhakar Lad <[email protected]>
2012-09-01DaVinci DA850: UART2 clock ID comes from ASYNC3Laurence Withers
On the DA830, UART2's clock is derived from PLL controller 0 output 2. On the DA850, it is in the ASYNC3 group, and may be switched between PLL controller 0 or 1. Fix the definition of the ID to match. Signed-off-by: Laurence Withers <[email protected]> Cc: Tom Rini <[email protected]> Cc: Prabhakar Lad <[email protected]>
2012-09-01DaVinci DA8xx: tidy up clock ID definitionLaurence Withers
Tidy up the clock IDs defined for the DA8xx SOCs. With this new structure in place, it is clear how to define new clock IDs, and how these map to the numbers presented in the technical reference manual. Signed-off-by: Laurence Withers <[email protected]> Cc: Tom Rini <[email protected]> Cc: Prabhakar Lad <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2012-09-01arm/davinci/da850: add uart0 pinmuxMikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy <[email protected]> Tested-by: Sughosh Ganu <[email protected]>
2012-09-01arm/davinci: fix DDR2/mDDR memory controller initialization for Omap L138Mikhail Kshevetskiy
follow section 15.2.13.1 (Initializing Following Device Power Up or Reset) of OMAP-L138 DSP+ARM Processor Technical Reference Manual Signed-off-by: Mikhail Kshevetskiy <[email protected]> Acked-by: Christian Riesch <[email protected]> Tested-by: Christian Riesch <[email protected]>
2012-09-01da850/omap-l138: Add MMC support for DA850/OMAP-L138Lad, Prabhakar
This patch adds support for MMC/SD on DA850/OMAP-L138. Tested-by: Christian Riesch <[email protected]> Signed-off-by: Lad, Prabhakar <[email protected]> Signed-off-by: Rajashekhara, Sudhakar <[email protected]> Signed-off-by: Hadli, Manjunath <[email protected]>
2012-02-12arm, davinci: add workaround for not resetting DMA bus and VPSS modulesHeiko Schocher
The Buffer Logic of VPSS is Not Reset by System Reset Pin, see http://www.ti.com/lit/er/sprz316b/sprz316b.pdf chapter Advisory 1.2.1 on page 9. Add workaroundcode proposed in the errata. Signed-off-by: Heiko Schocher <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Tom Rini <[email protected]>
2012-01-16arm, davinci: Change byte order of RTC kick register valuesChristian Riesch
Now the values in the defines agree with those in the manuals. Signed-off-by: Christian Riesch <[email protected]> Cc: Tom Rini <[email protected]> Cc: Heiko Schocher <[email protected]>
2011-12-06arm, davinci: move davinci_rtc struct to hardware.hHeiko Schocher
move struct davinci_rtc to arch/arm/include/asm/arch-davinci/hardware.h and add RTC_KICK0R_WE, RTC_KICK1R_WE defines, so they are global useable. Signed-off-by: Heiko Schocher <[email protected]> Cc: Sandeep Paulraj <[email protected]>
2011-12-06arm, davinci: Move pinmux functions from board to arch treeChristian Riesch
Signed-off-by: Christian Riesch <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Sudhakar Rajashekhara <[email protected]> Cc: Syed Mohammed Khasim <[email protected]> Cc: Sughosh Ganu <[email protected]> Cc: Nick Thompson <[email protected]> Cc: Stefano Babic <[email protected]> Acked-by: Heiko Schocher <[email protected]> Acked-by: Nick Thompson <[email protected]>
2011-11-15arm, davinci: add DAVINCI_MMC_CLKIDHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-15arm, davinci: da850/dm365 lowlevel cleanupHeiko Schocher
- Cleanup a lot of fix values, and use defines instead. - Also make some values configurable through the board config file. - delete the NAND_SPL code for da850, as it is not used actually - remove the asm code Signed-off-by: Heiko Schocher <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Tom Rini <[email protected]> Cc: Christian Riesch <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-08da8xxevm: fix build errorPrabhakar Lad
This patch fixes following compile error for da8xx evm da830evm.c: In function 'board_init': da830evm.c:222: error: 'DAVINCI_SYSCFG_SUSPSRC_UART2' undeclared (first use in this function) da830evm.c:222: error: (Each undeclared identifier is reported only once da830evm.c:222: error: for each function it appears in.) make[2]: *** [da830evm.o] Error 1 similarly for da850evm. introduced through commit: f9fc237f1f07d4e5ff7c9c2da39cabc8d3d7b339 Signed-off-by: Prabhakar Lad <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-03ARM: Davinci: added missing registers to hardware.hStefano Babic
The hardware base address for ther LCD configuration registers is missing, as well as some syscfg registers. Signed-off-by: Stefano Babic <[email protected]> CC: Sandeep Paulraj <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-03Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for ↵Bastian Ruppert
console Signed-off-by: Bastian Ruppert <[email protected]> Signed-off-by: Stefano Babic <[email protected]> CC: [email protected] CC: Sandeep Paulraj <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-03Davinci: ea20: set console on UART0Bastian Ruppert
Signed-off-by: Bastian Ruppert <[email protected]> Signed-off-by: Stefano Babic <[email protected]> CC: Sandeep Paulraj <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-03arm926ejs, davinci: add missing spi defines for dm365Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Sandeep Paulraj <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-03arm, davinci: add header files for dm365Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Christian Riesch <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-11-03arm, davinci: Add function lpsc_syncreset()Christian Riesch
This patch adds a function lpsc_syncreset that allows setting a lpsc module into Sync Reset state. Signed-off-by: Christian Riesch <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Acked-by: Heiko Schocher <[email protected]> Tested-by: Heiko Schocher <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-10-27arm, davinci: add missing LSPC define for MMC/SD1Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-10-27DaVinci: correct MDSTAT.STATE maskSergei Shtylyov
MDSTAT.STATE occupies bits 0..5 according to all available documentation, so fix the mask which previously was leaving out the intermediate state indicator bit. While at it, introduce two #define's for that mask -- unfortunately, we can't use a single #define as the assembly code can't include <asm/arch/hardware.h> due to C-specfic constructs in it. Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add some missing defines in hardware.hHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add SYSCFG1 base and register structHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add RTC base addrHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add missing timer baseaddresses for !DA8xx cpuHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: modifications for Logic PD Rev.3 AM18xx EVMNagabhushana Netagunte
AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for NOR to work on Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. Signed-off-by: Rajashekhara, Sudhakar <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: add support to wake up DSP during board initNagabhushana Netagunte
add support for DSP wake-up by default on DA850/OMAP-L138 during board initialization. Enable hwconfig environment and added extra env setting through CONFIG_EXTRA_ENV_SETTINGS. To prevent DSP from being woken up,set the environment variable as, set hwconfig "dsp:wake=no" Signed-off-by: Sekhar Nori <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da8xx: add support for multiple PLL controllersSudhakar Rajashekhara
Modify clk_get() function in cpu file to work for multiple PLL controllers. Signed-off-by: Sudhakar Rajashekhara <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DA8xx: fix LPSC constantsLaurence Withers
Some of the LPSC constants were incorrect, and some were missing. This commit fixes the incorrect constants (which were not used anywhere in the tree) and adds all constants for both DA830 and DA850, as per the TI datasheets. Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DA8xx: switch an enum to defines for consistencyLaurence Withers
There are two main sets of LPSC constants, depending on the processor family. The DA8xx constants were given in an enum whereas the non-DA8xx constants were preprocessor defines. This commit switches the DA8xx constants to defines for consistency. Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DA8xx: add MMC/SD controller addressesLaurence Withers
Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-02-02DaVinci DM6467: Enhance board SupportSandeep Paulraj
Support for DM6467 was incomplete and the build failed as well. Patches were sent to the list but have not been added. This enhances the DM6467 support. Some more patches will need to be sent to bring it in line with what is available in internal TI trees Signed-off-by: Sandeep Paulraj <[email protected]>
2010-11-30da850: Add RMII support for EMACSudhakar Rajashekhara
This patch is a port of the work by Sudhakar Rajeshekhara in commit ab3effbcad8851cc65dc5241a01c064d2030a3b2 of git://arago-project.org/git/people/sandeep/u-boot-davinci.git. The da850 UI board has on it an RMII PHY which can be used if the MDC line to the MII PHY on the baseboard is disabled and the RMII PHY is enabled by configuring the values of some GPIO pins on the IO expander of the UI board. This patch implements disabling that line via GPIO2[6], configuring the UI board's IO expander and setting only the pinmux settings that are needed for RMII operation. Tested on da850evm by adding a define for CONFIG_DRIVER_TI_EMAC_USE_RMII. Signed-off-by: Sudhakar Rajashekhara <[email protected]> Signed-off-by: Ben Gardiner <[email protected]> CC: Sandeep Paulraj <[email protected]> CC: Ben Warren <[email protected]> CC: Mike Frysinger <[email protected]> CC: Sughosh Ganu <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2010-11-30Add board support for hawkboardSughosh Ganu
The patch adds basic board support for TI's OMAP-L138 based Hawkboard. This board is pretty similar to the da850 EVM. Support for nand and network access is added in this version. The following bootup procedure is used. At reset, the Rom Boot Loader(RBL), initialises the ddr and the nand controllers and copies the second stage bootloader(nand_spl) to RAM. The secondary bootloader then copies u-boot from a predefined location in the nand flash to the RAM, and passes control to the u-boot image. Three config options are supported * hawkboard_config - Used to create the u-boot.bin. Tftp the u-boot.bin image to the RAM from u-boot, and flash to the nand flash at address 0xe0000. * hawkboard_nand_config - Used to generate the secondary bootloader(nand_spl) image. This creates an elf file u-boot-spl under nand_spl/. Create an AIS signed image using this file, and flash it to the nand flash at address 0x20000. The ais file should fit in one block. * hawkboard_uart_config - This is same as the first image, but with the TEXT_BASE as expected by the RBL(0xc1080000). Create the AIS Signed-off-by: Sughosh Ganu <[email protected]> Signed-off-by: Ben Gardiner <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2010-11-28da850: Enable SPI FlashStefano Babic
The patch was already posted to the arago project, but not yet to mainline. It allows to save environment into the spi flash. Tested on LogiPD tmdxl138. Signed-off-by: Sudhakar Rajashekhara <[email protected]> Signed-off-by: Stefano Babic <[email protected]> CC: Detlev Zundev <[email protected]> CC: Ben Gardiner <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2010-11-28da8xx: Add cpu_is_da8xx macrosSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <[email protected]> CC: Stefano Babic <[email protected]> CC: Detlev Zundev <[email protected]> CC: Ben Gardiner <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2010-06-10TI: DaVinci: Add board specific code for da850 EVMSudhakar Rajashekhara
Provides initial support for TI OMAP-L138/DA850 SoC devices on a Logic PD EVM board. Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: Sudhakar Rajashekhara <[email protected]> Acked-by: Ben Gardiner <[email protected]> Reviewed-by: Wolfgang Denk <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2010-04-13Move architecture-specific includes to arch/$ARCH/include/asmPeter Tyser
This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by: Peter Tyser <[email protected]>