Commit graph

67 commits

Author SHA1 Message Date
Jonas Gorski
f2bb7754f5 bcm63xx: Enable endian check support for ath9k pci fixup.
Some ath9k caldatas need to be "endian checked".
This patch allows selecting wether to enable endian check or not.
Endian check is disabled by default.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34105
2012-11-07 09:01:03 +00:00
Jonas Gorski
a50d121d8e linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 34103
2012-11-06 15:21:46 +00:00
Florian Fainelli
dea2da55df fix Ethernet DMA for 636x and 6328 after r33916
SVN-Revision: 33918
2012-10-25 11:54:41 +00:00
Florian Fainelli
917670922b add support for the Dynalink RTA770BW board
This board id is used by the Siemens Gigaset SE515 router.

SVN-Revision: 33917
2012-10-24 21:25:22 +00:00
Florian Fainelli
bdfcbb8bee make BCM6345 Ethernet DMA changes runtime checks
The semantics of the DMA engine are identical, we just have a couple of
special case handling.

SVN-Revision: 33916
2012-10-24 21:25:10 +00:00
Jonas Gorski
0cc4bed41c add support for Comtrend AR5381u.
Router: Comtrend AR5381u.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33895
2012-10-23 10:57:47 +00:00
Jonas Gorski
d73871fb18 add support for Comtrend AR5387un.
Router: Comtrend AR5387un.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33894
2012-10-23 10:57:44 +00:00
Jonas Gorski
e93725a743 add support for HomeStation ADB P.DG A4001N.
Router: HomeStation ADB P.DG A4001N.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33893
2012-10-23 10:57:39 +00:00
Florian Fainelli
61686a1514 add back support for BCM6345 Ethernet DMA engine
SVN-Revision: 33889
2012-10-22 12:57:22 +00:00
Florian Fainelli
eeed82c04e fix clocks bits for BCM6345
SVN-Revision: 33888
2012-10-22 12:57:14 +00:00
Jonas Gorski
e6171dfb2c Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 33886
2012-10-21 14:35:06 +00:00
Jonas Gorski
fbe0af3237 bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

SVN-Revision: 33670
2012-10-09 08:08:49 +00:00
Jonas Gorski
7708138183 bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Fixes booting the device with button hotplug enabled (#10785).

SVN-Revision: 33340
2012-09-09 11:54:56 +00:00
Florian Fainelli
f164b71189 leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33158
2012-08-13 09:55:10 +00:00
Florian Fainelli
f0f10014a0 BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33157
2012-08-13 09:55:07 +00:00
Florian Fainelli
9b91c62917 nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33156
2012-08-13 09:55:04 +00:00
Jonas Gorski
4feeda756e bcm63xx: fix USB base registers and IRQs for BCM6328
SVN-Revision: 33005
2012-08-05 23:18:22 +00:00
Jonas Gorski
07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

SVN-Revision: 32924
2012-07-31 14:27:47 +00:00
Jonas Gorski
820c224029 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32923
2012-07-31 14:27:42 +00:00
Jonas Gorski
dcd339ac9d bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32922
2012-07-31 14:27:34 +00:00
Jonas Gorski
94d257a851 bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32921
2012-07-31 14:27:31 +00:00
Jonas Gorski
fa75bd977a bcm63xx: reorder patches
Fix the order and names of patches.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32920
2012-07-31 14:27:25 +00:00
Florian Fainelli
c6813d33f3 add D-link DVA-G3810BN-TL-1 support
Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32893
2012-07-27 15:35:09 +00:00
Florian Fainelli
18206793b2 Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32892
2012-07-27 15:35:05 +00:00
Florian Fainelli
b94d9eb302 remove bcm63xx_pci_register() call in livebox board
SVN-Revision: 32661
2012-07-11 09:15:26 +00:00
Florian Fainelli
f8446c3d4c use physmap-flash on livebox (#8677)
SVN-Revision: 32660
2012-07-11 09:15:22 +00:00
Florian Fainelli
bb1488e5e7 Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32643
2012-07-06 22:10:37 +00:00
Jonas Gorski
fad888a85c bcm63xx: 96348A-122 improvements (Comtrend 5365)
1) Improve WLAN button.
2) Add 96348A-122 image.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32593
2012-07-03 21:42:15 +00:00
Jonas Gorski
0c7e676342 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

SVN-Revision: 32592
2012-07-03 21:42:12 +00:00
Jonas Gorski
988147111c bcm63xx: update patches to latest upstream versions
SVN-Revision: 32591
2012-07-03 21:42:07 +00:00
Florian Fainelli
4cdc4b1f36 refresh patches
SVN-Revision: 32581
2012-07-03 09:45:46 +00:00
Florian Fainelli
52bae2d2bd fix watchdog and rng drivers section mismatch (#11767)
SVN-Revision: 32522
2012-06-29 09:07:54 +00:00
Florian Fainelli
1d7878a38b fix SPI clock frequency selection
SVN-Revision: 32512
2012-06-27 22:14:50 +00:00
Florian Fainelli
b89c81929e fix SPI message control handling for BCM6338/6348
BCM6338 and BCM6338 have their MSG_CONTROL register width of 8-bits instead of
16-bits. We were previously using a 16-bits write which corrupted the first
byte of the TX FIFO. Also the message type was always set to Full-duplex even
in the case of half-duplex messages.

SVN-Revision: 32409
2012-06-17 16:17:29 +00:00
Jonas Gorski
f2271efc4e bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.

SVN-Revision: 32221
2012-06-11 22:24:58 +00:00
Florian Fainelli
6e5242952c fix 553-board_96348w3.patch patch wrt gpio-keys-polled
SVN-Revision: 32096
2012-06-06 20:58:45 +00:00
Florian Fainelli
4c25e42fa8 fix alarm led color for board 96348A-122
SVN-Revision: 32089
2012-06-06 16:07:46 +00:00
Florian Fainelli
2f63f097de add 96348w3 board (#10764)
SVN-Revision: 32088
2012-06-06 15:45:04 +00:00
Florian Fainelli
9d38989d1f update livebox board support (#8677)
Merge most fixes from #8677:

- add basic hardware detection of Livebox Blue 5g revisions
- register leds and gpio buttons
- fix boot address location
- properly parse mac addresses

Plus some more fixes:
- make board_livebox.c more in line with board_bcm963xx.c

SVN-Revision: 32087
2012-06-06 15:44:56 +00:00
Florian Fainelli
c69a2cdfbb fix leds naming for all bcm63xx boards
SVN-Revision: 32086
2012-06-06 15:44:52 +00:00
Florian Fainelli
23fc737b9d backport upstream spi-bcm63xx fixes
* message pump conversion
* not using stopping state
* setting spi driver mode bits

SVN-Revision: 32078
2012-06-06 13:31:33 +00:00
Florian Fainelli
4112094dbb increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code

SVN-Revision: 32076
2012-06-06 13:31:24 +00:00
Florian Fainelli
9a61b249c5 fix board patches so that new boards are withing appropriate ifdef
Some new board definitions were added within the #ifdef CONFIG_CPU_6338
section while some other were added within #ifdef CONFIG_CPU_6345, fix this

SVN-Revision: 32060
2012-06-05 13:40:41 +00:00
Florian Fainelli
36c99bcc42 fix bisectability of patch 303-spi-board-info.patch
It uses spi_register_board_info() from linux/spi/spi.h but does not include it
explicitely.

SVN-Revision: 32058
2012-06-05 13:40:35 +00:00
Jonas Gorski
ffea8eb913 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

SVN-Revision: 32041
2012-06-04 08:35:25 +00:00
Jonas Gorski
3fc76fb781 bcm63xx: build images for 6328 reference boards with various flash sizes
Build images for 96328avng and 963281TAN (untested) for three different
flash sizes: 4MB, 8MB, and 16MB.

Known issues:
 * Button setup unknown, thus no fail-safe available.
 * All other BCM6328 and BCM63XX issues

SVN-Revision: 32004
2012-05-30 10:27:46 +00:00
Jonas Gorski
e5575fe335 bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
2012-05-27 13:22:43 +00:00
Jonas Gorski
a7a82db16f bcm63xx: fix port state after network down
bcm_enetsw_probe did not properly reset port states, resulting in
connected ports staying disabled after bringing up the interface the
second time.

SVN-Revision: 31881
2012-05-27 13:22:40 +00:00
Jonas Gorski
e19ed52fd1 bcm63xx: add a fixup for ath9k devices
SVN-Revision: 31880
2012-05-27 13:22:37 +00:00
Jonas Gorski
e34018cc9e bcm63xx: add support for the HSSPI controller
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.

SVN-Revision: 31879
2012-05-27 13:22:33 +00:00