Rafał Miłecki
af4bf61297
bcm53xx: use bcm47xx_nvram.c with the latest patches
...
This will be hopefully a mainline version.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 07:21:59 +00:00
Felix Fietkau
a325d7259e
bcm53xx: enable the full-line-of-zero optimization in the cache controller
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 14:30:40 +00:00
Rafał Miłecki
4b5af7dfa9
bcm53xx: add SMP support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 15:07:40 +00:00
Rafał Miłecki
c8dc94b365
bcm53xx: add support for Asus RT-AC68U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:15 +00:00
Rafał Miłecki
53117a6c7d
bcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:06 +00:00
Rafał Miłecki
dbd0ee9733
bcm53xx: refresh patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:56:47 +00:00
Rafał Miłecki
def8e2e478
kernel: backport bgmac patches
...
This allows dropping some hacky bcm53xx bgmac patch forcing link state.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 11:45:50 +00:00
Rafał Miłecki
bd74798e93
bcm53xx: fixup early device id 8012
...
Looks like the BCM53012 has a similar problem to the BCM53011.
Signed-off-by: Ian Kent <raven@themaw.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:32:02 +00:00
Rafał Miłecki
1c8d1d2a87
bcm53xx: fix printing NAND controller revision
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-07 12:31:42 +00:00
Rafał Miłecki
599bab39a8
bcm53xx: switch to IRQ buttons (keys)
...
Now bcma provides IRQ domain we don't have to poll anymore.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 23:15:55 +00:00
Rafał Miłecki
a304daee1f
bcm53xx: add one more NVRAM possible size (0x180000)
...
Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear
devices (R6250, R8000) require 0x180000.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-20 07:07:53 +00:00
Rafał Miłecki
612979e8a2
bcm53xx: use bcm47xx_wdt for restarting device
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 14:41:07 +00:00
Rafał Miłecki
a530948b3a
bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:11:00 +00:00
Rafał Miłecki
32c88d568c
kernel: backport bcma patches queued for 3.20
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:04:51 +00:00
Rafał Miłecki
ea56e056dd
bcm53xx: drop unused (and broken) GPIOLIB patch
...
First of all this patch was broken since adding 3.18 for bcm53xx. It was
modifying ARCH_BRCMSTB instead of ARCH_BCM_5301X.
Secondly we don't need it as ARCH_MULTIPLATFORM selects
ARCH_WANT_OPTIONAL_GPIOLIB for us.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 08:42:34 +00:00
Rafał Miłecki
a59727e3b8
bcm53xx: fix loading SPROM content by bcma init change
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 18:43:05 +00:00
Rafał Miłecki
61f0b79e06
bcm53xx: fix partitions on Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 07:25:43 +00:00
Rafał Miłecki
6748315e99
bcm53xx: fix booting BCM4709
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:58:35 +00:00
Rafał Miłecki
1897829a18
bcm53xx: fix Netgear R8000 serial console
...
Thanks raven-auand.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:30:44 +00:00
Rafał Miłecki
5edc190fef
bcm53xx: early support for Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 21:55:43 +00:00
Rafał Miłecki
8d9c9dc495
bcm53xx: backport official Buffalo WZR-900DHP patch
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-21 07:23:31 +00:00
Rafał Miłecki
c838b04abc
bcm53xx: backport spi-nor changes to add gd25q128 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-21 06:53:15 +00:00
Rafał Miłecki
ad05c6e1e5
bcm53xx: use final (backported) patch fixing serial console
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 08:04:27 +00:00
Rafał Miłecki
db57d96d70
bcm53xx: backport 3 BCM5301X patches from Hauke repo
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 07:21:30 +00:00
Rafał Miłecki
be8bde3c90
bcm53xx: rename patches modifying DTS files
...
Ths will allow us to use early 3xx numbers for patches designed for
sending mainline.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 06:58:03 +00:00
Rafał Miłecki
bf5ba711df
bcm53xx: add support/firmware for Asus RT-AC87U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 11:05:22 +00:00
Rafał Miłecki
2967c8a901
bcm53xx: drop hacky patch making bcma init later
...
The only reason this patch was helping was moving bcma init *after*
of_serial init. It was a bit of luck because both drivers use
device_initcall.
It isn't really a correct way to provide early logging.
Now we have earlyprintk support in bcm53xx we can drop this patch.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-16 15:59:29 +00:00
Rafał Miłecki
d900866b1d
bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 13:41:05 +00:00
Rafał Miłecki
fa29300ffa
bcm53xx: enable earlyprintk on more devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 07:42:48 +00:00
Hauke Mehrtens
440591ac63
bcm53xx: PCIe: add link check again
...
When there is no device connected to the controller we should not start
the controller. This also changes between PCIe 1.0 and PCIe 2.0 speed
based on the device. This code is based on code from the new Broadcom
PCIe controller driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 16:23:42 +00:00
Rafał Miłecki
d3b63e5b4e
bcm53xx: backport spi-nor changes and update bcm53xxspiflash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-17 14:53:25 +00:00
Rafał Miłecki
417acb795e
bcm53xx: support LEDs on Buffalo devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-11 11:23:26 +00:00
Rafał Miłecki
935b8f6e25
bcm53xx: backport NVRAM driver sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 21:50:57 +00:00
Rafał Miłecki
884483dbd5
bcm53xx: use bcma callback in SPROM driver to fill the SPROM
...
This is required because it has to be called at very precise moment. See
comment in driver for details.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 21:24:11 +00:00
Rafał Miłecki
d2783c74c3
bcm53xx: use static NVRAM pointer for now
...
This will allow us to sync with code sent for upstream.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 19:56:56 +00:00
Rafał Miłecki
1cef9e38eb
bcm53xx: clean up nvram header
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 18:29:26 +00:00
Rafał Miłecki
d81541be6c
bcm53xx: move SPROM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 18:07:01 +00:00
Rafał Miłecki
ff55d3ae26
bcm53xx: move NVRAM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 18:01:24 +00:00
Rafał Miłecki
c6275808a5
bcm53xx: move NVRAM header to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 17:37:24 +00:00
Rafał Miłecki
5469e95efe
bcm53xx: bcm_nand: fix compilation
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 18:28:54 +00:00
Rafał Miłecki
573007af32
bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 17:39:07 +00:00
Hauke Mehrtens
4de7a9e083
bcm53xx: update the NAND driver
...
This adds some updates to the NAND driver and refreshed the config.
Most of these changes are done in preparation for mainling it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 21:55:21 +00:00
Hauke Mehrtens
d45feeef92
bcm53xx: update the PCIe driver
...
This adds some updates to the PCIe driver and refreshed the config.
Most of these changes are done in preparation for mainling it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 21:54:53 +00:00
Hauke Mehrtens
270356800f
kernel: update bcma and ssb to wireless-testing master-2014-12-05
...
This brings ssb and bcma to wireless-testing tag master-2014-12-05
In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus-
axi-in-DTS-f.patch which adds the irq number in a way it is done in the
mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 21:53:20 +00:00
Hauke Mehrtens
ecc2fb197c
kernel: refresh patches for kernel 3.18
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 16:12:44 +00:00
Rafał Miłecki
159bc0e7e9
bcm53xx: 3.18: add early support for Buffalo WZR-900DHP
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 11:02:52 +00:00
Rafał Miłecki
aee384a70a
bcm53xx: backport BCM5301X patches from arm-soc.git next/dt
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 16:46:55 +00:00
Rafał Miłecki
5b2b0d07ec
bcm53xx: squeeze (rename) BCM5301X patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 16:15:16 +00:00
Rafał Miłecki
45fa00564d
bcm53xx: rename patches that were not upstreamed to 3xx
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 16:13:27 +00:00
Rafał Miłecki
ab94a647fe
kernel: update bcma up to 2014-10-27
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-05 16:11:03 +00:00