Commit Graph

715 Commits (88019c6c77f6615aff586250b9d001d5f377bad7)

Author SHA1 Message Date
John Crispin 88019c6c77 lantiq: add ARV4525PW wifi led
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 90c48dd49d lantiq: fix VG3503J loader generation
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin d5666b98fa lantiq: fix fritz7320 wifi support
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 98d00c35e3 lantiq: fix io_space_limit
this broke uhci pci support on some arv units

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin d57990e071 lantiq: fix ARV452CQW button gpio setup
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin d5143a49b7 lantiq: add AVM image mageic to sysupgrade script
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 239ad94165 lantiq: add xway_legacy target
due to bloat recent builds fail to fit into the flash of the old danube units

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 2ae06f3013 lantiq: gpio-export fails to build if GPIO_SYSFS is not enabled
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin bf007a480a lantiq: Add Support for Fritz!Box 7360 SL
Signed-off-by: Sebastian Ortwein <krone@animeland.de>
Tested-by: Guido Lipke <lipkegu@gmail.com>
8 years ago
John Crispin b50b0cff2d lantiq: use new property name for eiu irqs
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin d61af50cf3 lantiq: fix a regression in the eiu irq loading code
this worked in 3.18 but broke at some point. the old code that loaded a
irq table was incorrewct anyhow as it mapped the irqs int he domain which
should really be done when the driver using them loads them and not the
irq driver itself.

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 027da34957 lantiq: add default lan setup to board.d script
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Felix Fietkau c536da365b lantiq: add VLAN handling fixes to xrx200 ethernet driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 172eebbd28 lantiq: fold 0400-xrx200-net-multi-phy.patch into 0025-NET-MIPS-lantiq-adds-xrx200-net.patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 1da87516e5 lantiq: change xrx200 ethernet driver WRED signal to global to fix spurious packet loss issues
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 69c99a423a lantiq: enable swconfig LED support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau cc3bfdb62f lantiq: enable SMP for XRX200
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 2d48f93ff4 lantiq: add Buffalo WBMR-300HPD support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau cc87d144e1 lantiq: refresh xrx200 kernel config
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 2cf67832ec lantiq: remove dummy ltq_machine_power_off to fix gpio-poweroff drivers
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 97e3d10df9 lantiq: fix image DEVICE_DTS handling, add proper default value
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 821ccd2b36 lantiq: only call Image/Prepare/Profile for defined profiles
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
John Crispin ba42c1db41 lantiq: un-macro the image building code
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Alexander Couzens 1616bb2a7d lantiq/image: move tplink specific image into own file
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens aa930ba3dd lantiq: unmacro tp-link boards
even it's a little bit verbose, unmacrod board descriptions are much
easier to read and to understand.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Daniel Gimpelevich 2b4e5d478b kernel: remove a hack that was obsoleted upstream
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
8 years ago
Daniel Gimpelevich 492964e741 lantiq: Use correct macaddr generating logic for the DGN3500
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
8 years ago
Daniel Gimpelevich 8b321d45be lantiq: Fix macaddr-setting code on DGN3500 and possibly other devices
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
8 years ago
Daniel Gimpelevich e8780b643b lantiq: Use the correct SPI flash speed for the Netgear DGN3500
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
8 years ago
Mathias Kresin b2b917cd06 lantiq: do not build images which exceed the flash size
The user benpicco in #openwrt reported that images are build which are
bigger that the available flash size.

He provided a proof of concept fix and gave permission to me to send it
for inclusion.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin db66b157db lantiq: VGV7510KW22 - enable the IP101A phy
The RJ45 WAN port is used for xDSL as well as the IP101A.

The pins 1,2,3,6 of the RJ45 are connected to the IP101A and the
pins 4,5 are connected to the xdsl chip.

Drop the ip101a-rst node. It can't be controlled and is not required
at all.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 4d5db712e3 lantiq: VGV7510KW22 - fix pinmux configuration
The STP pinmux was initially added in assumption LAN2 led is driven by
it. It worked somehow because STP group and gphy0 led0 share the GPIO.
Do it the right way by adding the gphy0 led0 the gphy function.

According to the author, the SPI node is a copy & paste leftover. Which
makes sense since nothing is connected to the SPI bus on this device.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin a9f7586ad2 lantiq: VGV7519 - fix brn partition layout
Use the brnboot partition layout as it is listed in the OpenWrt wiki
article for this board.

Configure the brnboot root selector for this device as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 28faa3f292 lantiq: VGV7519 - get mac address from board_config partition
Use the mac address stored in the board_config partition instead of a
static one.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 1e395608cc lantiq: VGV7519 - add vlan support
Add the lantiq,switch property to enable vlans and setup them up.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 1deab53d88 lantiq: VGV7519 - add second usb port
Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 79d92bb7ac lantiq: VGV7519 - cleanup pinmux configuration
Cleanup the pinmux configuration by removing the unused spi node. Nothing is connected to the SPI bus on devices.

The stp_out pinmux child node covers the same GPIOs as the already used
stp group.

The same applies to the gphy-leds_out pinmux node and the "gphy0
led1" as well as "gphy1 led0" groups.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 8a382f1221 lantiq: VGV7519 - remove/merge redundant parts in dts
Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mohammed Berdai f778cdd9c9 lantiq: fix ARV4518PWR01 network
This patch fixes the missing Lan interface config in the file
/etc/config/network for ARV4518PWR01/A which results in eth0 and br-lan
being down and therefore no way to access the router unless via UART-TTL.

Signed-off-by: Mohammed Berdai <mohammed.berdai@gmail.com>
8 years ago
John Crispin a42e84b2db lantiq: fix regression in VG3503J.dts
9d0608eef3 - "lantiq: VG3503J - merge profiles"

resulted in the dts file missing the version string.

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Mathias Kresin abfdddfb3c lantiq: VG3503J - use the 11G firmware
Use the 11G firmware for the phys as the oem firmware does.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 9d0608eef3 lantiq: VG3503J - merge profiles
The only difference between the VG3503J profiles is the version of the
gphy firmware that gets loaded. This can be handled perfect fine in one
device tree source file.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin 21bdd79b33 lantiq: disable phy led complex (test) functions by default
They can be added using the phy led device tree bindings if required.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Felix Fietkau 311faaa1bd lantiq: move ubi/ubifs options to the image makefile
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
John Crispin b8ab6af1a9 global: change my email address
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Álvaro Fernández Rojas b062266ad6 kernel: update kernel 4.4 to version 4.4.9
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
blogic d4de9f72f3 lantiq: VGV7510KW22BRN - set the phy clock source
VGV7510KW2 with VRX288 v1.2 has brnboot 1.8 installed. Starting with
this brnboot version, the "GPHY Clock Source" isn't set anymore by
brnboot, with the result that xrx200-net fails to probe/initialize the
phys.

Use the phy clock source device tree binding to specify the clock source.

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

SVN-Revision: 49284
8 years ago
blogic 44cace4dab lantiq: add device tree binding for the phy clock source
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 49283
8 years ago
blogic 60ac485274 lantiq: VGV7510KW22BRN - support dual-image
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 49282
8 years ago
blogic d7438ce315 lantiq: handle the dual-firmware layout of brnboot
brnboot based devices can have two Image partitions. When flashing
images via the brnboot recovery web interface, the Image partitions are
written alternating.

The current active Image partition is stored in the first byte of the
Primary_Setting partition by using 0x00 for Code_Image_0 and 0x01 for
Code_Image_1.

By using the information about the active "Code Image", it is possible
to ensure that the rootfs belongs to the current booted Image/Kernel.

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

SVN-Revision: 49281
8 years ago