Commit Graph

17 Commits (ed1889db334bd8c53baf894182ea4109a28c320c)

Author SHA1 Message Date
Florian Fainelli d59ba20030 do not call clk_put() on the timer clock
We don't support disabling the clock, but this is actually what it would do.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34394
2012-11-27 18:42:36 +00:00
Florian Fainelli 5d6208f34d do not list specific board compatible strings
The general practice is to use the general SoC compatible string in both the
DTS and the board specific .c file.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34393
2012-11-27 18:42:32 +00:00
Florian Fainelli 94b7be6dd7 remove unused variables from Makefile.boot
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34392
2012-11-27 18:42:28 +00:00
Florian Fainelli d504b6251c more convertions to {read,write}_relaxed I/O accessors
SVN-Revision: 33604
2012-10-03 16:10:47 +00:00
Florian Fainelli 6771d63284 use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

SVN-Revision: 33330
2012-09-08 09:51:05 +00:00
Florian Fainelli a183ced08e MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

SVN-Revision: 33188
2012-08-14 16:19:30 +00:00
Florian Fainelli 93bf00ff36 fix typo on of_node_put()
SVN-Revision: 32653
2012-07-09 14:44:15 +00:00
Florian Fainelli 110fd3525a call of_node_put() on ethernet node
SVN-Revision: 32628
2012-07-05 18:46:55 +00:00
Florian Fainelli a8fab2cb78 fix EPHY clock bit definition after r32489
SVN-Revision: 32627
2012-07-05 18:46:52 +00:00
Florian Fainelli 81e8757da4 provide an early ioremap cookie of the system configuration register
SVN-Revision: 32489
2012-06-23 11:03:50 +00:00
Florian Fainelli 98b2bc9189 group SYSDBG register defines in mcs814x.h
SVN-Revision: 32488
2012-06-23 11:03:45 +00:00
Florian Fainelli a8965f0005 make hardware.h a forward inclusion of mcs814x.h
mach/hardware.h is soon to be removed by upstream kernel

SVN-Revision: 32487
2012-06-23 11:03:40 +00:00
Florian Fainelli 7c984552ed remove platform specific initialization from ethernet driver
Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.

SVN-Revision: 32486
2012-06-23 11:03:35 +00:00
Florian Fainelli 2c47bbc199 regroup interrupt controller register definitions in hardware.h
SVN-Revision: 32485
2012-06-23 11:03:29 +00:00
Florian Fainelli 481c9faf20 remove handle_irq callback in board-mcs8140-dt.c
This should have been removed in r32470.

SVN-Revision: 32481
2012-06-21 12:20:47 +00:00
Florian Fainelli 3b0dba382b do not use MULTI_IRQ_HANDLER it is bogus on our platform
This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.

SVN-Revision: 32470
2012-06-20 21:57:45 +00:00
Florian Fainelli f4afa00862 add Moschip MSC814x support
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

SVN-Revision: 32462
2012-06-19 14:48:56 +00:00