Commit Graph

551 Commits (7660d3dd5b36f70dc8925fcb1f9dd3d61516327a)

Author SHA1 Message Date
Florian Fainelli 8bccd58c7d [brcm63xx] leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:10 +00:00
Florian Fainelli 49461068df [brcm63xx] BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:07 +00:00
Florian Fainelli 23376a2818 [brcm63xx] nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:04 +00:00
Jonas Gorski 61b89035c3 bcm63xx: fix USB base registers and IRQs for BCM6328
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 23:18:22 +00:00
Jonas Gorski 9f30da9d33 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]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:47 +00:00
Jonas Gorski 3b35907125 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:42 +00:00
Jonas Gorski 20350819d2 bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:34 +00:00
Jonas Gorski 656b206343 bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:31 +00:00
Jonas Gorski 6d1dc25f1b bcm63xx: reorder patches
Fix the order and names of patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:25 +00:00
Florian Fainelli bcd319c534 [brcm63xx] fix DVA-G3810BN image generation
Attached patch fixes a typo in the image Makefile, and overrides the
board name for DVA-G3810BN to set the correct board properties

Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:12 +00:00
Florian Fainelli b8a4800ab1 [brcm63xx] add D-link DVA-G3810BN-TL-1 support
Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:09 +00:00
Florian Fainelli 699c69c326 [brcm63xx] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:05 +00:00
Florian Fainelli 4ef6087c9b [brcm63xx] Add brcmsmac profile
Add brcmsmac profile (kmod-brcmsmac + wpad-mini).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:34:57 +00:00
Florian Fainelli 05cf8f8a39 [brcm63xx] remove bcm63xx_pci_register() call in livebox board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 09:15:26 +00:00
Florian Fainelli cf3626941f [brcm63xx] use physmap-flash on livebox (#8677)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 09:15:22 +00:00
Florian Fainelli 9dee635f13 [brcm63xx] Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 22:10:37 +00:00
Jonas Gorski 99927f8bfa bcm63xx: bcm63xx-spi does not depend on spi-bitbang
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:17 +00:00
Jonas Gorski fab5332cbd 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:15 +00:00
Jonas Gorski 51344d2479 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:12 +00:00
Jonas Gorski 297078e82c bcm63xx: update patches to latest upstream versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:07 +00:00
Florian Fainelli 176f801ce4 [brcm63xx] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 09:45:46 +00:00
Florian Fainelli c75d54bf3f [brcm63xx] fix watchdog and rng drivers section mismatch (#11767)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 09:07:54 +00:00
Florian Fainelli d076802752 [brcm63xx] fix SPI clock frequency selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:14:50 +00:00
Florian Fainelli ffa83cc2dc [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 16:17:29 +00:00
Jonas Gorski 4f488ee099 bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 22:24:58 +00:00
Florian Fainelli 3613a9f2f8 [brcm63xx] fix 553-board_96348w3.patch patch wrt gpio-keys-polled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 20:58:45 +00:00
Florian Fainelli 5153308130 [brcm63xx] fix alarm led color for board 96348A-122
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 16:07:46 +00:00
Florian Fainelli 72aba7b527 [brcm63xx] add 96348w3 board (#10764)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:45:04 +00:00
Florian Fainelli 2e63f6da68 [brcm63xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:44:56 +00:00
Florian Fainelli 0abe5c6244 [brcm63xx] fix leds naming for all bcm63xx boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:44:52 +00:00
Florian Fainelli cc14bc096e [brcm63xx] backport upstream spi-bcm63xx fixes
* message pump conversion
* not using stopping state
* setting spi driver mode bits

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:33 +00:00
Florian Fainelli 0c59a91df5 [brcm63xx] increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:24 +00:00
Florian Fainelli 9f6ef16bdc [brcm63xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:41 +00:00
Florian Fainelli c349282eff [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:35 +00:00
John Crispin 266c70cdf4 [kernel] bump to 3.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
Jonas Gorski 7d6df5d239 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 08:35:25 +00:00
Jonas Gorski b032357e85 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:46 +00:00
Jonas Gorski e343446e23 bcm63xx: readd accidentially dropped network config for SPW303V
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:42 +00:00
Jonas Gorski b93700be90 bcm63xx: build images for DSL-274XB revision F1
Build images for D-Link DSL-274XB revision F1. Flashing
through original web UI as well as CFE works.

Known issues:
  * wifi led inverted (on when wifi is off and vice cersa)
  * same issues as generic bcm6328 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:51 +00:00
Jonas Gorski e4a82f8318 bcm63xx: add ath9k to atheros wifi profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:48 +00:00
Jonas Gorski 2df17dbf20 bcm63xx: enable bcm6328 support and required drivers
BCM6328 support is in a usable state, with the following issues

 * internal switch port not configurable
 * external phys not supported
 * broadcom wifis will probably not work correctly
 * and all other generic bcm63xx issues (so yes, still no ADSL)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:46 +00:00
Jonas Gorski 20cab203ed bcm63xx: add support for DSL-274XB rev F1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:43 +00:00
Jonas Gorski 58de534f18 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:40 +00:00
Jonas Gorski 9a873721da bcm63xx: add a fixup for ath9k devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:37 +00:00
Jonas Gorski 96ef7778af bcm63xx: add support for the HSSPI controller
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:33 +00:00
Jonas Gorski 5b950415b8 bcm63xx: add preliminary support for bcm6328
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:29 +00:00
Jonas Gorski bf8af3c6f2 bcm63xx: add flash type detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:25 +00:00
Jonas Gorski afb39de7d0 bcm63xx: pad Speedport W303 V images to 4 MiB
Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:22 +00:00
Jonas Gorski 4ecf7d09a1 bcm63xx: add a default switch configuration for DSL-274XB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:17 +00:00
Jonas Gorski 4abdddf848 bcm63xx: setup network config through uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:14 +00:00