Commit Graph

503 Commits (10c5a4401757139ffac0754384d079ac47f2dc94)

Author SHA1 Message Date
John Crispin 986af9e64e lantiq: make xrx200 targets use the upstream dwc2 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44857
9 years ago
John Crispin 257671615b lantiq: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44812
9 years ago
Felix Fietkau d8d9282372 lantiq: add a better fix to strip FCS from ethernet packets on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44771
9 years ago
Felix Fietkau 55cdb4dbb3 lantiq: enable atm-esi by default for xrx200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44769
9 years ago
John Crispin da3fd5dbf9 kenrel: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44678
9 years ago
John Crispin d5c250b91a lantiq: make the new dwc2 support only work for vr9
danube needs to be added

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44677
9 years ago
John Crispin 2a390925df lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2
Here the device tree entry for ifxhcd is listed as compatible with one
supported in dwc2 (after patching the dwc driver appropriately).

A second entry is added to support the second core of the hcd. This
entry is listed to be compatible with only dwc2. Done this way there
should be backwards support for both hcd drivers (ltq-hcd and dwc2)

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44676
9 years ago
John Crispin 72822d0192 lantiq: Use platform endianness when accessing dwc2 registers
This patch switches calls to readl/writel to their
dwc2_readl/dwc2_writel equivalents which preserve platform endianness.

This patch is necessary to access dwc2 registers correctly on big
endian systems such as the mips based SoCs made by Lantiq. Then dwc2
can be used to replace ifx-hcd driver for Lantiq platforms found e.g.
in OpenWrt.

The patch was autogenerated with the following commands:
$EDITOR core.h
sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h
sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44675
9 years ago
John Crispin d77c857509 lantiq: Add sensible hw-defaults for dwc2
Lantiq driver does not work with autodetected fifo sizes so use ones
from original ltq-hcd driver in dwc2. Other values can be
autodetected.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44674
9 years ago
John Crispin 2ddcf4c46e lantiq: Configure gpio power output pin when initializing dwc2 usb
Port gpio code from original ltq-hcd driver to dwc2.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44673
9 years ago
John Crispin a23da431dc lantiq: Add usb initialization bits from ltq-hcd to platform init
Add VR9 specific usb initialization bits from ltq-hcd to platform
initialization.

This patch is more of a proof-of-concept than production quality
since the initialization registers are different on other lantiq
platforms.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44672
9 years ago
John Crispin d15ac306fa kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44615
9 years ago
John Crispin f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
9 years ago
John Crispin 6617845711 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44612
9 years ago
John Crispin 7886cced18 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44611
9 years ago
Jonas Gorski 3139140339 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs
Most MIPS targets have it disabled, so move the symbol to the generic
configs to keep target configs small.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44583
9 years ago
John Crispin e07c4f2150 lantiq: disable buffered writes on Intel command set flash
Some Lantiq SoCs are not able to use buffered writes properly with
Intel command set flash due to the way NOR addresses on EBU are
manipulated. This patch disables buffered writes on those devices.
The only device affected at the moment is ARV4510PW, others use
AMD/Fujitsu command set.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44451
10 years ago
John Crispin a15dd8ec78 lantiq: Fix flash for targets with NO_XIP
For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails.
Fix this by using pdev->resource[i].start instead.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44450
10 years ago
John Crispin 440d9ddf7f lantiq: fix DGN3500 root device
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44428
10 years ago
John Crispin dbfb21ee90 lantiq: make m25p80 work again
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44421
10 years ago
John Crispin 1eb616764e lantiq: fix mac addr assignment inside lantiq_etop
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44420
10 years ago
John Crispin c5b7e1aaf4 lantiq: PCI should be enabled on vrx200
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44419
10 years ago
John Crispin f90d9d486a lantiq: fix VG3503J partition table for newer kernels
the kernel has increased and does not fit into the 1,5MB anymore.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44391
10 years ago
John Crispin 1c0c1ebc6b lantiq: td-w8970: fix failsafe mode
Fix failsafe mode for TD-W8970, register interface for preinit.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44353
10 years ago
John Crispin 1c9dc26ce9 lantiq: td-w8970: fix reset button
For TP-LINK TD-W8970 button should work as "reset", not "BTN_1".

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44352
10 years ago
John Crispin 826b461427 lantiq: add 3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44348
10 years ago
Luka Perkov 683da1384b lantiq: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44320
10 years ago
John Crispin 74b3597d07 lantiq: correct value for fpi clock on ar9
This adds a patch to target/linux/lantiq/patches-3.14
fixing a bug clock code on ar9. The current version returns
the wrong value for the fpi clock frequency in some
cases.

See discussion for further details:
https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html

I'm not sure about the patch naming and numbering convention.
Do please let me know it this is not OK.

Many thanks,

Ben Mulvihill

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 44083
10 years ago
John Crispin fcbc21890c lantiq: DGN3500 cleanups
This patch builds on the previous three to streamline support for the
Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44032
10 years ago
John Crispin 4424620c51 lantiq: Restore call to orphaned etop function
It seems the call to ltq_get_eth_mac() disappeared at some point. This
patch puts it where it currently most makes sense.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44031
10 years ago
John Crispin c80b429fc1 lantiq: Fix initscript issue
Currently this initscript fails if the macaddr has any leading zeroes.
This patch corrects the problem.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44029
10 years ago
John Crispin 8cbf97e936 Remove old P2812HNUFX dts
Remove unused P2812HNUFX board definition.

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43988
10 years ago
John Crispin 7f77870c19 Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK
Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43987
10 years ago
John Crispin b4d2b69c43 lantiq: Add device tree for P2812HNUF1 and P2812HNUF3
Add device tree for P2812HNUF1 and P2812HNUF3.

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43986
10 years ago
John Crispin c9a390f9e1 lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43879
10 years ago
John Crispin 9d7d29439b lantiq: BT Home Hub 3A - profile
BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43878
10 years ago
John Crispin 550784f1ea lantiq: BT Home Hub3A - device tree
BT Home Hub3A - device tree

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43877
10 years ago
John Crispin 1ba71cbc14 lantiq: Fix adsl led on Home Hub 2B
This fixes the adsl led on the Home Hub 2B.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43876
10 years ago
Felix Fietkau 5bbe758e4e lantiq: add missing NAND_WRITE_DATA in NAND driver.
Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43856
10 years ago
Felix Fietkau c7e8b5ebbd lantiq: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43685
10 years ago
Felix Fietkau 9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
10 years ago
John Crispin 44d703160b lantiq: Concatenate multiple flash chips for lantiq-flash
Signed-off-by: Maikel Bloemendal <openwrt@maikelenyvonne.nl>
Tested-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 43272
10 years ago
John Crispin 4b5c23e1e3 lantiq: vgv7519 - set some defaults for leds
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 43256
10 years ago
John Crispin 901dddce31 lantiq: set default led configuration from /sys entry later, after per board settings
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 43255
10 years ago
John Crispin c466262d53 vgv7519: fix profile, this board have a rt2800-pci board
SVN-Revision: 43115
10 years ago
John Crispin 36e862da17 lantiq: vgv7519: fix board_config on dts, read mac address and set
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 43109
10 years ago
John Crispin 9762c54914 lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes
lantiq_dsl.sh didn't work with VDSL chipsets for now, fix that by
detecting whether vdsl_cpe_control or dsl_cpe_control should be used.
Also add missing quotes around shell string comparision.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43101
10 years ago
John Crispin 4d7ae64b73 vgv7519: support more recent board release with vrx288 v1.2
The existance of this new board has been confirmed and tested by the guy on this commit

76fdd8e638

SVN-Revision: 43072
10 years ago
Felix Fietkau c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
10 years ago
John Crispin ddb9bf4bac lantiq xway: generate ramdisk image by default
The installation process on nand-based boards using ubi
like the BTHOMEHUBV2B makes use of a ramdisk image, so it
makes sense to generate this by default.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 42920
10 years ago