Commit Graph

102 Commits (5b6f0250f644756c573557add4b103ecf7560dec)

Author SHA1 Message Date
John Crispin 5b6f0250f6 lantiq: ARV752DPW - fix dts file
Use the same led logic and labels as the OEM firmware (red = okay,
blue = failure).

Add the red internet led.

Remove missing usb led workaround. The workaround shouldn't be in the
default configuration.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48036
9 years ago
John Crispin aa99acdb46 lantiq: ARV752DPW22 - fix dts file
No need to switch (and keep) on all leds at boot. Use the same led
logic and labels as the OEM firmware (red = okay, blue = failure).

Add the red internet led.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48035
9 years ago
John Crispin 2eead1c891 lantiq: DGN1000B - fix typo in dts file
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48034
9 years ago
John Crispin e557011041 lantiq: ARV4518PWR01* move redundant parts to dtsi
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48033
9 years ago
John Crispin 56fa6d8241 lantiq: P2812HNUFX - move leds to dtsi
Beside the used labels, they are the same on both boards.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48031
9 years ago
John Crispin e33aa71045 lantiq: TDW89x0 - increase spi frequency
Use the same max spi frequency as set in u-boot.

According to the datasheets, the Q64-104HIP as well as the Winbond
25Q64FVSIG support spi frequencies up to 50 MHz. During my tests, the
Q64-104HIP couldn't be recognized/initialized if the frequency
was > 40MHz.

Both chips do support fast read as well.

While touching the dts file, I fixed the dtc compiler warnings.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47994
9 years ago
John Crispin 5e10f67b67 lantiq: Configure LED polarity for TDW8970 and TDW8980.
This patch configures the correct ath9k WLAN LED polarity for the TDW8970,
and for the TDW8980 as well.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47969
9 years ago
John Crispin 21493c984a lantiq: fix ARV7519RW22 buttons
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47918
9 years ago
John Crispin 0a6a37be83 lantiq: add the TDW8980 5GHz led
Still unused, but u-boot doesn't take care of the led, which results in a
permanent switched on 5GHz LED.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47915
9 years ago
John Crispin 34934609f9 lantiq: Configure LED polarity for TDW8970.
This patch configures the correct ath9k WLAN LED polarity for the TDW8970.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47913
9 years ago
John Crispin ec21c9821c lantiq: Configure disabled WLAN bands for TDW89X0.
The TDW8970 has a AR9381, which is the bgn 3x3:3 variant of the AR938x family.

The TDW8980 has a AR9287, which is the bgn 2x2:2 variant of the AR928x family.

This means that the chip for both routers is 2.4 GHz only.

Anyway, the manufacturer didn't disable the 5 GHz band in the EEPROM partition
(at least on my TDW8970).

So this patch disables the 5 GHz band.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47912
9 years ago
Felix Fietkau e82404ce6c lantiq: get rid of the dsl_fw mtd partition
Now that we have redistributable vdsl/adsl firmware blobs in /lib/firmware,
we can drop the dsl_fw partition and extend the firmware partition.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 47783
9 years ago
Felix Fietkau 9330296932 lantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47768
9 years ago
Felix Fietkau 46112609d0 lantiq: fix up m25p80 device ids (#20975)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47690
9 years ago
John Crispin 42c9a85e8e Revert "lantiq: activate spi-xway on TDW89X0"
This reverts commit 68c2e4789b4f071ee75d39248f4d08fe8283eb28.

commit r47159 was bad

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

SVN-Revision: 47207
9 years ago
John Crispin 02197db96f lantiq: activate spi-xway on TDW89X0
use the hardware spi core in favour of spi-gpio.

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

SVN-Revision: 47159
9 years ago
John Crispin a0543c2bdc lantiq: several ARV7519RW22 fixes
Fixes ARV7519RW22 flash register (only 1 flash).
Power LED is green, not red.
Rename message LEDs to internet.
Add LEDs configuration (lan, wan, power).
Enable switch VLANs.
Fix secondary USB.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 47132
9 years ago
John Crispin 161179f40b lantiq: Add target TP-Link TD-W8980
The device is similar to the TD-W8970, beside a different Atheros 2.4 GHz
wireless chip and the additional, PCI connected, WAVE300 5 GHz wireless.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47130
9 years ago
John Crispin 4595440215 lantiq: Introduce DWC2 compatible DTS definitions for AR9 USB
Since the AR9 USB is very similar to the VR9 USB it too can be used with
the upstream DWC2 driver.

Here are the DTS definitions which make it compatible with the DWC2
driver.

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

SVN-Revision: 46914
9 years ago
John Crispin b9963bbe80 lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)
lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)

Signed-off-by: Jannis Pinter <jannis@pinterjann.is>

SVN-Revision: 46224
9 years ago
John Crispin 6bdd209f15 lantiq: Add support for the BT Home Hub 5A
u-boot support depends on the next "upstream" version ([0]) from
Daniel Schwierzeck.
Since the installation process is quite complicated a "how to" was
added to the wiki: [1]

[0] https://github.com/danielschwierzeck/u-boot-lantiq/tree/openwrt/v2014.01-next
[1] http://wiki.openwrt.org/toh/bt/homehub_v5a

V2: Use the correct PCI interrupt (fixes 2.4GHz wifi)
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 46223
9 years ago
John Crispin 415fe71d00 lantiq: Make the MEI address available for kernel drivers
Newer DSL driver versions depend on the address information.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 46221
9 years ago
John Crispin ca1db6b5ce lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)
SVN-Revision: 45897
9 years ago
Jonas Gorski 43c0a725af lantiq: fix VG3503J rootfs offset
In r44391 the kernel partion size was increased to allow larger kernels,
but the rootfs partition offset was missed. Fix this by setting the
rootfs offset to the expected value.

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

SVN-Revision: 45868
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 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 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 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
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 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 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 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 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 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
John Crispin 0f790247e3 lantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable pcie by dts
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 42907
10 years ago
John Crispin c085d07ee3 lantiq - vgv7519: load rt5362 eeprom from bootloader param patition
SVN-Revision: 42824
10 years ago
John Crispin 6a961da231 lantiq - vgv7519: enable pci bus
SVN-Revision: 42823
10 years ago
John Crispin c2e4007bc1 lantiq - vgv7519: remove spi_cs4, since the board use this line for something else
SVN-Revision: 42822
10 years ago
John Crispin 4cdf861521 lantiq - vgv7519: fix open-drain configuration for stp
SVN-Revision: 42821
10 years ago
John Crispin 1e7962ceaf lantiq - vgv7519: add pci-rst entry into dts
SVN-Revision: 42820
10 years ago
John Crispin ea9aec2fa9 lantiq - vgv7519: remove exin definition copied from dev-board dts
SVN-Revision: 42819
10 years ago
John Crispin 9483a322dd lantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for this board
SVN-Revision: 42818
10 years ago
John Crispin 48d67fe650 lantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 for pci handling
SVN-Revision: 42817
10 years ago
John Crispin d0606948cb lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio and let peripherials on pci bus to comes up)
SVN-Revision: 42816
10 years ago
John Crispin 3dd93e8336 lantiq: move the lantiq,switch property into the interface node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42574
10 years ago
John Crispin e47fbcbf1d lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

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

SVN-Revision: 42316
10 years ago
John Crispin b796ff6ef3 lantiq: generate unique ARV7519RW22 firmware
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 42183
10 years ago
John Crispin 5f71dbb005 lantiq: improve ARV7519RW22 support
- use full board name
- rename uboot-env partition
- add dsl_fw partition
- remove unneeded pinmux groups
- move gigabit ethernet to LAN
- load mac address from mtd

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 42180
10 years ago
John Crispin c21a20cd78 lantiq: fix dgn3500 and td8970 wifi
ath9k failed to come up due to a bad mac addr

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

SVN-Revision: 41860
10 years ago