aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.10
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: fix Livebox 1 supportJonas Gorski2014-06-302-8/+11
| | | | | | | | | | | | | | | | | The Livebox 1 support is currently broken. Fixed with this patch Fixes: - Redboot partitioning broken: fixed - Replaced custom ephy reset with platform code - USB code breaks the building process: fixed - Led colors - Removed unneded EHCI code since bcm6348 only has OHCI Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: drop unneded parts since merge, fixup to apply to current head] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41424
* brcm63xx: 3.10: backport multi-board supportJonas Gorski2014-06-3075-631/+1288
| | | | | | | | There have been no reported regressions, so backport it to 3.10. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41422
* brcm63xx: Add support for Comtrend WAP-5813nJonas Gorski2014-06-302-3/+121
| | | | | | | | | | This adds support for Comtrend WAP-5813n. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: refresh patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41421
* brcm63xx: CPVA502+ board fixesJonas Gorski2014-06-3028-57/+53
| | | | | | | | | | | | | | | Some fixes for Telsey CPVA502+ bcm6348 routers: - reset the external PHY (eth1) with proper platform code, not using a led definiton - eth1 is an external phy, not a switch, deleted forced link speed - fixed led color Patch made for 3.14 kernel patches. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: also fix 3.14, refresh patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41420
* brcm63xx: update variant detection patches and fix VARID shiftJonas Gorski2014-06-219-15/+23
| | | | | | | | | The variant id field shift was wrong, causing the variant detection to fail. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41295
* brcm63xx: fix up borked patchJonas Gorski2014-06-211-1/+15
| | | | | | Fix up patch borked by quilt fuzzy application of patches. SVN-Revision: 41294
* brcm63xx: hack around jffs2 corruption with SMPJonas Gorski2014-04-061-0/+26
| | | | | | | | | | | | mempy_fromio seems to be randomly failing when the destination is unaligned; work around it by forcing the name to be aligned in memory. Should fix jffs2 and SMP for now, but needs to be some additional looking into as it does not fix the source. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 40396
* brcm63xx: sync mips counters during bringup of cpusJonas Gorski2014-04-051-0/+27
| | | | | | | | | Fixes gettimeofday returning different values depending on which cpu it is called. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 40387
* kernel: update 3.10 to 3.10.34Gabor Juhos2014-03-273-171/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40291
* kernel: update 3.10 to 3.10.32Gabor Juhos2014-02-231-26/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39707
* brcm63xx: fix RG100A/DB120 usb port numberJonas Gorski2014-02-2251-75/+85
| | | | | | | | Set usbh ports to 2 to fix #15007. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39681
* brcm63xx: fix number of usb ports for HW556 variantsJonas Gorski2014-02-2211-18/+21
| | | | | | | | Don't only fix up the fallback board, but also all three variants. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39680
* brcm63xx: add initial support for BCM963268BU_P300 reference boardJonas Gorski2014-02-222-2/+144
| | | | | | | | | Only netboot tested, so no images or now. GbE ports are only working in FE mode, and leds do not work. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39679
* brcm63xx: add VW6339GU supportJonas Gorski2014-02-222-2/+121
| | | | | | | | | Completely untested except for booting from network; wan port only works in 10/HD, lan1 only in 100/FD. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39678
* brcm63xx: fix number of switch ports for BCM63168/63268Jonas Gorski2014-02-222-6/+10
| | | | | | | | | | | BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268 has two additional RGMII ports, making it 8. Fix this by checking the chip variant and applying an appropriate limit. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39677
* brcm63xx: F@ST2504n board supportJonas Gorski2014-02-226-7/+120
| | | | | | | | Signed-off-by: Max Staudt <openwrt.max@enpas.org> Patchwork: http://patchwork.openwrt.org/patch/4729/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39675
* brcm63xx: add support for Asmax AR 1004g routerJonas Gorski2014-02-222-2/+72
| | | | | | | | | | Support for Asmax AR 1004g router Signed-off-by: Adrian Feliks <mexit@o2.pl> Patchwork: http://patchwork.openwrt.org/patch/4464/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39674
* brcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL routerJonas Gorski2014-02-229-14/+159
| | | | | | | | | | | | | This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4266/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39671
* brcm63xx: fix warning in Redboot codeFlorian Fainelli2014-01-271-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39404
* brcm63xx: add support for BCM963269BHR boardFlorian Fainelli2014-01-212-2/+90
| | | | | | | | | Add kernel support for the BCM963269BHR board, USB and Ethernet switch, LEDs and buttons are working. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39363
* brcm63xx: improve BCM63268 supportFlorian Fainelli2014-01-212-10/+65
| | | | | | | | | Allow using the HSSPI controller since it works just fine, as well as the integrated switch core, since that one works too. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39362
* brcm63xx: fix typo breaking build in r39325Jonas Gorski2014-01-191-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39326
* brcm63xx: set usb host port number for some devicesJonas Gorski2014-01-1938-70/+83
| | | | | | | | | | | | Update a few devices with their actual port numbers, especially those with two ports. Should allow properly using the second port on the Neufboxen and HW553 and HW556. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39325
* brcm63xx: allow setting the number of usb host ports for boardsJonas Gorski2014-01-197-8/+180
| | | | | | | | | | Allow setting the number of available usb host ports for boards with additional sanity checks to allow using the second port on devices where it is available. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39324
* brcm63xx: add USB support for BCM63268Jonas Gorski2014-01-195-5/+193
| | | | | | | | Add and enable USB support for the BCM63268 family of SoCs. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39323
* brcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI tooJonas Gorski2014-01-191-0/+11
| | | | | | | | | USB will fail to work if compiling with BCM6318 only if BCM63XX_HAS_EHCI and BCM63XX_HAS_OHCI are not selected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39322
* brcm63xx: prevent usb clock state inconsistency on BCM6318Jonas Gorski2014-01-191-29/+35
| | | | | | | | | | | | | | Return the same clock for usbh and usbd on BCM6318 to prevent the clock getting disabled despite being supposed to be enabled, e.g. by the following sequence: clk_enable(usbh); <- usbh->usage = 1, enabled clk_enable(usbd); <- usbd->usage = 1, enabled (no effect) clk_disable(usbd); <- usbd->usage = 0, -> disabled! Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39321
* brcm63xx: do not add twice the same field to boardFlorian Fainelli2014-01-1648-94/+86
| | | | | | | | | Changeset r39302 updated a board section and added twice .has_ehci0, this is not necessary, so fix it. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39304
* brcm63xx: add USB support to BCM6318Florian Fainelli2014-01-1550-88/+209
| | | | | | | | | | BCM6318 has a special initialization sequence which involves touching PLL control registers in the USBH_PRIV register space, as well as toggling a bit the Simulation control register. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39302
* brcm63xx: fix BCM96318MVWG LEDsFlorian Fainelli2014-01-1518-26/+25
| | | | | | | | Power LED is not active low, and ppp-fail is red, not green. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39294
* brcm63xx: 96368MVWG supports USB gadget, enable itFlorian Fainelli2014-01-1418-25/+33
| | | | | | | | | Enable the use of the USB gadget device at the board level so we can use bcm63xx_udc on this board. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39292
* brcm63xx: replace gadget driver build fix with upstream submissionFlorian Fainelli2014-01-141-4/+45
| | | | | | | | | Also fixing a build warning due to a misplaced parenthesis in the previous submission. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39291
* brcm63xx: add support for the BCM96318REF_P300 boardFlorian Fainelli2014-01-141-0/+104
| | | | | | | | | Very similar to the BCM96318REF board except for the name and the SDRAM/DDR configuration which is totally transparent for us. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39286
* brcm63xx: add basic support for the BCM96318REF boardFlorian Fainelli2014-01-142-2/+107
| | | | | | | | | | | Add basic support for the BCM96318REF board which is comprised of: - HS-SPI flash support - Ethernet switch support - USB slave device support Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39283
* brcm63xx: improve BCM6318 supportFlorian Fainelli2014-01-143-1/+131
| | | | | | | | | | | | | Provide clock toggling for the USB host and slave controller as well as for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use request_mem_region() as the Roboswitch register overlaps with the Roboswitch IUDMA channels, hence making the driver return -EBUSY. A future fix might be to use variable size RSET_ENETSW sizes depending on the chip we are targetting. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39282
* brcm63xx: fix USB gadget build failure after 6345 EthernetFlorian Fainelli2014-01-141-0/+127
| | | | | | | | | | While adding support for BCM6345 Ethernet, some changes in the macros ENETDMA{C,S} where introduced which now make the bcm63xx USB gadget driver fail to build. Fix this. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39279
* brcm63xx: allow HSSPI registration on 6318Florian Fainelli2014-01-141-0/+11
| | | | | | | | | A missing condition check in dev-hsspi.c prevented the controller from being registered on 6318 where it is fully functional. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39278
* brcm63xx: fix build failure on varidFlorian Fainelli2014-01-142-2/+2
| | | | | | | | | varid might both unused and unitialized when building for e.g: bcm6318, fix these two warnings turned into errors. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39277
* brcm63xx: fix ohci frame number offsetJonas Gorski2014-01-131-0/+31
| | | | | | | | | | | | BCM63XX's ohci controller does not need the frame number shift, but that was guarded with a PPC symbol. Fix this by making the no-fix generally available. This is a regression from the previous conversion to ohci platform driver. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39274
* brcm63xx: fix spi flash setup on (at least) some reference boardsJonas Gorski2014-01-1311-168/+194
| | | | | | | | | CFE seems to leave the SPI flash mapping in an invalid state after loading the kernel on some reference boards, so fix it up on boot. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39273
* brcm63xx: add initial support for BCM6318Jonas Gorski2014-01-1310-17/+1122
| | | | | | | | | Add inital support for BCM6318, but keep it disabled for now until most things are supported. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39272
* brcm63xx: add initial support for BCM63268Jonas Gorski2014-01-1313-15/+977
| | | | | | | | | Add initial support for the BCM63268 family of SoCs, but keep it disabled for now as most things don't work yet. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39271
* brcm63xx: fix the pcie window sizeJonas Gorski2014-01-131-0/+20
| | | | | | | | | The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big, not 16 MiB. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39270
* brcm63xx: add support for chip variantsJonas Gorski2014-01-138-4/+258
| | | | | | | | | | | | Some SoCs have variants which are mostly the same, but use a different chip id (or not). Add code for detecting them and handling them as their standard counterparts. This adds support for e.g. BCM6369. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39269
* brcm63xx: remove non runtime detect and refresh affinity patchesJonas Gorski2014-01-1324-752/+1368
| | | | | | | | | | Remove the non runtime detect code since its effectiveness is dubious and almost never used. Also update affinity patches to work on top of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39268
* brcm63xx: update bmips patches with upstream submissionJonas Gorski2014-01-1321-255/+675
| | | | | | | | | Update bmips cleanup patches with upstream submission and backport a few bmips fixes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39267
* brcm63xx: spi flash on legacy spi controller needs the workaroundJonas Gorski2014-01-132-2/+5
| | | | | | | | | Fixes generic SPI flash accesses on BCM6358/BCM6368. BCM6338 still needs additional fixes for M25P80, so it remains broken for now. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39266
* brcm63xx: fix legacy spi tranfers >= 256 bytesJonas Gorski2014-01-132-0/+57
| | | | | | | | | Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes are not affected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39265
* brcm63xx: update HSSPI driver with upstream submissionJonas Gorski2014-01-1329-672/+686
| | | | | | | | | Update the HSSPI driver with the upstream submitted one that has a workaround for the auto cs down issue. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39264
* kernel: update 3.10 to 3.10.26Gabor Juhos2014-01-113-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39220