Commit Graph

91 Commits (0ec59e6235094d9b198a108243fad0e12ea94599)

Author SHA1 Message Date
Gabor Juhos 1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
12 years ago
Luka Perkov 00243027dd cns3xxx: merge gpio patches
SVN-Revision: 34174
12 years ago
Luka Perkov fb9b572f0a cns3xxx: fix build failure after r34168
SVN-Revision: 34173
12 years ago
Imre Kaloz 5cddb170cd reorder, rename and refresh patches
SVN-Revision: 34169
12 years ago
Imre Kaloz 77504ac06f split spi patch, follow mainline file naming
SVN-Revision: 34168
12 years ago
Imre Kaloz 9a780e0328 split the i2c patch, merge the retry fixup
SVN-Revision: 34167
12 years ago
Imre Kaloz dcfd6cd5a4 generate single images for tftp flashing as well as sysupgrade images for boards with old u-boot
SVN-Revision: 34163
12 years ago
Luka Perkov 16275bdd15 cns3xxx: convert dwc_otg patches to files
SVN-Revision: 34162
12 years ago
Luka Perkov e38adfc912 cns3xxx: convert ethernet patches to files
SVN-Revision: 34161
12 years ago
Imre Kaloz f3f3f52259 cns3xxx: clean up pcie patches
Combine two pcie patches (2nd patch undid the 1st patch) together
and refresh the other affected patches

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34132
12 years ago
Luka Perkov 965c190444 cns3xxx: exit from laguna late_initcall if not running on laguna board
SVN-Revision: 34120
12 years ago
Imre Kaloz 0da0dc0f2b cns3xxx: add PPS support for laguna
Many Laguna products have on-board GPS with Pulse-per-second (PPS)
support.  This patch adds kernel support (statically) and adds
the platform data in laguna board support.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34115
12 years ago
Imre Kaloz efcdc21824 fixup symbol selection
SMP already selects HAVE_ARM_TWD and HAVE_ARM_SCU,
ARCH_CNS3XXX already selects MIGHT_HAVE_PCI

SVN-Revision: 34114
12 years ago
Luka Perkov 4d66b749de cns3xxx: fix coding style in board script
SVN-Revision: 34113
12 years ago
Luka Perkov 865933a0ec cns3xxx: refresh kernel config file
SVN-Revision: 34102
12 years ago
Luka Perkov 9a5c26d4ef cns3xxx: use files directory
SVN-Revision: 34101
12 years ago
Imre Kaloz e141cbb0f9 refresh patches
SVN-Revision: 34095
12 years ago
Imre Kaloz 1a9dfd566e add default packages
SVN-Revision: 34094
12 years ago
Imre Kaloz 3c12bad276 move PCIe init to subsys init call
ARM Linux PCI/PCIe hardware intialization needs to occur before device_init
as it does not support hotplug.  I have modeled the cns3xxx PCIe init after
other ARM platforms.  Registering it early resolves resource issues occuring
during bus enumeration that occur when a device driver is linked static in
the kernel.

Instead of passing in a bitmask to enable the 2 available ports, link detect
is used to enable ports that have a valid link.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34044
12 years ago
Felix Fietkau 879b7a7a9b cns3xxx: update FIQ header file and disable RWFO
Update header file appropriately and disable read for ownership

Note that the FIQ support implements a workaround that provides a performance
boost over the traditional upstream workaround which ensures cache lines
are exclusive on driver CPU using 'read for ownership'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/config-3.3                                |    2 +-
 target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch |    9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

SVN-Revision: 33827
12 years ago
John Crispin 6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
12 years ago
Imre Kaloz 88a740ff80 fix (really this time) laguna UART config
Properly terminate the correct platform resource for laguna UARTs

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33721
12 years ago
Imre Kaloz 9b22ca8042 The Gateworks System Controller (GSC) is an i2c device that provides system level monitoring and control of Gateworks boards. It is used on several product families spanning several different target architectures (ixp4xx, cns3xxx, davinci).
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33720
12 years ago
Imre Kaloz 31c2f1a4d2 fix non terminated uart resources for laguna
Resolves crashes when probing multiple serial devices

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33719
12 years ago
Felix Fietkau 85871f283a cns3xxx: Fix GPIO configuration for Gateworks Laguna boards
The Laguna boards do not use all the same pins for SDHCI as the Cavium
reference board.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33684
12 years ago
Felix Fietkau 6bb7409e5a cns3xxx: Fix laguna arm11mpcore watchdog
The ARM11MPCore Timer/Watchdog registers start at offset 0x600 which is where
all mpcore-wdt boards point the driver base too.  I believe this is wrong
because 0x600 is aliased to the timer/watchdog of the 'current CPU' where
0x700 is CPU0's timer/watchdog, and 0x800 is CPU1's timer/watchdog.  Thus
if your timer/watchdog application is switching between CPU's it can end up
writing to the wrong CPU's registers which results in random board resets
from watchdog timeouts etc.

This patch forces the timer/watchdog driver to use CPU0's registers always.
Its my opinion that other mpcore-wdt boards should be doing the same thing.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33683
12 years ago
Felix Fietkau e5bb1a1bc7 cns3xxx: add sysupgrade support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/base-files/lib/cns3xxx.sh          |   22 ++
 target/linux/cns3xxx/base-files/lib/upgrade/platform.sh |  122 ++++++++++++++++
 target/linux/cns3xxx/image/Makefile                     |   19 +-
 3 files changed, 159 insertions(+), 4 deletions(-)

SVN-Revision: 33650
12 years ago
Felix Fietkau 68449e2e01 cns3xxx: add GW2383 board support
Add GPIO/LED support for Gateworks GW2383

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/300-laguna_support.patch |   18 +++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

SVN-Revision: 33649
12 years ago
Felix Fietkau 6b778f57aa cns3xxx: fix gpio access and add gpio IRQ support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch |  536 ++++++++++++++++++++
 1 file changed, 536 insertions(+)

SVN-Revision: 33648
12 years ago
Felix Fietkau a2e1dce829 cns3xxx: add missing kernel config symbol
SVN-Revision: 33603
12 years ago
Imre Kaloz c53936bb4b Add FIQ support for cns3xxx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33581
12 years ago
Imre Kaloz 2f2115c436 Update board support for Gateworks Laguna Product family
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33580
12 years ago
Imre Kaloz 70729bb4a5 USB iso mode fixes
Resolves an issue where isochronouse USB would cause the driver to hang as
well as scheduling issues.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33579
12 years ago
Imre Kaloz 68f8db6731 fix ncores for single-core systems.
For cns3xxx SCU_CONFIGURATION always shows multipe cores but SCU_CPU_STATUS
shows which ones are active.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33566
12 years ago
Imre Kaloz 9ace6ace8f add i2c retries
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33565
12 years ago
Imre Kaloz 7dd6b04c28 fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33564
12 years ago
Felix Fietkau d6ca46cd25 cns3xxx: fix ethernet driver tx completion and queue stop/start
SVN-Revision: 33504
12 years ago
Felix Fietkau fb71465a4e cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
SVN-Revision: 33503
12 years ago
Imre Kaloz ed3597d927 move gpio stuff into the right file
SVN-Revision: 33502
12 years ago
Felix Fietkau 15159604d9 cns3xxx: add a small optimization for rx offload
SVN-Revision: 33500
12 years ago
Felix Fietkau a1c016fe16 cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
SVN-Revision: 33499
12 years ago
Felix Fietkau 029aaf4514 cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
SVN-Revision: 33498
12 years ago
Felix Fietkau 1067ccf9f7 cns3xxx: remove the broken flag
SVN-Revision: 33493
12 years ago
Felix Fietkau 2db9e9f624 cns3xxx: fix kernel config
SVN-Revision: 33492
12 years ago
Felix Fietkau 34d30654ae cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
SVN-Revision: 33491
12 years ago
Felix Fietkau eff9405752 cns3xxx: fix ethernet tx checksum offload
SVN-Revision: 33490
12 years ago
Felix Fietkau dd1fb8289f cns3xxx: merge ethernet driver changes from gateworks
SVN-Revision: 33489
12 years ago
Felix Fietkau 190b4344a3 cns3xxx: build images for the old boot loader and the new one (default to the new one)
SVN-Revision: 33488
12 years ago
Felix Fietkau 59b1d018b1 cns3xxx: fix the ethernet driver makefile
SVN-Revision: 33487
12 years ago
Felix Fietkau c9139c150c cns3xxx: reorganize patches, fix pcie io space init order
SVN-Revision: 33486
12 years ago