aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: switch to simpler devm_gpiod_get in USB driverRafał Miłecki2016-01-022-0/+48
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make bcm47xxpart work with TRX flashed at bad block(s)Rafał Miłecki2016-01-023-3/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop bcm47xxpart patch for XiaomiRafał Miłecki2016-01-023-3/+3
| | | | | | | | | It was never tested, most likely not working (because of le32_to_cpu) and not upstreamed. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48060 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: print bcm47xxpart buf to debug R8000 UBI problemRafał Miłecki2015-12-161-0/+40
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update BCM5301X SMP patch to fixed version from stblinuxRafał Miłecki2015-12-072-47/+19
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix selecting HAVE_SMP symbol in KconfigRafał Miłecki2015-12-071-0/+33
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use backported BCM5301X patches from stblinux soc/nextRafał Miłecki2015-12-073-40/+109
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add bcm47xxpart patches sent for 4.5 merge windowRafał Miłecki2015-12-076-102/+9
| | | | | | | | | This replaces old bcm53xx patch for scanning whole flash and makes bcm47xxpart compatible with NAND. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config options for kernel 4.4Hauke Mehrtens2015-12-061-4/+0
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47796 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: remove dummy ucidef_set_interface_loopback() from board.dJo-Philipp Wich2015-12-031-2/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* board.d: remove redundant ucidef_set_interfaces_lan_wan() callsJo-Philipp Wich2015-12-031-1/+0
| | | | | | | | | | This removes calls to ucidef_set_interfaces_lan_wan() and ucidef_set_interfaces_lan() on boards where all relevant info can be inferred from the switch definition. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()Jo-Philipp Wich2015-12-031-6/+5
| | | | | | | | | | | | This changes uci-defaults-new.sh, config_generate and all relevant board.d files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into a single function. Also removes now superfluous enable and reset arguments. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move BCM5301X patches to use 08x prefixRafał Miłecki2015-12-032-0/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use backported versiions or R8000 & dt-bindings patchesRafał Miłecki2015-12-032-6/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix typo in BCM5310X (patch name and subject)Rafał Miłecki2015-12-031-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move & update accepted USB patch for GPIO controlRafał Miłecki2015-12-031-5/+7
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use backported BCM5301X patches from stblinux devicetree/nextRafał Miłecki2015-12-032-16/+38
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use backported BCM5301X patches from stblinux soc/nextRafał Miłecki2015-12-032-0/+68
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: set vcc-gpio properties in one patchRafał Miłecki2015-12-032-35/+20
| | | | | | | | No reason to handle Buffalo WXR-1900DHP in separated patch. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: drop fixed clock from DTS for Buffalo WXR-1900DHPRafał Miłecki2015-12-033-9/+3
| | | | | | | | We don't use fixed clock in 4.4 (and 4.3) anymore. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update linux 4.4 configRafał Miłecki2015-12-031-1/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add linux 4.4 supportRafał Miłecki2015-12-0336-0/+4925
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: switch to ucidef_add_switch_ports()Jo-Philipp Wich2015-12-021-10/+10
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update PCIe driverHauke Mehrtens2015-12-0227-0/+4140
| | | | | | | | | | This updates the iProc PCIe driver to the version currently submitted for kernel 4.5. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update SMP patchesHauke Mehrtens2015-12-028-420/+836
| | | | | | | | | | Broadcom submitted new SMP patches for this SoC to upstream Linux, add them to OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: activate workarounds for erratasHauke Mehrtens2015-12-026-25/+80
| | | | | | | | | | | | This also deactivates some workaround for erratas only seen in older CPU cores and L2 cores not used in this SoC. This partly reverts commit r44947. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move patch 132-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patchHauke Mehrtens2015-12-023-9/+2
| | | | | | | | | | This patch is currently placed directly behind the SMP patches and has nothing to do with SMP, move it to an other position. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1Rafał Miłecki2015-11-261-8/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: take bcm47xx_nvram.h from kernel and not backportsHauke Mehrtens2015-11-133-58/+2
| | | | | | | | | | | | | | | | | | | compat-wireless/backports now contains a bcm47xx_nvram.h file to backport some of the functions in it which are used by the bcmfmac driver. This file just checks for the kernel versions and provide an empty implementations on older kernel versions. This is OK on most systems, but on bcm47xx / bcm53xx systems we want to call the real functions here. This commit removes the file from backports in our build process like we do it with the bcma and ssb header files. Instead we add a recent version into our kernel so all code uses only one header file. On bcm47xx / bcm53xx the real implementations of this code will be used. Reported-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: Netgear R8000: define GPIO powering USB portsRafał Miłecki2015-11-016-16/+62
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: replace USB patch fixing power control with the most recent versionRafał Miłecki2015-11-0110-146/+204
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add missing Netgear R8000 LEDsRafał Miłecki2015-10-304-2/+116
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add workaround for Netgear R8000 networkRafał Miłecki2015-10-303-2/+33
| | | | | | | | | | | | According to the info from NVRAM we should use port 8 for the CPU (and interface eth2). Unfortunately it doesn't work right now, so lets switch to the port 5. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Forwardport of r46586 from 15.05 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add clk tree driverHauke Mehrtens2015-10-2510-1/+1545
| | | | | | | | | | | These patches are written by Broadcom and will be in mainline Linux kernel soon. I had some problems to get them backported to kernel 4.1, so currently they are only available for 4.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-251-2/+2
| | | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support basic for kernel 4.3Hauke Mehrtens2015-10-2533-0/+3198
| | | | | | | | | | | | The files directory is now split up into the files which are needed for every kernel version and the files only needed by kernel 4.1. The files in files-4.1 are already merged into mainline kernel 4.3. This patch only removed patches which were merged into mainline kernel 4.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add missing patch from r47248 for USB 3.0Hauke Mehrtens2015-10-231-0/+62
| | | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update USB 3.0 driver with version submitted upstreamHauke Mehrtens2015-10-236-113/+188
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use Broadcom's proposed SMP implementationHauke Mehrtens2015-10-233-314/+685
| | | | | | | | | | This replaces our SMP implementation with a very similar version which is Broadcom currently trying to get into mainline kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: Add BCM SVK DT filesHauke Mehrtens2015-10-231-0/+218
| | | | | | | | | | | Add device tree files for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: remove support for kernel 3.18Hauke Mehrtens2015-10-1766-8335/+0
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-042-4/+1
| | | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add early support for Linksys EA6300 V1Rafał Miłecki2015-09-263-0/+96
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add NAND flash chip description for Asus RT-AC87UHauke Mehrtens2015-09-124-3/+35
| | | | | | | | | This should fix #20492. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: reorder some arch patchesRafał Miłecki2015-09-118-18/+18
| | | | | | | | | | This moves arch patches affecting many DTS files. Thanks to this change we can put some ready-to-mainline patches at 300-319 and simplify backporting process. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update to kernel 4.1Hauke Mehrtens2015-09-111-1/+1
| | | | | | | | | This makes bcm53xx use kernel 4.1 by default now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support sysupgrade with Netgear R7000 original firmwareRafał Miłecki2015-08-261-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add OpenWrt specific stuff for Netgear R7000Rafał Miłecki2015-08-268-2/+64
| | | | | | | | This adds DT things that couldn't be upstreamed yet. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46731 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use pending Netgear R7000 patchRafał Miłecki2015-08-264-118/+256
| | | | | | | | It includes support for LEDs and buttons. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46730 3c298f89-4303-0410-b956-a3cf2f4a3e73