Florian Fainelli
c6d9ec5173
multiple SPI driver fixes
...
- fix platform device registration
- fix chipselect, command register defines, add missing clock
- make slave select proper
- fix multibytes transferts
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>
SVN-Revision: 24849
14 years ago
Daniel Dickinson
dc9c1ac1f7
patches-2.6.35: mtd flashmap: Really fixed sparelen and rootfslen. The real rootfslen for OpenWRT images comes from a bigendian uint32_t in reserved1 of the bcm_tag, which is now used to correctly calculate the rootfslen (and thus the sparelen).
...
SVN-Revision: 24843
14 years ago
Daniel Dickinson
5ee2a6c696
patches-2.6.36: Fix flashmap spare length calculation from previous commit (for rootfs and rootfs_data mtd partitions). Apparently the interruption in working on it resulted in an incorrect memory of getting it working.
...
SVN-Revision: 24842
14 years ago
Florian Fainelli
093ebfe217
spi driver: remove bcm_rset usage
...
Since bcm636x platform embeds two spi master device,
the attached patch removes static bcm_rset usage, replaced by
"bs->regs" field for all I/O operation.
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 24840
14 years ago
Daniel Dickinson
fc3a1d0ba3
Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
...
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>
SVN-Revision: 24838
14 years ago
Daniel Dickinson
31f7259e3e
mtd flashmap: Switched to calculating the rootfs size rather than depending on being given the size in the imagetag. This is because solving the problem of second boot CRC errors requires changeing the rootfs size in the image to zero.
...
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>
SVN-Revision: 24834
14 years ago
Daniel Dickinson
44e22cbd49
Fixed Comtrend CT536_CT5621 board settings. These boards are based on the 96348GW-11 reference design but have different GPIOs therefore we use the board fixups now availabed (thanks the patches by Jonas Gorski) to create a separate board entry for these boards and leave the reference design with reference GPIOs. Also these boards only have enet1 (no enet0) so we set that in the board definition, and use a defconfig for a single interface network.
...
SVN-Revision: 24442
14 years ago
Daniel Dickinson
f8ed133c0a
patches: Renamed 150-led_count to 141-led_count so it comes before the 15-alice_gate2_leds.patch as which led count was mistakenly given the same number.
...
SVN-Revision: 24310
14 years ago
Daniel Dickinson
0e839ea40d
Revert "[brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T."
...
This reverts commit 43511418ae2771a6662a83a254f06e37f4ac19e5.
It belongs in generic not brcm63xx.
SVN-Revision: 24308
14 years ago
Daniel Dickinson
183d628485
patches-2.6.35: Added flash chip definition for Macronix MX29LV640T. Thanks blunoise
...
SVN-Revision: 24307
14 years ago
Daniel Dickinson
8f9b14dafe
boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are different than the reference design 96348GW so we use fixup to allow us to define the correct ones, also the GW6000 has no GPIO-controlled leds.
...
SVN-Revision: 24305
14 years ago
Daniel Dickinson
3baa168e09
patches: Refreshed patches after led_count
...
SVN-Revision: 24304
14 years ago
Daniel Dickinson
b963cbde33
board definitions: Added patch for calculating led count, which was part of the patch removed in the previous commit
...
SVN-Revision: 24303
14 years ago
Daniel Dickinson
e5ca4d81f4
Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs.
...
SVN-Revision: 24302
14 years ago
Daniel Dickinson
244db5ac6a
board definition: Fixed CPVA642 LED definitions
...
SVN-Revision: 24275
14 years ago
Daniel Dickinson
8316194016
board definitions: Added CPVA642 GPIO leds and buttons and refreshed patches later in series due to fuzz
...
SVN-Revision: 24274
14 years ago
Daniel Dickinson
314bce63e6
bcm63xx: Add support for the T-Com Speedport W 500V.
...
Add support for the T-Com Speedport W 500V using a special tagged image as it
identifies itself as a 96348GW, but has some gpios wired differently, and also
has only one ethernet port without a switch attached to it.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 24190
14 years ago
Daniel Dickinson
3a49f669f2
bcm63xx: Add board id override fixup.
...
Add a fixup for the kernel to check the bcm tag of the image for a boardid in
the information1 field, and use that instead of the supplied one by cfe. This
is triggered by a + at the start of the information1 field.
Also modify the image generation to generate apropriately tagged images.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 24189
14 years ago
Daniel Dickinson
c51d772e62
bcm63xx: Finalize support for DSL-274xB, rev C2.
...
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition,
resulting in a kernel panic on boot.
This patch adds it, and also renames the generated image name to properly
reflect that it is for the revision C2, and for both the DSL-2740B and
DSL-2741B.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 24188
14 years ago
Daniel Dickinson
049e59a27b
Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
...
SVN-Revision: 24040
14 years ago
Claudio Mignanti
7583fe8668
Add wps button on alice gate
...
SVN-Revision: 23903
14 years ago
Florian Fainelli
ffc84cf75c
register uart driver on livebox ( #8013 )
...
SVN-Revision: 23653
14 years ago
Florian Fainelli
7bf5647070
refresh 2.6.35 patches
...
SVN-Revision: 23652
14 years ago
Claudio Mignanti
697d3e7066
Fix nxp_74hc164 driver compile error (builbot)
...
SVN-Revision: 23623
14 years ago
Florian Fainelli
20d28f7685
fix platform_devices registration
...
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>
SVN-Revision: 23517
14 years ago
Florian Fainelli
af0e5167bc
add bcm96338W2 e7t board (D-Link 2640U/BRU/C, #7558 )
...
SVN-Revision: 23508
14 years ago
Florian Fainelli
a1ea84dbb6
fix SPI driver, move register out of driver code
...
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com
SVN-Revision: 23504
14 years ago
Florian Fainelli
265bf2ccb0
refresh patches
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 23502
14 years ago
Florian Fainelli
9f4c51acb7
refresh nb4 support. Register 74x164 device
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 23501
14 years ago
Florian Fainelli
8cbd9d5a2e
add spi devices board info int bcm63xx_boards
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 23500
14 years ago
Florian Fainelli
b65e494976
add 74x164 SPI chip support
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 23499
14 years ago
Florian Fainelli
cd9b90235c
backport SPI master with no RXTX support (from 2.6.36)
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 23498
14 years ago
Florian Fainelli
d5854cfd4d
register earlier extended platform devices
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 23497
14 years ago
Florian Fainelli
f4f789f211
register udc and spi devices at the correct init level
...
SVN-Revision: 23035
14 years ago
Florian Fainelli
fab2e77357
refresh 2.6.35 patches
...
SVN-Revision: 23034
14 years ago
Florian Fainelli
2e343d9760
add 2.6.35 support
...
SVN-Revision: 22800
14 years ago