aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: add a better fix to strip FCS from ethernet packets on XRX200Felix Fietkau2015-03-151-0/+25
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44771
* lantiq: enable atm-esi by default for xrx200Felix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44769
* kenrel: refresh patchesJohn Crispin2015-03-119-268/+268
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44678
* lantiq: make the new dwc2 support only work for vr9John Crispin2015-03-111-4/+5
| | | | | | | | danube needs to be added Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44677
* lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2John Crispin2015-03-113-1/+19
| | | | | | | | | | | | | | 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
* lantiq: Use platform endianness when accessing dwc2 registersJohn Crispin2015-03-111-0/+3184
| | | | | | | | | | | | | | | | | | | | 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
* lantiq: Add sensible hw-defaults for dwc2John Crispin2015-03-111-0/+45
| | | | | | | | | | | 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
* lantiq: Configure gpio power output pin when initializing dwc2 usbJohn Crispin2015-03-111-0/+35
| | | | | | | | | 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
* lantiq: Add usb initialization bits from ltq-hcd to platform initJohn Crispin2015-03-111-0/+95
| | | | | | | | | | | | | | 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
* kernel: move KERNFS to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | 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
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-062-2/+0
| | | | | | | | | 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
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | | | | 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
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-062-2/+0
| | | | | | | | | | 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
* kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configsJonas Gorski2015-03-013-3/+0
| | | | | | | | | 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
* lantiq: disable buffered writes on Intel command set flashJohn Crispin2015-02-142-0/+22
| | | | | | | | | | | | 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
* lantiq: Fix flash for targets with NO_XIPJohn Crispin2015-02-142-2/+2
| | | | | | | | | 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
* lantiq: fix DGN3500 root deviceJohn Crispin2015-02-131-1/+1
| | | | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 44428
* lantiq: make m25p80 work againJohn Crispin2015-02-122-2/+12
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44421
* lantiq: fix mac addr assignment inside lantiq_etopJohn Crispin2015-02-121-6/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44420
* lantiq: PCI should be enabled on vrx200John Crispin2015-02-121-1/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44419
* lantiq: fix VG3503J partition table for newer kernelsJohn Crispin2015-02-112-3/+3
| | | | | | | | the kernel has increased and does not fit into the 1,5MB anymore. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44391
* lantiq: td-w8970: fix failsafe modeJohn Crispin2015-02-091-0/+18
| | | | | | | | Fix failsafe mode for TD-W8970, register interface for preinit. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 44353
* lantiq: td-w8970: fix reset buttonJohn Crispin2015-02-091-2/+2
| | | | | | | | 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
* lantiq: add 3.18 supportJohn Crispin2015-02-0949-349/+16771
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44348
* lantiq: fix patches after 3.14.32 bumpLuka Perkov2015-02-0810-65/+49
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44320
* lantiq: correct value for fpi clock on ar9John Crispin2015-01-231-0/+21
| | | | | | | | | | | | | | | | | | | | | 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
* lantiq: DGN3500 cleanupsJohn Crispin2015-01-182-3/+1
| | | | | | | | | 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
* lantiq: Restore call to orphaned etop functionJohn Crispin2015-01-181-16/+44
| | | | | | | | | 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
* lantiq: Fix initscript issueJohn Crispin2015-01-181-1/+1
| | | | | | | | | 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
* Remove old P2812HNUFX dtsJohn Crispin2015-01-171-308/+0
| | | | | | | | Remove unused P2812HNUFX board definition. Signed-off-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 43988
* Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCKJohn Crispin2015-01-176-12/+39
| | | | | | | | 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
* lantiq: Add device tree for P2812HNUF1 and P2812HNUF3John Crispin2015-01-173-0/+472
| | | | | | | | Add device tree for P2812HNUF1 and P2812HNUF3. Signed-off-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 43986
* lantiq: BT Home Hub 3A - userspaceJohn Crispin2015-01-083-2/+7
| | | | | | | | BT Home Hub 3A - userspace Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 43879
* lantiq: BT Home Hub 3A - profileJohn Crispin2015-01-082-0/+21
| | | | | | | | BT Home Hub 3A - profile Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 43878
* lantiq: BT Home Hub3A - device treeJohn Crispin2015-01-081-0/+210
| | | | | | | | BT Home Hub3A - device tree Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 43877
* lantiq: Fix adsl led on Home Hub 2BJohn Crispin2015-01-081-1/+1
| | | | | | | | This fixes the adsl led on the Home Hub 2B. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 43876
* lantiq: add missing NAND_WRITE_DATA in NAND driver.Felix Fietkau2015-01-052-2/+2
| | | | | | Signed-off-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 43856
* lantiq: remove linux 3.10 supportFelix Fietkau2014-12-1351-17713/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43685
* kernel: refresh patchesFelix Fietkau2014-12-0841-484/+139
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43564
* lantiq: Concatenate multiple flash chips for lantiq-flashJohn Crispin2014-11-141-0/+215
| | | | | | | Signed-off-by: Maikel Bloemendal <openwrt@maikelenyvonne.nl> Tested-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 43272
* lantiq: vgv7519 - set some defaults for ledsJohn Crispin2014-11-141-0/+7
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 43256
* lantiq: set default led configuration from /sys entry later, after per board ↵John Crispin2014-11-141-5/+5
| | | | | | | | settings Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 43255
* vgv7519: fix profile, this board have a rt2800-pci boardJohn Crispin2014-10-301-2/+2
| | | | SVN-Revision: 43115
* lantiq: vgv7519: fix board_config on dts, read mac address and setJohn Crispin2014-10-293-14/+16
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 43109
* lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotesJohn Crispin2014-10-291-3/+7
| | | | | | | | | | 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
* vgv7519: support more recent board release with vrx288 v1.2John Crispin2014-10-261-1/+2
| | | | | | | | The existance of this new board has been confirmed and tested by the guy on this commit https://github.com/openwrt-vgv7519/uboot-bin/commit/76fdd8e638f81e324ffe77856481bd147398f6e8 SVN-Revision: 43072
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | 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
* lantiq xway: generate ramdisk image by defaultJohn Crispin2014-10-141-1/+1
| | | | | | | | | | 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
* lantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable ↵John Crispin2014-10-142-1/+56
| | | | | | | | pcie by dts Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 42907
* lantiq - vgv7519: load rt5362 eeprom from bootloader param patitionJohn Crispin2014-10-064-1/+20
| | | | SVN-Revision: 42824