Commit Graph

92 Commits (8cc005abbdf6d3b36bbde58b68a5a372a780b0eb)

Author SHA1 Message Date
Jonas Gorski 4bf6221ffa 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:11:52 +00:00
Jonas Gorski 6a08b06f74 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:11:26 +00:00
Jonas Gorski 54965c89e6 brcm63xx: add DT support for USR9108
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:11:08 +00:00
Jonas Gorski b1dd47bd05 brcm63xx: add DT support for F5D7633
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:11:03 +00:00
Jonas Gorski 20466bd2d2 brcm63xx: add DT support for DG834GT/PN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:10:54 +00:00
Jonas Gorski 544265862f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:10:46 +00:00
Jonas Gorski 98f63520b4 brcm63xx: add DT support for DSL-2640B
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:10:41 +00:00
Jonas Gorski 5977a64512 brcm63xx: add DT support for CPVA642
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 16:10:17 +00:00
Jonas Gorski c73005f289 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:52:07 +00:00
Jonas Gorski 29b06c76c3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:51 +00:00
Jonas Gorski 69df57900e brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:24 +00:00
Jonas Gorski 08fddea857 brcm63xx: add DT support for DSL-2650U
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:17 +00:00
Jonas Gorski 16883252cf brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:12 +00:00
Jonas Gorski 05bfdff093 brcm63xx: Add DT support for F@ST2504n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:08 +00:00
Jonas Gorski 942c4d81ee brcm63xx: add DT support for F@ST2704V2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:04 +00:00
Jonas Gorski cb6346015b brcm63xx: add DT support for F@ST2604
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:50:59 +00:00
Jonas Gorski ecf42dc611 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 14:44:40 +00:00
Jonas Gorski 239e29cca4 brcm63xx: Add DT support for SPW303V
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 14:44:33 +00:00
Jonas Gorski ed53e05ff2 brcm63xx: Add DT support for DV-201AMR
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 14:44:28 +00:00
Jonas Gorski 33f2e5a5b4 brcm63xx: Add DT support for RG100A
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 14:44:23 +00:00
Jonas Gorski f7eeed1a1f brcm63xx: Add DT support for A226G/M
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 14:44:19 +00:00
Jonas Gorski 37c5bb66ff 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-22 12:25:52 +00:00
Jonas Gorski f02ccab61b brcm63xx: fix wrong fixups pointer
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 11:03:58 +00:00
Jonas Gorski e2ca113a8d brcm63xx: update spw500v sprom to values from gpl tarball
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:26:36 +00:00
Jonas Gorski 0efabe2758 brcm63xx: reorder some patches according to their upstream state
The irq rewrite was accepted upstream.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:26:19 +00:00
Jonas Gorski e618873b74 brcm63xx: Add DT support for 96368MVWG
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:26:07 +00:00
Jonas Gorski 25ac300092 brcm63xx: Add DT support for 96368MVNgr
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:57 +00:00
Jonas Gorski ef4c63343c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:27 +00:00
Jonas Gorski ef157784bc brcm63xx: Add DT support for 963281TAN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:29 +00:00
Jonas Gorski 699c5518e8 brcm63xx: fix brcm63xx fallback typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:14 +00:00
Jonas Gorski 68c0942be4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:59 +00:00
Jonas Gorski 6e11bb2ea8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:54 +00:00
Jonas Gorski e906c851e9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:46 +00:00
Jonas Gorski ec95cb410a brcm63xx: Add DT support for A4001N
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:43 +00:00
Jonas Gorski 6bf8cb672b brcm63xx: Add DT support for A4001N1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:40 +00:00
Jonas Gorski 5771199a96 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:37 +00:00
Jonas Gorski 77fbee7119 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:34 +00:00
Jonas Gorski 67f88552ff 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:32 +00:00
Jonas Gorski 21d5dba7ad 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:28 +00:00
Jonas Gorski 2d4ba17d54 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:18 +00:00
Jonas Gorski 364a80bb11 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:14 +00:00
Jonas Gorski 89f205b198 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:10 +00:00
Jonas Gorski d2fc14ca6c brcm63xx: enable fallback sprom for Speedport W500 V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:45 +00:00
Jonas Gorski 9ea86de16b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:29 +00:00
Jonas Gorski 01b65b97ef 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 11:37:26 +00:00
Jonas Gorski cb9540ea23 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 11:37:21 +00:00
Jonas Gorski 4c0faf9955 brcm63xx: use dtb board detection for NB6
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 11:37:17 +00:00
Jonas Gorski faf35534f3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 11:37:14 +00:00
Jonas Gorski 71d57be056 brcm63xx: replace CFEFIXUP usage with dtb based detection
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 11:37:09 +00:00
Jonas Gorski 1057e53813 brcm63xx: add support for registering parallel flash through dtb
Add the required nodes to the dtsi files and code to prevent double
registration from the board support code.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 11:37:01 +00:00