Commit Graph

82 Commits (9dacfa8782447e4e31ad633290c94418592d1e41)

Author SHA1 Message Date
Florian Fainelli 4bbd24f57f [brcm63xx] add the infrastructure to use a MPI/GPIO connected VoIP DSP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 21:00:41 +00:00
Florian Fainelli 7bba3b72d7 [brcm63xx] fixes for the bcm6338 clocks, thanks Maxime
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 13:49:20 +00:00
Florian Fainelli 1850996a1b [brcm63xx] a couple of more fixes to get 6345 booting up to the console handover
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-30 13:45:49 +00:00
Florian Fainelli 73821328e6 [brcm63xx] shared DMA zone is twice smaller on 6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 20:06:44 +00:00
Florian Fainelli 61bd4183a5 [brcm63xx] off-by-one gpio numbers for bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 04:23:11 +00:00
Florian Fainelli 93039fd66e [brcm63xx] bcm6338 can support PCI since it has MPI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 21:43:55 +00:00
Florian Fainelli c6eb086771 [brcm63xx] more fixes for bcm6338, no need not to prevent reads from MPI registers now that we have it defined correctly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 20:32:43 +00:00
Florian Fainelli d0c0b1b484 [brcm63xx] fix the flash address comment and register the flash device again with its proper physical address on 6338/6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:58:00 +00:00
Florian Fainelli 53035bf4e2 [brcm63xx] fix a stupid typo preventing the board from being detected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:30:45 +00:00
Florian Fainelli d1867359ac [brcm63xx] prevent bcm6338 and bcm6345 from crashing very early
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:23:58 +00:00
Florian Fainelli 79422ea720 [brcm63xx] only register fallback sprom and enable PCI if we actually have support for PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 16:17:18 +00:00
Florian Fainelli b89b571a5a [brcm63xx] more missing register definitions for bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 15:51:27 +00:00
Florian Fainelli e430ad8740 [brcm63xx] more bcm6338 and bcm6345 related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 12:34:35 +00:00
Florian Fainelli 5857eee187 [brcm63xx] define bcm6338 SDRAM base register and make sure that the right CPU id will be used to detect a bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 11:08:12 +00:00
Florian Fainelli 9fb3d8efcb [brcm63xx] add board definitions for the bcm6338w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 10:27:13 +00:00
Florian Fainelli e951c62e47 [brcm63xx] add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18 15:00:32 +00:00
Florian Fainelli 2670ed1229 The attached patch adds building of firmware
images for more routers based on the brcm63xx chipset.

Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 08:24:13 +00:00
Florian Fainelli 9e9714f004 [brcm63xx] cleanup the watchdog driver a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 21:35:51 +00:00
Florian Fainelli 1726b10d08 [brcm63xx] fix the watchdog driver and enable it by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 21:28:15 +00:00
Florian Fainelli 3339e02ed8 [brcm63xx] rework imagetag firmware generator and MTD partition parser to accomodate with all known
imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 08:04:52 +00:00
Florian Fainelli f012e61a4f [brcm63xx] remove this line which got accidentaly succesfully applied, but should not have (#5285)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-08 13:42:11 +00:00
Florian Fainelli da93c74c84 [brcm63xx] fix ethernet driver removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:04:53 +00:00
Florian Fainelli dbbeab5dbd [brcm63xx] fix pcmcia device removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:04:11 +00:00
Florian Fainelli 93ac56d798 [brcm63xx] add missing null entry in pcmcia driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:03:41 +00:00
Florian Fainelli e41524a298 [brcm63xx] request gpio pins and set direction correctly for pcmcia
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:03:03 +00:00
Florian Fainelli 6f2968d917 [brcm63xx] be SMP safe even with gpiolib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:02:23 +00:00
Florian Fainelli 5d27e16f2e [brcm63xx] cache gpio values in gpio_set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:01:55 +00:00
Florian Fainelli b904d67782 [brcm63xx] use the correct number of GPIOs for bcm6358
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:01:03 +00:00
Florian Fainelli b86d85140f [brcm63xx] register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 09:59:28 +00:00
Florian Fainelli 11d0b7ea0a [brcm63xx] merger mtu/802.1q related fixes:
bcm63xx integrated ethernet mac supports receiving and sending frames
bigger than 1500 bytes, this patch adds support for changing MTU.

This patch also fixes the reception of 802.1q frames for default MTU
which were reported as oversized.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 08:55:18 +00:00
Florian Fainelli 693f304923 [brcm63xx] backport an upstream fix: We're not disabling IRQ, so we must call the irq safe flavour of netif_rx_complete, should fix some crashes when running the system for a long time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:27:51 +00:00
Florian Fainelli d30d9400c0 [brcm63xx] add support for sysupgrade (#5117)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 16:53:57 +00:00
Florian Fainelli ca100df2da [brmc63xx] register gpiodev
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 14:09:01 +00:00
Florian Fainelli b1b869ec99 [brcm63xx] fix redundant driver name printing in probe function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:32:54 +00:00
Florian Fainelli fb6c465ea7 [brcm63xx] make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:18:48 +00:00
Florian Fainelli c1c91b95fc [brcm63xx] some more fixes to the SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-08 08:52:57 +00:00
Florian Fainelli a35170087e [brcm63xx] enable all blocks on 6338 and uart clock on 6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-21 10:50:44 +00:00
Florian Fainelli 718972f840 [brcm63xx] add support for bcm6345 SoC, needs testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-20 15:08:02 +00:00
Florian Fainelli 1675d3bed9 [brcm63xx] fix SPI register switch and prepare for UDC, thanks to Henk Vergonet (#4783)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 11:28:54 +00:00
Florian Fainelli 4750ec9396 [brcm63xx] add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 08:54:04 +00:00
Florian Fainelli 4b5f21833c [brcm63xx] do not duplicate fifo_size, since RX and TX fifo sizes are the same, request_mem_region on the registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-11 10:32:44 +00:00
Florian Fainelli 6ee24eaca7 [brcm63xx] make SPI work in full-duplex mode by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-10 15:28:29 +00:00
Florian Fainelli cfd563d0c0 [brcm63xx] add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from the consumer releases, needs testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 15:27:46 +00:00
Florian Fainelli 59da47705d [brcm63xx] fix SPI accessors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 14:20:15 +00:00
Florian Fainelli 4d87772497 [brcm63xx] fix typo for the bcm6338 spi IRQ, change platform driver name and make the SPI irq be fetchable by platform driver initialization code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:43:13 +00:00
Florian Fainelli 2c319b5f1f [brcm63xx] compile and register SPI controller device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:18:26 +00:00
Florian Fainelli 9fb383ef35 [brcm63xx] make bcm6358 consistend with the other boards naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:17:19 +00:00
Florian Fainelli fc26c7a305 [brcm63xx] fix some SPI register definitions and platform-device registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:13:52 +00:00
Florian Fainelli 8aa93e0c26 [brcm63xx] prepare for SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-06 01:15:00 +00:00
Florian Fainelli fa5dbdf2dc [brcm63xx] fix SPI register definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-06 01:13:10 +00:00