aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: fix image generation and broken patchJonas Gorski2015-02-272-2/+4
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: remove gpio base workaroundJonas Gorski2015-02-272-68/+0
| | | | | | | | | Now that all gpio users without named gpios use DT, we do not need to fix the gpio controller bases anymore. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move buttons and leds to dts filesJonas Gorski2015-02-27191-5718/+3631
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: probe gpio controllers through DTJonas Gorski2015-02-2750-82/+1550
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: convert BTV2500V to dtsJonas Gorski2015-02-2735-39/+99
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: convert RTA1320 to dtsJonas Gorski2015-02-2741-38/+93
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: convert RTA1025 to dtsJonas Gorski2015-02-273-2/+47
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: use dtb for cvg834gJonas Gorski2015-02-274-14/+134
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: image: move image argument to front in *DTB callsJonas Gorski2015-02-271-101/+101
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add dts and profile for LiveboxJonas Gorski2015-02-275-61/+119
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: allow lzma to use 32MB RAMJonas Gorski2015-02-271-4/+5
| | | | | | | | | | | | | Most 16 MiB RAM devices don't even load elf kernels, so it's safe to assume we have at least 32 MB RAM. This fixes tftp booting with the default package set as this already produces an uncompressed kernel > 8 MiB. New limit is 8 MiB compressed / 24 MiB compressed. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: mtd: move bcm963xx_tag definition into source codeJonas Gorski2015-02-2713-56/+27
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: do not align squashfs rootfs startJonas Gorski2015-02-271-6/+9
| | | | | | | | | | | | | We do not need to align the start of read only rootfs's to erase blocks. This allows us to write the squashfs rootfs directly behind the kernel, potentially freeing up one erase block. We still need to align for jffs2, so add a flag for imagetag to optionally align the rootfs start. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: drop call to prepare_generic_squashfsJonas Gorski2015-02-271-3/+0
| | | | | | | | We do not use the result, so no need to call it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-072-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix a few issues in irq chip driversJonas Gorski2014-12-0826-425/+546
| | | | | | | | 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
* brcm63xx: alphabetically order image generationJonas Gorski2014-12-081-5/+5
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: refresh patchesJonas Gorski2014-12-0848-70/+70
| | | | | | 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
* brcm63xx: add DT support for USR9108Jonas Gorski2014-12-085-5/+52
| | | | | | 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
* brcm63xx: add DT support for F5D7633Jonas Gorski2014-12-087-6/+53
| | | | | | 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
* brcm63xx: add DT support for DG834GT/PNJonas Gorski2014-12-085-4/+51
| | | | | | 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
* brcm63xx: add DT support for TD-W8900GBJonas Gorski2014-12-089-9/+55
| | | | | | | | | | | | 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
* brcm63xx: add DT support for DSL-2640BJonas Gorski2014-12-087-4/+59
| | | | | | 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
* brcm63xx: add DT support for CPVA642Jonas Gorski2014-12-087-5/+66
| | | | | | 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
* brcm63xx: add kernel 3.18 supportJonas Gorski2014-12-01155-0/+18016
| | | | | | | | Add 3.18 support based on 3.18-rc6. Only netboot tested. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: register interrupt-controllers through DT when possibleJonas Gorski2014-12-0110-0/+334
| | | | | | | | | 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
* brcm63xx: dtsi: add missing ranges properity to ubus nodesJonas Gorski2014-12-019-0/+9
| | | | | | | | Allows nodes behind it to be mapped. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: dtsi: add missing properties to cpu nodesJonas Gorski2014-12-019-0/+53
| | | | | | | | Mark them as cpu nodes and add the addresses. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: convert to irq domainJonas Gorski2014-12-0119-78/+1842
| | | | | | | | | 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
* brcm63xx: refresh patchesJonas Gorski2014-12-0122-25/+25
| | | | | | 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
* brcm63xx: add DT support for DSL-2650UJonas Gorski2014-12-017-6/+47
| | | | | | 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
* brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1Jonas Gorski2014-12-016-5/+30
| | | | | | 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
* brcm63xx: Add DT support for F@ST2504nJonas Gorski2014-12-014-3/+27
| | | | | | 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
* brcm63xx: add DT support for F@ST2704V2Jonas Gorski2014-12-014-3/+28
| | | | | | 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
* brcm63xx: add DT support for F@ST2604Jonas Gorski2014-12-014-3/+49
| | | | | | 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
* brcm63xx: add DT support for F@ST2404Jonas Gorski2014-12-013-3/+47
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: uci-defaults: network: move DSL-274x1 F1 to right sectionJonas Gorski2014-11-251-1/+1
| | | | | | | | | | The cpu port is at 8, not 5. Fixes #18406. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: unify dt image generationJonas Gorski2014-11-251-117/+66
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move rsa signature to additional optionsJonas Gorski2014-11-251-47/+42
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix image generationJonas Gorski2014-11-251-0/+1
| | | | | | | | This fixes build issues introduced on r43361. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: do not build images for unsupported routersJonas Gorski2014-11-241-14/+0
| | | | | | | | | | If there is no board support in the kernel, it does not make sense to build images for devices. So drop any images for board ids for which there are nc corresponding board_info structs in the kernel. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: refresh patchesJonas Gorski2014-11-2419-31/+31
| | | | | | 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
* brcm63xx: Add DT support for SPW303VJonas Gorski2014-11-244-18/+82
| | | | | | 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
* brcm63xx: Add DT support for DV-201AMRJonas Gorski2014-11-245-12/+74
| | | | | | 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
* brcm63xx: Add DT support for RG100AJonas Gorski2014-11-244-13/+50
| | | | | | 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
* brcm63xx: Add DT support for A226G/MJonas Gorski2014-11-246-18/+116
| | | | | | 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
* brcm63xx: Add DT support for AGPF-S0Jonas Gorski2014-11-243-3/+48
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move board compatible strings into a tableJonas Gorski2014-11-2262-398/+490
| | | | | | | | | | 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