Commit graph

94 commits

Author SHA1 Message Date
Jonas Gorski
f3c071b376 brcm63xx: add dts and profile for Livebox
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44559
2015-02-27 17:38:46 +00:00
Jonas Gorski
92eb27f56d package: mtd: move bcm963xx_tag definition into source code
Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44557
2015-02-27 17:38:25 +00:00
Jonas Gorski
bdb1ee51f8 brcm63xx: fix a few issues in irq chip drivers
Fix locking and lock usage, making it compile for SMP.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43578
2014-12-08 16:11:52 +00:00
Jonas Gorski
bc4dd8e119 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43576
2014-12-08 16:11:26 +00:00
Jonas Gorski
3fa17f6d58 brcm63xx: add DT support for USR9108
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43575
2014-12-08 16:11:08 +00:00
Jonas Gorski
218582e8ea brcm63xx: add DT support for F5D7633
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43574
2014-12-08 16:11:03 +00:00
Jonas Gorski
d5f1dd9079 brcm63xx: add DT support for DG834GT/PN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43573
2014-12-08 16:10:54 +00:00
Jonas Gorski
b0ae41f849 brcm63xx: add DT support for TD-W8900GB
According to the vendor tarball, the TD-w8900GB's flash has 64k erase
block size, but CFE spans two blocks. So fixup the image offset
accordingly but keep block size at its default (64k).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: add commit message, add image offset, change nvram offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43572
2014-12-08 16:10:46 +00:00
Jonas Gorski
84200cf189 brcm63xx: add DT support for DSL-2640B
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43571
2014-12-08 16:10:41 +00:00
Jonas Gorski
929ade0648 brcm63xx: add DT support for CPVA642
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43570
2014-12-08 16:10:17 +00:00
Jonas Gorski
e8068f0b1b brcm63xx: register interrupt-controllers through DT when possible
Add the required nodes for the interrupt controllers and register
them through DT when a DTB is present.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43457
2014-12-01 00:52:07 +00:00
Jonas Gorski
ef4f69adc0 brcm63xx: convert to irq domain
Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx
and switch to use them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43454
2014-12-01 00:51:51 +00:00
Jonas Gorski
bb312899f6 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43453
2014-12-01 00:51:24 +00:00
Jonas Gorski
2b46097364 brcm63xx: add DT support for DSL-2650U
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43452
2014-12-01 00:51:17 +00:00
Jonas Gorski
61637aea1b brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43451
2014-12-01 00:51:12 +00:00
Jonas Gorski
53214ca548 brcm63xx: Add DT support for F@ST2504n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43450
2014-12-01 00:51:08 +00:00
Jonas Gorski
40350a5daf brcm63xx: add DT support for F@ST2704V2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43449
2014-12-01 00:51:04 +00:00
Jonas Gorski
3872151ce0 brcm63xx: add DT support for F@ST2604
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43448
2014-12-01 00:50:59 +00:00
Jonas Gorski
fb2a44df50 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43363
2014-11-24 14:44:40 +00:00
Jonas Gorski
c6fc6b42e1 brcm63xx: Add DT support for SPW303V
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43362
2014-11-24 14:44:33 +00:00
Jonas Gorski
5540ca300e brcm63xx: Add DT support for DV-201AMR
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43361
2014-11-24 14:44:28 +00:00
Jonas Gorski
89000dea4c brcm63xx: Add DT support for RG100A
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43360
2014-11-24 14:44:23 +00:00
Jonas Gorski
13d6fa0081 brcm63xx: Add DT support for A226G/M
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43359
2014-11-24 14:44:19 +00:00
Jonas Gorski
2bab3e2796 brcm63xx: move board compatible strings into a table
Move compatible strings from board structs into separate table. This
allows for several board compatibles to match to the same board in case
e.g. only the flash size / partitions differ.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43341
2014-11-22 12:25:52 +00:00
Jonas Gorski
14ebb012a4 brcm63xx: fix wrong fixups pointer
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42756
2014-10-03 11:03:58 +00:00
Jonas Gorski
2fa8a656a6 brcm63xx: update spw500v sprom to values from gpl tarball
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42740
2014-10-02 12:26:36 +00:00
Jonas Gorski
60cb45427e brcm63xx: reorder some patches according to their upstream state
The irq rewrite was accepted upstream.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42739
2014-10-02 12:26:19 +00:00
Jonas Gorski
57214b00ae brcm63xx: Add DT support for 96368MVWG
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42738
2014-10-02 12:26:07 +00:00
Jonas Gorski
477826ef31 brcm63xx: Add DT support for 96368MVNgr
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42737
2014-10-02 12:25:57 +00:00
Jonas Gorski
e7ade47fba brcm63xx: Add DT support for 96338W
Renamed of_board_id to convention.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42734
2014-10-02 12:25:27 +00:00
Jonas Gorski
a950e2fce8 brcm63xx: Add DT support for 963281TAN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42727
2014-10-02 12:24:29 +00:00
Jonas Gorski
ddcc29290c brcm63xx: fix brcm63xx fallback typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42726
2014-10-02 12:24:14 +00:00
Jonas Gorski
51e1f1476f brcm63xx: Add DT support for P870HW-51a
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42248
2014-08-21 11:28:59 +00:00
Jonas Gorski
b339304425 brcm63xx: Add DT support for HG553
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix linux partition length]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42247
2014-08-21 11:28:54 +00:00
Jonas Gorski
2f09960e46 brcm63xx: Add DT support for HG520v
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42246
2014-08-21 11:28:46 +00:00
Jonas Gorski
7bc83fdd13 brcm63xx: Add DT support for A4001N
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42245
2014-08-21 11:28:43 +00:00
Jonas Gorski
a180c80f23 brcm63xx: Add DT support for A4001N1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42244
2014-08-21 11:28:40 +00:00
Jonas Gorski
83651bad85 brcm63xx: Add DT support for WAP-5813n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42243
2014-08-21 11:28:37 +00:00
Jonas Gorski
7b2d74a156 brcm63xx: Add DT support for VR-3025un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42242
2014-08-21 11:28:34 +00:00
Jonas Gorski
42bbf7bcb3 brcm63xx: Add DT support for VR-3025u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42241
2014-08-21 11:28:32 +00:00
Jonas Gorski
2936cacdfc brcm63xx: Add DT support for AR-5387un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42240
2014-08-21 11:28:28 +00:00
Jonas Gorski
b97aa0b4fd brcm63xx: Add DT support for AR-5381u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42239
2014-08-21 11:28:18 +00:00
Jonas Gorski
1891b08f00 brcm63xx: Add DT support for CT-6373
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42238
2014-08-21 11:28:14 +00:00
Jonas Gorski
e490cc7e14 brcm63xx: Add DT support for CT-5365
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42237
2014-08-21 11:28:10 +00:00
Jonas Gorski
770ba9d40f brcm63xx: enable fallback sprom for Speedport W500 V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42211
2014-08-18 21:50:45 +00:00
Jonas Gorski
29e4d82dbb brcm63xx: fix HG556a boards and remove fallback board
This changes board info to match the Wiki
http://wiki.openwrt.org/toh/huawei/hg556a, removes the no longer needed
fallback board and fixes HG556 Ralink eeprom extraction.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: rename partitions instead]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42206
2014-08-18 21:50:29 +00:00
Jonas Gorski
43029544e2 brcm63xx: remove now obsolete board fixup code
Now that we migrated all users to dtb based detection, we can drop the
board fixup code.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42129
2014-08-11 11:37:26 +00:00
Jonas Gorski
74ec41ef59 brcm63xx: use dtb board detection for neufbox 4
This splits up neufbox 4 for now into two images, one for each OEM.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42128
2014-08-11 11:37:21 +00:00
Jonas Gorski
862f7fccb0 brcm63xx: use dtb board detection for NB6
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42127
2014-08-11 11:37:17 +00:00
Jonas Gorski
52b0935efe brcm63xx: use dtb board detection for HW556
This requires individual images for each board version for now.
Linux partition was shrunk to ensure writing thewrong image won't
erase wifi calibration data.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42126
2014-08-11 11:37:14 +00:00