Jonas Gorski
5e8eedb897
brcm63xx: add missing bcm96329bhr profile and dts
...
Hopefully the last missing board.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45557
2015-04-21 16:43:46 +00:00
Jonas Gorski
0f08442ded
brcm63xx: move DSL-275XB to DT
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45168
2015-03-30 20:21:15 +00:00
Jonas Gorski
f77b446051
brcm63xx: move bcm6318 reference boards to DT
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45167
2015-03-30 20:21:07 +00:00
Jonas Gorski
f644c1581a
brcm63xx: move VG50 to DT
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45166
2015-03-30 20:21:01 +00:00
Jonas Gorski
f973580488
brcm63xx: move V2110 to DT
...
Also readd image generation which was accidentally dropped in r43364.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45165
2015-03-30 20:20:49 +00:00
Jonas Gorski
10cdfd04e6
brcm63xx: move RTA770(B)W to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44992
2015-03-25 15:36:12 +00:00
Jonas Gorski
0e4c1ba284
brcm63xx: move MAGIC to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44991
2015-03-25 15:36:05 +00:00
Jonas Gorski
582dfc52f5
brcm63xx: move CPVA502+ to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44990
2015-03-25 15:35:57 +00:00
Jonas Gorski
46b4d4d1d5
brcm63xx: move dg834g v4 to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44989
2015-03-25 15:35:43 +00:00
Jonas Gorski
30a579c674
brcm63xx: move dsl-2640u to dts
...
Also build image again(?).
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44988
2015-03-25 15:35:37 +00:00
Jonas Gorski
16ea19053a
brcm63xx: move bcm963268bu_p300 to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44987
2015-03-25 15:35:24 +00:00
Jonas Gorski
2d3371cd0f
brcm63xx: Add BT Home Hub 2A support.
...
Support for the BT HomeHub 2.0 Type A.
This router was manufactured by Thomson, and it's BCM6358 based.
The leds are controled by two chained HC594, all working ok. The BCM5325
switch has the RESET# pin wired to the GPIO15, but currently there is no
way to tell the b53 driver how to get this gpio number in brcm63xx,
therefore swconfig won't use it when performing a switch reset.
The patch was tested with several firmwares, and all except unsupported
stuff (i.e xDSL) works pretty well.
Tested-by: Tahir <tahir00ali@gmail.com>
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
SVN-Revision: 44985
2015-03-25 15:35:12 +00:00
Jonas Gorski
ca7f6d28c8
brcm63xx: Add DGND3700 v1 / DGND3800B support
...
This adds support for the Netgear DGND3700 v1 and DGND3800B.
DGND3700 v1 and DGND3800B are exactly the same router, only one difference,
the factory firmware. This patch produces two factory firmwares for each router.
The router includes an onboard NAND flash for extra storage. NAND is currently
not supported in bcm63xx, so no code added for this part. The NOR flash (32MB)
is enough for storing an openwrt firmware.
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: Add back commit message from v1]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44831
2015-03-16 11:52:10 +00:00
Jonas Gorski
12301a79b7
brcm63xx: fix 6368 cpu1 reg typo
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44784
2015-03-15 14:19:07 +00:00
Jonas Gorski
dd618e499f
brcm63xx: fix DTS LEDs and buttons
...
- A4001N/A4001N1: fix swapped green and red LEDs
- CVG834G: add missing LED
- RTA1320: reorder LEDs by GPIO#
- V2500V: add missing LEDs and buttons
- WAP-5813n: fix WPS button (GPIO 35)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44577
2015-02-28 19:59:50 +00:00
Jonas Gorski
b694c45d33
brcm63xx: backport and enable DT spi-gpio no CS support
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44570
2015-02-27 23:48:48 +00:00
Jonas Gorski
b82cb155fc
brcm63xx: move buttons and leds to dts files
...
Register buttons and leds through DT for all available dts,
and remove them from the board files.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: remove leds/buttons from board files
fix wrong led polarities for dsl-274xb-c2, cpva642, p870hw
comment out spi-gpio and associated leds]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44566
2015-02-27 17:40:04 +00:00
Jonas Gorski
eea227c60d
brcm63xx: probe gpio controllers through DT
...
Add a generic mmio gpio controller based driver and probe it
through device tree.
Use aliases for base calculation until we converted all users to
device tree or named gpios.
Convert bcm63xx_enet's ephy-reset gpio to use a named gpio.
While at it, remove the duplicate reset gpio defintion for livebox.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44565
2015-02-27 17:39:49 +00:00
Jonas Gorski
1efb7398e1
brcm63xx: convert BTV2500V to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44564
2015-02-27 17:39:29 +00:00
Jonas Gorski
90c15beee6
brcm63xx: convert RTA1320 to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44563
2015-02-27 17:39:21 +00:00
Jonas Gorski
5a9b7c28c3
brcm63xx: convert RTA1025 to dts
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44562
2015-02-27 17:39:13 +00:00
Jonas Gorski
9a65e1a570
brcm63xx: use dtb for cvg834g
...
Add a dtsi for bcm3368, add a dts and profile for cvg834g, and convert
it to use ImageDTB. Since HCS requires more arguments, enhance the max
arguments of the call.
The image name is intentionally left blank to prevent non-initramfs
images to be built, as they currently contain no rootfs and consequently
won't work.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44561
2015-02-27 17:39:07 +00:00
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
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
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
443d730da8
brcm63xx: dtsi: add missing ranges properity to ubus nodes
...
Allows nodes behind it to be mapped.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43456
2014-12-01 00:51:56 +00:00
Jonas Gorski
d9a2c55806
brcm63xx: dtsi: add missing properties to cpu nodes
...
Mark them as cpu nodes and add the addresses.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43455
2014-12-01 00:51:53 +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
5f726ccd79
brcm63xx: add DT support for F@ST2404
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43447
2014-12-01 00:50:56 +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
b3ce1c4ea6
brcm63xx: Add DT support for AGPF-S0
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43358
2014-11-24 14:44:12 +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
cdea47cbc3
brcm63xx: Add DT support for 96358VW2
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42736
2014-10-02 12:25:41 +00:00
Jonas Gorski
80db30b508
brcm63xx: Add DT support for 96358VW
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42735
2014-10-02 12:25:36 +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
d9194da882
brcm63xx: Add DT support for 96338GW
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42733
2014-10-02 12:25:22 +00:00