summaryrefslogtreecommitdiff
path: root/board
AgeCommit message (Collapse)Author
2015-12-15colibri_imx6.c: call phy_reset on Ethernet startupColibri_iMX6_LinuxImageV2.5Beta3_20151215Colibri_VF_LinuxImageV2.5Beta3_20151215Colibri_T30_LinuxImageV2.5Beta3_20151215Colibri_T20_LinuxImageV2.5Beta3_20151215Apalis_iMX6_LinuxImageV2.5Beta3_20151215Apalis_T30_LinuxImageV2.5Beta3_20151215Max Krummenacher
See commit 3473c2e3e88f4a2046a24f164d7d67ad5db27b1e Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15Apalis/Colibri iMX6: use the enum from command.h for return codesMax Krummenacher
This cleans up the code without changing the functionality. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15configblock.c: use is_cpu_type to detect i.MX 6 CPUMax Krummenacher
Using the RAM size on Colibri iMX6 might fail if the DCD is not yet updated to a 64-bit DDR bus on the Colibri iMX6DL. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-10-29colibri_imx6: update do_patch_ddr_size functionMarcel Ziswiler
Update do_patch_ddr_size() to accommodate our new eMMC layout (e.g. switch to primary eMMC boot area partition for patching).
2015-10-26apalis/colibri_imx6: move env and config block to end of emmc boot areaMarcel Ziswiler
Move the U-Boot environment and config block to the end of the first eMMC (hardware) boot area partition.
2015-10-26apalis/colibri_imx6: cosmetic board file changesMarcel Ziswiler
Fix various comment style, indentation and spelling issues in our Apalis/Colibri iMX6 board files.
2015-10-05toradex: configblock: fix command return codesStefan Agner
Return success/failure depending whether config block loading succeeded or failed (e.g. if written in different ECC format or not available at all).
2015-10-01colibri_vf: fix compile error when disabling DCUStefan Agner
If the DCU framebuffer is not configured, the board file still tries to call fsl_dcu_fixedfb_setup, which leads to a compile issue. Call fsl_dcu_fixedfb_setup only if DCU is enabled.
2015-08-11colibri_vf: fix DDR property fixupStefan Agner
Set DDR property fixup also in (future) version 2.x revisions.
2015-08-10arm: vf610: Add iomux support for DSPIBhuvanchandra DV
Add iomux definitions for DSPI second instance. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-08-10colibri_vf: Add separate defconfig for device tree supportBhuvanchandra DV
Most of the drivers available for Vybrid are not yet converted to OF model to use device tree model, only few drivers like SPI and GPIO drivers use device trees. Add separate defconfig for who needs to use device tree model. Later this can be integrated to single defconfig. Acked-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-07-13apalis_t30: enable display driverMarcel Ziswiler
Enable the display driver on Apalis T30. Unfortunately the PWM pin muxing wasn't any good neither which made that display stay dark.
2015-07-12colibri_t30: enable display driverMarcel Ziswiler
On popular request enable the display driver on Colibri T30. A few notes about some things encountered during porting: While analogue VGA (e.g. via the on-carrier RAMDAC) worked just fine from the beginning the EDT display flickered like crazy which turned out to be a pin muxing issue. Unfortunately the PWM pin muxing wasn't any good neither which made that display stay dark. Enjoy.
2015-07-12tegra: lcd: video: integrate display driver for t30Marcel Ziswiler
On popular request make the display driver from T20 work on T30 as well. Turned out to be quite straight forward. However a few notes about some things encountered during porting: Of course the T30 device tree was completely missing host1x as well as PWM support but it turns out this can simply be copied from T20. The only trouble compiling the Tegra video driver for T30 had to do with some hard-coded PWM pin muxing for T20 which is quite ugly anyway. On T30 this gets handled by a board specific complete pin muxing table. The older Chromium U-Boot 2011.06 which to my knowledge was the only prior attempt at enabling a display driver for T30 for whatever reason got some clocking stuff mixed up. Turns out at least for a single display controller T20 and T30 can be clocked quite similar. Enjoy.
2015-07-08colibri_imx6.c: fix setup of I2C3Max Krummenacher
Use the correct I2C instance for the I2C going to SODIMM_194/196.
2015-07-08Apalis/Colibri iMX6: pf0100.c cleanup coding styleMax Krummenacher
2015-07-08Apalis: production: use GPIO1 to trigger PMIC fusingMax Krummenacher
use Apalis GPIO1 to switch on VPGM
2015-07-08Apalis/Colibri iMX6: fix production commandsMax Krummenacher
commit 2da77958e96151295e72f8f85aee352d0b4010fe added a configuration option to include commands used during production. Fixing the use of the CONFIG macro.
2015-07-07colibri_vf: mux UART2 (Colibri UART_B) at boot timeStefan Agner
Some firmwares running on the secondary core rely on UART pins muxed at start time. Mux the Vybrid UART2 (which maps to Colibri UART_B) at startup.
2015-07-07colibri_vf: fixup DT with DDR property to support LPSTOPStefan Agner
Fixup the device-tree with the property fsl,has-cke-reset-pulls which annotates that the board has pull-ups/downs which are required to put the memory into self-refresh mode. The self-refresh mode in turn is a requirement to put the SoC into deep sleep mode LPSTOP.
2015-06-30colibri_vf: use device-tree for MTD partitionsStefan Agner
Use device-tree fixup to communicate the MTD partitions to the kernel. U-Boot's mtdparts environment variable will be used as partition source for the device-tree based partition table too.
2015-05-28colibri_vf: disable configuration of MSCM interrupt routerStefan Agner
Do not configure all interrupts to the primary core by default since newer Linux versions configure the MSCM interrupt router correctly by themself. This also prevents warnings due to already routed interrupts when booting Linux on the secondary Cortex-M4 CPU.
2015-05-13apalis_imx6.c: prepare Apalis GPIO pins to be GPIOMax Krummenacher
In order to use the gpio commandline feature of U-Boot the pins one wants to control must be muxed to GPIO. Do that for Apalis pins GPIO[1:8] and for WAKE1_MICO. This feature can be used as follows: e.g. set GPIO1 to 1: Apalis iMX6 # gpio set 36 gpio: pin 36 (gpio 36) value is 1 e.g. read the state of GPIO8: Apalis iMX6 # gpio input 6 gpio: pin 6 (gpio 6) value is 1
2015-05-13colibri_imx6.c: prepare auxiliary pins to be GPIOMax Krummenacher
In order to use the gpio commandline feature of U-Boot the pins one wants to control must be muxed to GPIO. Do that for all unused pins which in the default kernel device tree also gets muxed to gpio for userspace use. This feature can be used as follows: e.g. change the LCD brightness signal from 0V to 3.3V: Colibri iMX6 # gpio set 41 gpio: pin 41 (gpio 41) value is 1 e.g. read the state of gpio 111: Colibri iMX6 # gpio input 111 gpio: pin 111 (gpio 111) value is 1
2015-05-13colibri_imx6.c: ensure EMI_ADDR22 is inputMax Krummenacher
Out of reset EMI_ADDR22 is output and connected to GPIO01. As we want to use GPIO01 as an output for backlight control mux EMI_ADDR22 to a GPIO which by default is input.
2015-05-13Apalis/Colibri iMX6: rename/add bmodeMax Krummenacher
Add an alias for the ESDHC0 which provides the standard MMC connection on Colibri iMX6. Add an alias for the ESDHC0/1 which provides the standard MMC/SD connection on Apalis iMX6.
2015-05-11toradex: common: fix non-Toradex config block buildStefan Agner
Fix build of configurations without the Toradex config block. Also move away from the ifdefery through the file, but create a global ifdef which distingush between the two variants on a global level.
2015-05-11toradex: common: use define for product number offsetStefan Agner
The USB product ID's for the Colibri/Apalis family of Toradex can be calculated by using the Toradex product ID (as provided by the config block) plus a fixed offset of 0x4000.
2015-05-11toradex: common: set board-rev and product-idStefan Agner
Set board revision and Toradex product ID as device tree property. This transfers the Toradex configblock information to Linux user- space, where it can be read conviniently through the proc file system files: - /proc/device-tree/serial-number - /proc/device-tree/toradex,board-rev - /proc/device-tree/toradex,product-id In case the Toradex config block is missing or corrupted, the device tree properties won't be created by the boot loader and hence those file won't exist in that case.
2015-05-09toradex: common: set Toradex specific dt propertiesStefan Agner
Use ft_system_setup to set Toradex specific device-tree properties. At first, this is only the serial-number, which is using a property which is about to be standardized in the binding documentation of the Linux kernel.
2015-05-09toradex: configblock: move environment config to commonStefan Agner
Move setting of environment variables to common code. This prepares for further enhancements which will enhance the device tree with module specific information from the configblock.
2015-05-07Add config to disable commands used only in productionMax Krummenacher
CONFIG_TRDX_CMD_IMX_MFGR in menu 'ARM architecture' While at it remove unused include g_dnl.h
2015-05-07configblock.c: add configblock creation for iMX6 modulesMax Krummenacher
2015-05-06Apalis/Colibri iMX6: make the parallel RGB usableMax Krummenacher
In U-Boot use the following display outputs a: - Test the panel environment variable and if set use it - Use HDMI if connected - Use parallel output otherwise configured for VGA 640x480 The following strings can be set for the panel variable: HDMI vga-rgb wvga-rgb
2015-05-05colibri_t20: adjust cfgblock & u-boot env locations in flashMarcel Ziswiler
Swap the order of the Toradex factory configuration block location in respect to the U-Boot environment. This to again be in-line with mainline. Move the Toradex factory configuration block to a 3 MB offset.
2015-05-04ARM: vf610: rename/add bmode for Colibri VFxxStefan Agner
Rename the serial loader boot mode to "serial". Also add an alias for the ESDHC1 controller, which provides the standard MMC connection for the Colibri SO-DIMM default pinout.
2015-05-04toradex: common: create a place for common functionalityStefan Agner
Some functionality is repetitve accross the boards. This creates a common place for U-Boot functions which need to be implemented similarly for all Toradex modules.
2015-05-04colibri_vf: Enable board specific USB initialisation for USB pen gpioSanchayan Maity
Add IOMUX for the pad used as USB pen. This needs to be driven low for the Iris and Viola boards where it is pulled up high by default. This is required for the USB host functionality to work on these boards. Use the board specific weak initialisation function, to drive the pin low which would be called on "usb start". Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> [use switch statement to make port selection more obvious] Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2015-05-01Colibri iMX6: initial commitMax Krummenacher
use make colibri_imx6_defconfig
2015-05-01Apalis iMX6: initial commitMax Krummenacher
Use for the industrial temperature range rated modules: make apalis_imx6_it_defconfig Use for the commercial temperature range rated modules: make apalis_imx6_defconfig
2015-04-28toradex: configblock: fix commentMarcel Ziswiler
Fix comment in write_trdx_cfg_block_to_nand to actually indicate it writing the config block to NAND.
2015-04-28apalis_t30: add missing new lineMarcel Ziswiler
Add missing new line in tegra_pcie_board_init.
2015-04-28colibri_t20: migrateMarcel Ziswiler
Migrate Colibri T20 to U-Boot 2015.04.
2015-04-27colibri_t20: add LCD display supportMarcel Ziswiler
Add LCD display support defaulting to VESA VGA resolution. Different resolutions configurable via device-tree.
2015-04-23colibri_vf: set the devices serial number in the device treeStefan Agner
Use the proposed format to transport the device's serial number to the kernel: http://www.spinics.net/lists/devicetree/msg76756.html
2015-04-23colibri_vf: add additional GPIOs required for display handlingStefan Agner
Add GPIO's typically required for display handling such as GPIO 45 (SO-DIMM 71, BL_ON) or GPIO 22 (SO-DIMM 59, PWM<A> for backlight).
2015-04-22dm: colibri_vf: Add gpio pltform dataBhuvanchandra DV
Add GPIO platform data which will be used when device tree control was not enabled Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-04-22colibri_vf: Add pinmux entries for GPIOsBhuvanchandra DV
Inorder to use the pins as GPIO, apart from setting the alt-function, pinmuxing need to be done, this patch adds pinmux entries of few GPIOs. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-04-22ARM: vf610: add default environment for framebuffer supportStefan Agner
Add environment variables for default framebuffer support using a default VGA mode. Also remove memargs, since we use memory size to reserve the framebuffer which does not get overwritten by the Linux kernel. See related commit: 1d7518ec3a ("video: dcu: fix framebuffer to the end of memory")
2015-04-22video: dcu: fix framebuffer to the end of memoryStefan Agner
Fix the framebuffer location to the very end of the available memory. This allows to remove the area from available memory for the kernel, which in turn allows to display the splash screen through the while Linux kernel boot process. Ideas has been taken from the sunxi display driver, e.g. 20779ec3a5 ("sunxi: video: Dynamically reserve framebuffer memory")