summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
...
| * | arm: imx53: qsb: set hostname from board fileLucas Stach2014-03-232-1/+2
| | | | | | | | | | | | | | | | | | | | | Otherwise it won't get set in a multiimage build. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX27: dts: Separate barebox-specific DT changesAlexander Shiyan2014-03-176-209/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To ease DT import from Linux, which is still maintained in-tree, we separate barebox-specific changes by including the original dts in a separate DT file. This allows to overlay modifications and keep clean DT history. Additionally, this patch updates i.MX27 DTS tree. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mx53-qsb: update defconfigEric Bénard2014-03-101-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enable more commands : (menu, password, loadb, let, mm, sha*, bootz, of*, memtest) - enable led and led triggers - enable sata support - enable USB chipidea support - enable USB network drivers - enable NFS and DNS support - enable EXT4 support Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mx53-qsrb: enable sataEric Bénard2014-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tested on i.MX53 START-R : barebox@Freescale i.MX53 Quick Start-R Board:/ ata0.probe=1 imx-sata 10000000.sata: port 0: SATA link ok imx-sata 10000000.sata: port 0: Spinning up device... imx-sata 10000000.sata: port 0: ok. ata0: registered /dev/ata0 Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mx53-qsrb: enable USB hostEric Bénard2014-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - declare the rigth mux for the GPIO used to enable the USB's 5V - enable USB host controller tested on i.MX53 START-R : barebox@Freescale i.MX53 Quick Start-R Board:/ usb -f USB: scanning bus for devices... Bus 001 Device 001: ID 0000:0000 EHCI Host Controller Using index 0 for the new disk Bus 002 Device 003: ID 0951:1654 DT R500 Bus 002 Device 002: ID 0000:0000 EHCI Host Controller 3 USB Device(s) found Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX53: Rename sata clocks according to Linux dtsSascha Hauer2014-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | I accidently merged the initial data device node which contained clocks in the sata node which were not compatible to the ones in the kernel. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/davinci'Sascha Hauer2014-04-0420-0/+577
|\ \ \
| * | | ARM: davinci: add virt2real_defconfigAntony Pavlov2014-03-191-0/+49
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: virt2real: add documentationAntony Pavlov2014-03-192-0/+43
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: davinci: add virt2real board supportAntony Pavlov2014-03-196-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The virt2real microcontroller, or virturilka, is a miniature board for creation of WiFi or internet controllable smart devices. See http://virt2real.com for details. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: davinci: add documentationAntony Pavlov2014-03-182-0/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: Add TI TMS320DM365 devicetree fileAntony Pavlov2014-03-181-0/+28
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | gpio: add driver for TI DaVinci SoCsAntony Pavlov2014-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver is dts-only version of driver from Linux v3.14-rc5. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: davinci: add clocksourceAntony Pavlov2014-03-182-0/+116
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: davinci: add DEBUG_LL supportAntony Pavlov2014-03-182-0/+43
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: initial support for TI DaVinci SoCsAntony Pavlov2014-03-188-0/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds minimal support for the DaVinci DM365 SoCs from Texas Instruments. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | import _AC and UL macros from linux kernelAntony Pavlov2014-03-181-0/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | This macros are used in exported from linux TI DaVinci code. Also this macros are used in MIPS cache support code. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mips'Sascha Hauer2014-04-0430-73/+441
|\ \ \
| * | | MIPS: qemu-malta: add CBUS UART supportAntony Pavlov2014-04-032-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds CBUS UART dts support; also it adds the necessary macros for DEBUG_LL. qemu-malta supports three serial interfaces: * two ports are provided by the FDC37M817 Super I/O; this chip is connected via LPC bus to Intel 82371EB (PIIX4E) South Bridge; * the third serial port is provided by the discrete TI 16C550C (CBUS UART); this chip is connected via CBUS directly to the board's GT64120 North Bridge. See Malta User's Manual (MD00048) for details. CBUS UART Instructions for use: 1. Enable CONFIG_CONSOLE_ACTIVATE_ALL in .config (or disable uart0 in dts) and compile barebox; 2. run qemu: qemu-system-mips -nographic -nodefaults \ -monitor null -M malta -m 256 \ -serial null -serial null -serial stdio \ -bios barebox-flash-image Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: rzx50: use short form for serial1 referenceAntony Pavlov2014-03-311-5/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add tplink-mr3020_defconfigAntony Pavlov2014-03-281-0/+29
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: tplink-mr3020: add documentationAntony Pavlov2014-03-281-0/+64
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: ath79: add tplink-mr3020 board supportAntony Pavlov2014-03-285-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This board support code can be used for TP-LINK WR703 too. TP-LINK WR703 is very similar to TP-LINK MR3020, there are some non-essential differences: * WR703 is smaller and cheaper; * WR703 has only one led, but MR3020 has five leds; * MR3020 uses mini-USB connector, WR703 uses micro-USB connector. See https://forum.openwrt.org/viewtopic.php?id=45159 for details. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: ath79: ar9331: add devicetree filesAntony Pavlov2014-03-282-0/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: ath79: add DEBUG_LL support for Atheros AR933xAntony Pavlov2014-03-282-0/+57
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add Atheros ar933x family supportDu Huanpeng2014-03-287-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the mach-ath79 name for compatibility with linux kernel. Signed-off-by: Du Huanpeng <u74147@gmail.com> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: lib: add BAREBOX_CLK_TABLE to linker scriptAntony Pavlov2014-03-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is based on commit fa1a406f7245c5482a17014d5b97e8948352e5a5 Author: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Date: Sat Nov 9 14:24:18 2013 +0100 ARM: lib: add BAREBOX_CLK_TABLE to linker script This adds an .oftables section right before .dtb section with BAREBOX_CLK_TABLE to ARM linker script. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: boards: rename rzx50 -> ritmix-rzx50Antony Pavlov2014-03-268-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All MIPS board use <vendor>-<model> name template save Ritmix RZX-50. This commit fixes this inconsistency. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: mach-xburst: drop serial.cAntony Pavlov2014-03-262-61/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use dts for serial port initialization, so we have no need in mach-xburst/serial.c anymore. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: rzx50: drop console initialization in board codeAntony Pavlov2014-03-262-8/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: dts: rzx50: move jz4755 description to the separate fileAntony Pavlov2014-03-262-1/+42
| |/ / | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx-ipu-v3'Sascha Hauer2014-04-0428-33/+794
|\ \ \
| * | | ARM: update imx_v7_defconfigSascha Hauer2014-03-291-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Enable loadenv command - Enable mtd/NAND/UBI/UBIFS support - Enable IPUv3 support - Enable splash support Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM i.MX6q: Mark VPU and IPU AXI transfers as cacheable, increase IPU prioritySascha Hauer2014-03-291-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed so that the IPU framebuffer scanout cannot be starved by VPU or GPU activity. Some boards like the SabreLite and SabreSD seem to set this in the DCD already, but the documented register reset values do not contain the necessary settings. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | video: Add display timing from devicetree helperSascha Hauer2014-03-299-14/+0
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: i.MX6: Add video clocksSascha Hauer2014-03-283-4/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the IPU, LVDS and HDMI clocks. As these are many, depend on the IPU driver being compiled in. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: i.MX: introduce clk parent rate changesSascha Hauer2014-03-282-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | Let dividers and gates change the parent rates. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | clk: clk-divider: pass flags to initializersSascha Hauer2014-03-282-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | clk: clk-fixed-factor: pass flags to initializersSascha Hauer2014-03-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | clk: clk-gate: pass flags to initializersSascha Hauer2014-03-282-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | clk: clk-mux: pass clk flags from initializersSascha Hauer2014-03-282-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | struct clk has a flags field, let the clk-mux initializers set this field. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: i.MX53: Fix IPU register sizeSascha Hauer2014-03-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: i.MX6: Add initial variscite VAR-SOM-MX6 CPU supportSascha Hauer2014-03-289-1/+556
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VAR-SOM-MX6 is a System on module from Variscite, see: http://www.variscite.com/products/system-on-module-som/cortex-a9/var-som-mx6-cpu-freescale-imx6 This adds support for this module on the VAR-MX6CustomBoard baseboard. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: i.MX6: Add HDMI nodesSascha Hauer2014-03-282-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: i.MX6: Add IPU aliasesSascha Hauer2014-03-282-0/+2
| |/ / | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: i.MX53 QSB: Remove wrong returnSascha Hauer2014-04-041-1/+0
| | | | | | | | | | | | | | | | | | | | | For a version 1.0 board the rest of loco_late_init should be executed to completely configure the board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: i.MX6 Sabrelite: Fix ethernetSascha Hauer2014-04-031-16/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The board code does a phy reset. This implicitly requests the phy reset gpio. This gpio is also registered in the devicetree as phy reset gpio, so the fec driver probe can't request the gpio and bails out with -EBUSY. Fix this by freeing the phy reset gpio in the board code. While at it use gpio_request_array for the gpios. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: Panda: Fix board selection in panda defconfig filesSascha Hauer2014-03-312-4/+2
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | MIPS: mach-xburst: fix DEBUG_LL=n build errorAntony Pavlov2014-03-281-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is my error log: CC common/startup.o In file included from arch/mips/mach-xburst/include/mach/debug_ll.h:25, from include/debug_ll.h:31, from common/startup.c:36: arch/mips/include/asm/debug_ll_ns16550.h: In function 'PUTC_LL': arch/mips/include/asm/debug_ll_ns16550.h:62: error: 'DEBUG_LL_UART_ADDR' undeclared (first use in this function) arch/mips/include/asm/debug_ll_ns16550.h:62: error: (Each undeclared identifier is reported only once arch/mips/include/asm/debug_ll_ns16550.h:62: error: for each function it appears in.) make[1]: *** [common/startup.o] Error 1 Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: MMU: Fix memory reaching to the end of address spaceSascha Hauer2014-03-181-1/+1
| | | | | | | | | | | | | | | | | | For memory reaching the end of the address space phys + bank->size overflows to 0. Fix this by right shifting phys and bank->size before adding them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sean Cross <xobs@kosagi.com>