Commit Graph

92 Commits

Author SHA1 Message Date
matt
d00d45c373 Initialize cpu_cc_freq with our CPU speed. 2014-04-05 22:41:50 +00:00
christos
8443916807 wrap a few lines 2014-03-30 01:19:20 +00:00
christos
e58a356cba make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
2014-03-29 19:28:24 +00:00
christos
d02e70fa98 kill sprintf 2014-03-26 08:51:59 +00:00
matt
1e9084ce0e defflag MVSOC_CONSOLE_EARLY 2014-03-18 07:25:57 +00:00
matt
7722120b11 Add MEMSIZE to opt_mvsoc.h 2014-03-18 07:05:00 +00:00
matt
e0b7419d3b Only include "opt_mvsoc.h" if _INTR_PRIVATE is defined. 2014-03-18 06:46:14 +00:00
matt
4fb25fe172 Move defparam opt_mvsoc.h to more appropriate place. 2014-03-18 05:50:06 +00:00
kiyohara
cf549ef271 Support Armada 370. 2014-03-15 11:48:37 +00:00
kiyohara
16adf51cb7 Add armada370_getclks().
Remove some white spaces.
2014-03-15 10:54:40 +00:00
kiyohara
fbd723df7b Support Armada 370. tested on MiraBox. 2014-03-15 10:44:10 +00:00
martin
bd5df6a9bf Mark a diagnostic only variable 2014-03-11 07:52:37 +00:00
martin
89b2222c89 Initialize mvsoctmr_freq earlier (in mvsoctmr_attach) to avoid division
by zero in calculation of the watchdog parameters.
2014-02-26 19:41:46 +00:00
matt
5803417a10 Don't manipulate the pte to get uncached memory, use PMAP_NOCACHE instead.
Convert footbring to kenter_pa/kremove
2014-02-22 20:33:00 +00:00
martin
49de48ba03 Explicitly include armreg.h (for the interrupt enable bit) 2014-02-22 16:14:38 +00:00
kiyohara
66c5f06004 Remove TMR_FLAGS_ARMADAXP and Add flags NOBRIDGE, 25MHZ, SYSCLK.
- NOBRIDGE does not go via a bridge.
  - 25MHZ is always counted with the cycle of 25 MHz.
  - SYSCLK is counted with the cycle of sysClk.  This is used in a few days
    for Armada 370.
And please use not mvTclk but variable mvsoctmr_freq for calculation of a clock.
(e.g. in delay())
2014-02-17 05:25:32 +00:00
kiyohara
39db1c94a5 Add comment 'Armada XP only' to 25MHz bit. Also it is documented to errata? 2014-02-17 05:11:25 +00:00
kiyohara
fc73934003 Add some MVSOC_MLMB_ definitions for supporting DDR3. 2014-02-17 05:05:46 +00:00
kiyohara
51f2e14524 Support MARVELL_TAG_DDR3_CS[0-3]. 2014-02-17 05:00:38 +00:00
martin
1de1b8066e Mark a diagnostic-only variable 2014-01-28 13:18:42 +00:00
martin
1523867d41 Remove an unused variable 2014-01-28 13:17:19 +00:00
kiyohara
4200b0bab8 Support to check the clock gating for Armada XP in armadaxp.c.
Also move the checking for clock gate of Kirkwood into kirkwood.c.
2013-12-23 04:12:09 +00:00
kiyohara
c17671e989 Move Misc Registers from mvsocreg.h to armadaxpreg.h. These registers only
Armada XP.  The misc_base initializes in initarm() instead of mvsoc_bootstrap().
2013-12-23 03:19:43 +00:00
kiyohara
bde63c5a67 Fixup model value for Kirkwood 88F6192.
Thanks for lwazidub at gmail com.
Add some KIRKWOOD_MISC_* Registers.
s/AUDIOSDIO/AUDIO/.
2013-12-23 02:52:47 +00:00
kiyohara
65b3a9e3e1 Add defines for MISC registers. 2013-11-20 12:36:16 +00:00
kiyohara
933c9e9b08 Support __HAVE_PIC_SET_PRIORITY for Armada XP. 2013-11-20 12:16:47 +00:00
kiyohara
070d7392cc Add timer 2 and 3 for Discovery Innovation. 2013-10-14 04:20:44 +00:00
kiyohara
3e4b99ebf2 Remove some #ifdef ARMADAXP. We can enable simultaneously both ARMADAXP and
other SoC options.
2013-10-14 04:17:59 +00:00
kiyohara
7f6c6542c2 Move armadaxpreg.h into arm/marvell.
And add some defines and reorder.
2013-09-30 13:33:05 +00:00
kiyohara
1ec637ab56 Reorder include opt_mvsoc.h. 2013-09-30 13:22:22 +00:00
kiyohara
eb864f3d76 Change some defines. 2013-09-30 13:21:10 +00:00
kiyohara
7fc0e74eb1 Remove #ifdef ARMADAXP. It is OK !ARMADAXP.
Add some ARMADAXP devices to peripheral list.
And sort and reorder list.
2013-09-30 13:19:28 +00:00
kiyohara
182bd8b4c7 Remove #ifdef ARMADAXP. It is OK !ARMADAXP. 2013-09-30 13:15:46 +00:00
kiyohara
c7a9774212 Remove #ifdef ARMADAXP. It is OK !ARMADAXP.
Change argument for armadaxp functions.
Add some MV78xx0 definitions.
Add mv78xx0 functions.
2013-09-30 13:12:56 +00:00
kiyohara
21afa839e6 Add mv78xx0 support. However not test long time. 2013-09-30 13:07:30 +00:00
kiyohara
ccf5ae8818 Add ARMADAXP into opt_mvsoc.h.
And add mv78xx0.c.  However not test long time.
2013-09-30 13:06:03 +00:00
kiyohara
3d7b8f42cf Change argument for some functions. 2013-09-30 13:03:25 +00:00
kiyohara
19eccf3fb5 Change address/size of CESA Registers. 2013-09-28 05:46:51 +00:00
kiyohara
8bb6eda9b2 Fix build failed with ofppc.
Move 'attach mvspi at mvsoc' to arch/arm/marvell/files.marvell.
2013-08-29 09:46:04 +00:00
rkujawa
bf8e0d4c5e Add support for SDIO on Armada XP. 2013-06-03 14:50:59 +00:00
rkujawa
c8173e69c6 Add CVS IDs where appropriate. 2013-05-29 23:50:34 +00:00
rkujawa
07ee67d028 Add support for Armada XP PIC.
Obtained from Marvell, Semihalf.
2013-05-29 22:35:34 +00:00
rkujawa
a9160f6005 Add support for mvsoc-based Armada XP peripherals.
Obtained from Marvell, Semihalf.
2013-05-29 20:47:14 +00:00
rkujawa
f6e8c1845d Add support for timers on Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:45:31 +00:00
rkujawa
0713245bb7 Handle situations where we can have more pexes, like Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:38:06 +00:00
msaitoh
96ffda2dcc Fix a uvm_fault panic that memory is not allocated for the last few GPIO bits. 2012-11-21 08:03:18 +00:00
msaitoh
a2c28d44be Add CLKGATING_BIT for some devices. This change prevent some boards
that a device's clock is stopped from hangup.
2012-10-19 06:14:44 +00:00
matt
4710b77fb6 Add bounce buffer support for ARM bus_dma(9). Add macros to help initialize
bus_dma_tag structures.
2012-09-18 05:47:26 +00:00
msaitoh
584ab5f5fd Fix a bug that the irq_masks of GPIO are incorrectly set on Marvell SoCs. 2012-09-10 08:50:37 +00:00
matt
a8140c3a49 Fix pci_conf_hook/interrupt for ARM. 2012-09-07 04:25:36 +00:00