Commit Graph

83 Commits (4855417993c0f5d071fc001974f1473e2cf7be4f)

Author SHA1 Message Date
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 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 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
Rafał Miłecki ac8ed064ef bcm53xx: 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@43533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 10:55:44 +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
Rafał Miłecki dd2e536a76 kernel: backport bcm47xxpart changes queued for 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 21:41:21 +00:00
Hauke Mehrtens 136d642024 bcm53xx: activate early printk
This makes it possible to activate early printk.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 13:57:50 +00:00
Hauke Mehrtens 8f02803dbd bcm53xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 13:55:02 +00:00
Rafał Miłecki 0f059b7f6b bcm53xx: backport forgotten spi-nor change
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 14:34:43 +00:00
Rafał Miłecki 312a6dedf4 bcm53xx: backport spi-nor patches from 3.18-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 14:16:18 +00:00
Rafał Miłecki c0ed1033ba bcm53xx: add support for Asus RT-N18U LEDs & buttons
Got GPIOs from #18152 thanks to Grrruk

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 14:37:44 +00:00
Rafał Miłecki bb8bf9f3fa bcm53xx: hack UBI to erase all dirty blocks left by CFE
UBI requires PEBs to be formatted (with a valid UBI header) or empty
(0xFF), however CFE doesn't clear blocks after flashing the image. To
workaround this problem, teach UBI to recognize EOF mark in a similar
way JFFS2 handles that in OpenWrt.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 20:52:22 +00:00
Rafał Miłecki 557ac83ce4 bcm53xx: add support for Buffalo WZR-600DHP2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-15 07:14:13 +00:00
Rafał Miłecki c0af997c99 bcm53xx: fix Asus RT-N18U support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-15 07:12:46 +00:00
Rafał Miłecki 47ae84174e bcm53xx: fix hangs in PCIe2 host driver
Accessing CFG regs with no card present results in SoC hang.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 08:06:15 +00:00
Rafał Miłecki 31b4ccdf31 bcm53xx: add temp bcma workaround that allows debugging
This way we will get logs if case of hang/crash in bcma or related code.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 05:31:54 +00:00