summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-xburst
Commit message (Collapse)AuthorAgeFilesLines
* MIPS: migrate all files to SPDXOleksij Rempel2019-01-037-80/+7
| | | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Reviewed-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: port all mach* to multiimageOleksij Rempel2018-12-172-5/+23
| | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* poweroff: Allow to register poweroff handlersSascha Hauer2017-03-302-3/+11
| | | | | | | | | | Allow to register handlers for poweroff. This allows to have multiple poweroff implementations in a single binary. The implementation is close to the restart handlers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: img-ci20: enable dm9000 ethernet controllerAntony Pavlov2015-05-121-0/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: xburst: Kconfig: add commentAntony Pavlov2014-09-151-1/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: add MIPS Creator CI20 board supportAntony Pavlov2014-09-111-0/+4
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: xburst: debug_ll: rework common code, add JZ4780 supportAntony Pavlov2014-09-114-8/+98
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: xburst: add JZ4780 SoC supportAntony Pavlov2014-09-111-0/+7
| | | | | | | | Old Ingenic SoCs (JZ4755, JZ4740) use MIPS32r1 ISA CPU cores than latest ones (JZ4770, JZ4780) use MIPS32r2. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* watchdog: add minimal jz4740 driverAntony Pavlov2014-08-013-40/+2
| | | | | | | | | | | | Also move reset_cpu() for jz4755 SoC from platform code into the new driver code. At the moment mach-xburst lacks clk support so jz4740 watchdog driver looks like a template. We can improve jz4740 watchdog driver later after adding clk support. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: remove doxygen documentationSascha Hauer2014-06-261-7/+0
| | | | | | | The doxygen documentation is long outdated. Remove it. It will be replaced with sphinx based documentation later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: boards: rename rzx50 -> ritmix-rzx50Antony Pavlov2014-03-261-1/+1
| | | | | | | | 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>
* Set model and hostname at boardlevelSascha Hauer2013-08-161-2/+0
| | | | | | | | | | | | With multiboard support the compiletime generated BOARDINFO string gets more and more meaningless. This removes it from Kconfig and replaces it with a variable that can be set at boardlevel. Also many boards have a standard setting for the hostname in the environment. This patch also moves the standard to C code by calling barebox_set_hostname(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: unify ns16550 debug_ll support codeAntony Pavlov2013-06-041-1/+1
| | | | | | | | | | | This commit moves the C debug_ll code from the MIPS <debug_ll_ns16550.h> header file to the MIPS <asm/debug_ll_ns16550.h> header file, so the C code and the asm code can use the same register address macros. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: rzx50: prepare for new debug_llAntony Pavlov2013-06-041-0/+4
| | | | | | | | | | | | Set DEBUG_LL_UART_DIVISOR to use <asm/debug_ll_ns16550.h>. The JZ4755 uses 24 MHz as the main reference frequency (EXCLK). The UART controller can work on full EXCLK or on EXCLK/2. Just now we use EXCLK/2 legacy clock setup made by U-Boot. So set UART controller base frequency to 12 MHz. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: XBurst: use mach-specific debug_ll setupAntony Pavlov2013-06-023-0/+57
| | | | | | | | | | | | | Ingenic JZ4755 SoC (JZ4750D family) has three UARTs. So we can give to the user choose which one of them to use for low level debug (debug_ll) output. Also this commit adapts the only JZ4755 board (Ritmix RZX50) for using the new debug_ll port selection. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: xburst: use common serial codeAntony Pavlov2013-05-083-0/+69
| | | | | | | | | | | | | | The Ingenic JZ4740, JZ4755 and JZ4770 SoCs use the same IP core for UART interface. This IP core is NS16550-compatible, but it needs small workaround. This commit moves the UART code for Ingenic SoCs from board level to machine level. So the code can be reused for different boards or even different SoCs. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-173-9/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/poweroff'Sascha Hauer2012-07-023-0/+60
|\
| * rzx50: add poweroff supportAntony Pavlov2012-06-303-0/+60
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | MIPS: XBurst: use clocks_calc_mult_shift() for JZ4755's clocksourceAntony Pavlov2012-06-291-2/+3
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | MIPS: XBurst: fix the JZ4755's clocksource input frequency valueAntony Pavlov2012-06-291-1/+1
|/ | | | | | | | | | | The 40 KHz frequency value was used to parry __lshrdi3() error on little-endian MIPS because the __lshrdi3() function is used in clocksource code. The true value of the JZ4755's external clock frequency is 24 MHz. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: XBurst: suitable solution for per-board debug_llAntony Pavlov2012-06-052-33/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the commit 40492a0c1305835c996e15eb1cce2406473ae76d (MIPS: add common header file for DEBUG_LL via NS16550) introduced common DEBUG_LL via NS16550 for MIPS (see file arch/mips/include/debug_ll_ns16550.h). In the commit 1cbe2b2c00de0efca503a983d0d008833f186f33 (MIPS: XBurst: add Ritmix RZX-50 board support) the file debug_ll_ns16550.h used in the file arch/mips/mach-xburst/include/mach/debug_ll.h. Usage looks like this: ------------------------------------------------ +#ifdef CONFIG_BOARD_RZX50 +#include <mach/debug_ll_jz4755.h> +#endif + +#include <debug_ll_ns16550.h> ------------------------------------------------ So after adding another board (e.g. A320) we will have something like this: ------------------------------------------------ #ifdef CONFIG_BOARD_RZX50 #include <mach/debug_ll_jz4755.h> #endif +#ifdef CONFIG_BOARD_A320 +#include <mach/debug_ll_jz4740.h> +#endif #include <debug_ll_ns16550.h> ------------------------------------------------ This approach has disadvantage: * the files mach/debug_ll_jz4740.h and mach/debug_ll_jz4755.h (they go to arch/mips/arch-xburst) are __BOARD-SPECIFIC__ (not SOC- or mach-specific!); The file mach-xburst/include/mach/debug_ll.h is outside board directory, but it contains some board related information. This commit introduce a more suitable solution. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: XBurst: add Ritmix RZX-50 board supportAntony Pavlov2012-05-173-1/+18
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: XBurst: add JZ4755 CPU supportAntony Pavlov2012-05-176-0/+220
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: add XBurst processor family supportAntony Pavlov2012-05-173-0/+41
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>