aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
Commit message (Collapse)AuthorAgeFilesLines
* mpc85xx: correct TP-LINK TL-WDR4900 MAC addressesDavid Bauer2019-10-151-3/+3
| | | | | | | | | | | | | | This commit fixes TP-Link TL-WDR4900 v1 MAC address assignment. Previously, the MAC addrss was read for the ethernet from the "config" partition. However, the content of this partition is dependent on the firmware which was previously installed on the device. Switch the MAC address source to the U-Boot partition, where the MAC address is always present at a fixed partition. The partition was previously already used for the WiFi MAC-addresses. Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: David Bauer <mail@david-bauer.net>
* mpc85xx: provide label MAC addressAdrian Schmutzler2019-09-191-0/+1
| | | | | | | This patch adds the label MAC address for some devices in mpc85xx. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mpc85xx: convert TL-WDR4900 v1 to simpleImageChristian Lamparter2019-06-101-0/+30
| | | | | | | | | | | | | | | | | Converts the TP-Link WDR4900 v1 to use the simpleImage in the hopes of prolonging the life of the device. While at it, the patch makes the fdt.bin an ARTIFACT and sets the KERNEL_SIZE to 2684 KiB as a precaution since the stock u-boot is using a fixed kernel size. Note: Give the image some time, it will take much longer to extract and boot. [tested for 4.14/4.19] Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Co-authored-by: Pawel Dembicki <paweldembicki@gmail.com> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: use generic diag.shDavid Bauer2019-01-261-1/+5
| | | | | | | | | | | | | This commit removes the target-specific diag.sh script. This way, the generic one is used for the target, which uses DT-aliases to specify the LEDs used. This way, we are also able to use different LEDs to indicate different states. We use green status LEDs for indicating boot and a running system. Where possible, the red status LED is used to indicate failsafe mode and a running upgrade. Signed-off-by: David Bauer <mail@david-bauer.net>
* mpc85xx: tl-wdr4900-v1: convert to mtdsplit imagePawel Dembicki2019-01-051-39/+34
| | | | | | | | | | | | | | | Currently, the image creation process for the TP-Link tl-wdr4900-v1 needs a fixed sized kernel and places the rootfs partition at a fixed offset. With the upcoming move to 4.19 the kernel will no longer fit into the existing allocated space for the kernel partition. This patch converts the device to utilize the established tplink,firmware mtdsplitter, which can deal with a dynamic kernel/rootfs size. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [reworded commit]
* treewide: replace 'linux, stdout-path' with 'stdout-path'Christian Lamparter2018-09-291-1/+1
| | | | | | | | | | | | | | | This follows a similar upstream patch by Rob Herring: |commit 78e5dfea84dc15d69940831b3981b3014d17222e |Author: Rob Herring <robh@kernel.org> |Date: Wed Feb 28 16:44:06 2018 -0600 | powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' | | 'linux,stdout-path' has been deprecated for some time in favor of | 'stdout-path'. Now dtc will warn on occurrences of 'linux,stdout-path'. | Search and replace all the of occurrences with 'stdout-path'. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* WDR4900v1 remove dt node for absent hw crypto.Tim Small2018-07-071-0/+24
| | | | | | | | | | | | | | | | | | The WDR4900v1 uses the P1040 SoC, so the device tree pulls in the definition for the related P1010 SoC. However, the P1040 lacks the CAAM/SEC4 hardware crypto accelerator which the P1010 device tree defines. If left defined, this causes the CAAM drivers (if present) to attempt to use the non-existent device, making various crypto-related operations (e.g. macsec and ipsec) fail. This commit overrides the incorrect dt node definition in the included file. See also: - https://bugs.openwrt.org/index.php?do=details&task_id=1262 - https://community.nxp.com/thread/338432#comment-474107 Signed-off-by: Tim Small <tim@seoss.co.uk>
* mpc85xx: fix TL-WDR4900 v1 compatible stringMathias Kresin2017-10-251-1/+1
| | | | | | | Use the vendor as it is listed in vendor.txt. Use a standard lower case compatible string. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mpc85xx/tl-wdr4900: correct address of the gpio controllerJohn Crispin2016-02-261-1/+1
| | | | | | | | since linux 3.19 the address of the gpio-controller changed Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 48794
* mpc85xx: fix TL-WDR4900 mac address assignment to match original firmwareFelix Fietkau2016-02-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48645
* mpc85xx: Add PTP node for TL-WD4900 in device treeFelix Fietkau2016-01-171-0/+13
| | | | | | | | | | | | PTP requires at least one timer to be 1PPS so describe it. For testing, load kernel module gianfar_ptp and use ptp4l from linuxptp. Copied from FSL P1010RDB reference design. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> SVN-Revision: 48275
* mpc85xx: fix up m25p80 device id (#21286)Felix Fietkau2015-12-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47691
* mpc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1John Crispin2015-07-091-0/+11
| | | | | | | | | This patch adds the RFKill GPIO control switch and enables another GPIO to control power supply to USB Ports by emulating an LED GPIO for WDR4900v1. Signed-off-by: Guo Wei Lim <alphasparc@gmail.com> SVN-Revision: 46279
* mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfigFelix Fietkau2015-05-251-0/+1
| | | | | | | | | | | | | | | | | Currently port 6 is shown as up 10MBit/half in LUCI and swconfig. Reason is that all bits in the port 6 config are zero. This means that also the aneg flag is not set and in this case ar8216_read_port_link hardcodes the link to be up. This is no real problem but a little annoying. To fix this initialize port 6 with the aneg bit enabled. This causes ar8216_read_port_link to evaluate the link status bit which is always zero for port 6 as no PHY is connected to this port. And it doesn't hurt as port 6 isn't connected to anything on TL-WDR4900. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 45749
* mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entryImre Kaloz2015-05-031-1/+2
| | | | | | | | | This also changes the MAC address to one of the adresses actually used by the stock firmware on one of the ethernet interfaces. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45599
* mpc85xx: move newly created files from patch files to files directoryImre Kaloz2015-05-031-0/+212
This will make these files much more maintainable. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45597