Felix Fietkau
24e9f52106
bcm53xx: add support for the Buffalo WXR-1900DHP
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45419
2015-04-13 17:32:25 +00:00
Felix Fietkau
1e48a48915
bcm53xx: fix GPIO pins > 16
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45418
2015-04-13 17:32:18 +00:00
Felix Fietkau
1f70f452cc
bcm53xx: add missing l2 cache controller AUXCTL bit
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45416
2015-04-13 17:32:05 +00:00
Felix Fietkau
d24388da44
bcm53xx: add a comment about the gpio base patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45408
2015-04-12 22:10:44 +00:00
Felix Fietkau
2dbe131a62
bcm53xx: fix bcma gpio chip base
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45399
2015-04-12 17:22:04 +00:00
Rafał Miłecki
503ccc502d
bcm53xx: fix UBI EOF patch to allow sysupgrade after first installation
...
With previous version of patch info about need of erasing blocks was
stored once per boot. It was breaking in following scenario:
1) First boot after installation (erasing blocks after 0xdeadc0de)
2) Doing sysupgrade (with ubidetach & ubiformat)
3) Attaching UBI again (it caused all blocks to be erased)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45387
2015-04-12 10:20:59 +00:00
Rafał Miłecki
71fcbffc91
bcm53xx: Luxul XWC-1000 has only 128 MiB of RAM
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45352
2015-04-10 09:42:48 +00:00
Rafał Miłecki
4c1ee6f24d
bcm53xx: replace few BCM5301X patches with versions sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45311
2015-04-08 09:22:02 +00:00
Rafał Miłecki
bf828d3fd0
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>
SVN-Revision: 45204
2015-04-01 07:21:59 +00:00
Felix Fietkau
68ca1f285c
bcm53xx: enable the full-line-of-zero optimization in the cache controller
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44977
2015-03-25 14:30:40 +00:00
Rafał Miłecki
fb6164a377
bcm53xx: add SMP support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44939
2015-03-22 15:07:40 +00:00
Rafał Miłecki
e0155ad7b0
bcm53xx: add support for Asus RT-AC68U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44934
2015-03-22 01:57:15 +00:00
Rafał Miłecki
d324dd4ff3
bcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44932
2015-03-22 01:57:06 +00:00
Rafał Miłecki
a4523c8e1d
bcm53xx: refresh patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44931
2015-03-22 01:56:47 +00:00
Rafał Miłecki
ba10454b91
kernel: backport bgmac patches
...
This allows dropping some hacky bcm53xx bgmac patch forcing link state.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44917
2015-03-21 11:45:50 +00:00
Rafał Miłecki
2b56913734
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>
SVN-Revision: 44680
2015-03-11 17:32:02 +00:00
Rafał Miłecki
c3b9b35155
bcm53xx: fix printing NAND controller revision
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44622
2015-03-07 12:31:42 +00:00
Rafał Miłecki
c2cf1abf8f
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>
SVN-Revision: 44596
2015-03-03 23:15:55 +00:00
Rafał Miłecki
a416029d4d
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>
SVN-Revision: 44497
2015-02-20 07:07:53 +00:00
Rafał Miłecki
b5310e180d
bcm53xx: use bcm47xx_wdt for restarting device
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44408
2015-02-11 14:41:07 +00:00
Rafał Miłecki
6bafb2f810
bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44390
2015-02-11 10:11:00 +00:00
Rafał Miłecki
ddcbef5766
kernel: backport bcma patches queued for 3.20
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44385
2015-02-11 10:04:51 +00:00
Rafał Miłecki
3ae30df7db
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>
SVN-Revision: 44383
2015-02-11 08:42:34 +00:00
Rafał Miłecki
3dbaab6f67
bcm53xx: fix loading SPROM content by bcma init change
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44367
2015-02-09 18:43:05 +00:00
Rafał Miłecki
539cd23892
bcm53xx: fix partitions on Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44219
2015-01-30 07:25:43 +00:00
Rafał Miłecki
1d1a1c19bf
bcm53xx: fix booting BCM4709
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44218
2015-01-30 06:58:35 +00:00
Rafał Miłecki
ee75859533
bcm53xx: fix Netgear R8000 serial console
...
Thanks raven-auand.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44217
2015-01-30 06:30:44 +00:00
Rafał Miłecki
251b42d491
bcm53xx: early support for Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44186
2015-01-28 21:55:43 +00:00
Rafał Miłecki
bba98a3c53
bcm53xx: backport official Buffalo WZR-900DHP patch
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44070
2015-01-21 07:23:31 +00:00
Rafał Miłecki
3b701e8023
bcm53xx: backport spi-nor changes to add gd25q128 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44069
2015-01-21 06:53:15 +00:00
Rafał Miłecki
f0d73a4381
bcm53xx: use final (backported) patch fixing serial console
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44059
2015-01-20 08:04:27 +00:00
Rafał Miłecki
ea1fe45fae
bcm53xx: backport 3 BCM5301X patches from Hauke repo
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44058
2015-01-20 07:21:30 +00:00
Rafał Miłecki
9758327d83
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>
SVN-Revision: 44057
2015-01-20 06:58:03 +00:00
Rafał Miłecki
78b0da393b
bcm53xx: add support/firmware for Asus RT-AC87U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44051
2015-01-19 11:05:22 +00:00
Rafał Miłecki
71c8ec020d
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>
SVN-Revision: 43981
2015-01-16 15:59:29 +00:00
Rafał Miłecki
4ae1e883e8
bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43972
2015-01-14 13:41:05 +00:00
Rafał Miłecki
f59c84c431
bcm53xx: enable earlyprintk on more devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43965
2015-01-14 07:42:48 +00:00
Hauke Mehrtens
192e945479
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>
SVN-Revision: 43748
2014-12-18 16:23:42 +00:00
Rafał Miłecki
e21e9c5548
bcm53xx: backport spi-nor changes and update bcm53xxspiflash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43738
2014-12-17 14:53:25 +00:00
Rafał Miłecki
b55199cf41
bcm53xx: support LEDs on Buffalo devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43616
2014-12-11 11:23:26 +00:00
Rafał Miłecki
40d94a3ef0
bcm53xx: backport NVRAM driver sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43612
2014-12-10 21:50:57 +00:00
Rafał Miłecki
ba81966001
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>
SVN-Revision: 43611
2014-12-10 21:24:11 +00:00
Rafał Miłecki
b0b43e1ef9
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>
SVN-Revision: 43608
2014-12-10 19:56:56 +00:00
Rafał Miłecki
960130e99c
bcm53xx: clean up nvram header
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43606
2014-12-10 18:29:26 +00:00
Rafał Miłecki
7093580424
bcm53xx: move SPROM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43604
2014-12-10 18:07:01 +00:00
Rafał Miłecki
27a91a99d9
bcm53xx: move NVRAM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43603
2014-12-10 18:01:24 +00:00
Rafał Miłecki
3fab0d818c
bcm53xx: move NVRAM header to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43602
2014-12-10 17:37:24 +00:00
Rafał Miłecki
613bc3ef3f
bcm53xx: bcm_nand: fix compilation
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43584
2014-12-08 18:28:54 +00:00
Rafał Miłecki
aed6b26431
bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43580
2014-12-08 17:39:07 +00:00
Hauke Mehrtens
7a2f186d70
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>
SVN-Revision: 43546
2014-12-07 21:55:21 +00:00