aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: enable VMMC for VGV7519dpeddi2016-11-161-1/+10
| | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* lantiq: enable VMMC for VGV7510KW22Eddi De Pieri2016-11-161-1/+10
| | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* treewide: dts: use keycode defines from input dt-bindingMathias Kresin2016-11-1339-4/+70
| | | | | | | | | | | | | | | | | | | | | All compiled device tree files not mentioned are binary identical to the former ones. Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts. Due to the include of the input binding header, the BTN_* node names in: - ramips/GL-MT300A.dts - ramips/GL-MT300N.dts - ramips/GL-MT750.dts - ramips/Timecloud.dts will be changed by the compiler to the numerical equivalent. Move the binding include of lantiq boards to the file where they are used the first time to hint the user where the values do come from. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use the device tree bindings from rt2x00 driverMathias Kresin2016-11-0910-110/+136
| | | | | | | | | | | | | Set a device specific wireless mac address for ARV7506PW11, VGV7519 and VGV7510KW22. The one from the EEPROM is a generic one and the same on all boards. Use the wifi@0,0 label and the pci0,0 compatible string for the ARV7519PW and ARV7525PW since the pci vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix VGV7519 and VGV7510KW22 mac addressesMathias Kresin2016-11-092-2/+2
| | | | | | | | | | | | | | | | | The VGV7510KW22 stock firmware uses the following mac-addresses: lan (ifno 1): AA:BB:CC:DD:EE:60 wlan (ifno 2): AA:BB:CC:DD:EE:61 atm0 (ifno 3): AA:BB:CC:DD:EE:62 atm1/wan (ifno 4): AA:BB:CC:DD:EE:63 The VGV7519 stock firmware uses the following mac-addresses: lan: AA:BB:CC:DD:EE:EF wlan: AA:BB:CC:DD:EE:EF wan: AA:BB:CC:DD:EE:EE Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use external pci clock on ARV7506PW11Mathias Kresin2016-11-031-0/+1
| | | | | | | Fixes a ralink wireless driver related kernel crash as soon as a lot of data is tranfered via wireless. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: cleanup dts filesMathias Kresin2016-11-0333-312/+35
| | | | | | | | | | | | | | - remove not existing properties - remove properties having the same values as the included dtsi - remove nodes which are disabled in the included dtsi and not enabled in dts - replace the deprecated pinctrl-* compatible strings - use the same labels for nodes as the included dtsi - move common used vr9 pci properties to vr9.dtsi - remove the unused stp node from HomeHub 2B devcie tree source file - fix spaces vs. tabs and remove superfluous linebreaks Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: modify vr9.dts to support vmmcStefan Koch2016-10-311-0/+8
| | | | | | | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit 8d924d43c0ea6839a3a33e54982e8da48b736001) Modified after cherry-pick: compatible attribute Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: danube fxs bugfix: changed compatible attribute of vmmcStefan Koch2016-10-261-1/+1
| | | | | | | | This bugfix enables FXS support on dabube based devices. Changed "compatible" attribute from "vmmc" to "vmmc-xway". The vmmc driver uses "vmmc-xway". Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: enable cpu temp driver for all vr9 boardsMathias Kresin2016-10-196-20/+4
| | | | | | | Only present on v1.2 vr9 SoCs but the driver takes care to not load on boards having a v1.1 SoC. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: Sanitize device tree filesAndreas Eberlein2016-10-1956-656/+668
| | | | | | | | | | The device tree file of ARV752DPW uses numbers/hex values for gpio states and input event codes. This cleans it up and uses the available macros from header files. This way the functions are easier to read and comprehend. Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de> [sanitize all device tree files] Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: Fix buttons for ARV752DPWAndreas Eberlein2016-10-191-5/+5
| | | | | | | | The GPIO for reset switch is wrong in definition. Further the key codes for the two additional buttons are ineffective. Both is fixed here. Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de>
* lantiq: rework VG3503J imageMathias Kresin2016-10-191-29/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the new image build code and remove the lzma loader. The lzma loader was used to cheat the signature validation of the bootloader and I found another way to do this. To migrate boards already using LEDE/OpenWrt to the new image the following steps need to be done once: VR9 # run reset_uboot_config VR9 # reset VR9 # setenv ethaddr AA:BB:CC:DD:EE:FF VR9 # setenv preboot ping 1.1.1.1\;bootm 0xb001f000 VR9 # saveenv VR9 # tftp 0x81000000 lede-lantiq-xrx200-VG3503J-squashfs-sysupgrade.bin VR9 # erase 0xb0020000 $(filesize) VR9 # cp.b 0x81000000 0xb0020000 $(filesize) The mac address is printed on the label at the bottom of the case. The following steps are need to be done during first install: VR9 # setenv preboot ping 1.1.1.1\;bootm 0xb001f000 VR9 # saveenv VR9 # tftp 0x81000000 lede-lantiq-xrx200-VG3503J-squashfs-sysupgrade.bin VR9 # erase 0xb0020000 $(filesize) VR9 # cp.b 0x81000000 0xb0020000 $(filesize) The image uses the uImage firmware splitter now instead of hardcoded kernel and rootfs partitions. The firmware partition size was extended to use flash space that was reserved for partitions required only by the ECI firmware. Due to the changes an upgrade to a later LEDE revision from a running LEDE is supported now. A default switch config was added and the device uses the same MAC addresses as the ECI firmware now instead of the same for all VG3503J. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix ARV452CQW keysMathias Kresin2016-10-151-1/+1
| | | | | | Fix the typo in the gpio-keys-polled compatible string. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fixup last commitsMathias Kresin2016-10-055-9/+9
| | | | | | | Revert the rename of unrelated device tree nodes. Rename the missed leds of the Speedport W 504V Typ A. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix usb leds/triggerMathias Kresin2016-10-053-3/+6
| | | | | | | | | | | Add USB led aliases to boards having an led which is meant to be used as USB led according to the manuals. Remove the kmod-ledtrig-usbdev from the default package selection for boards not having an USB led. Add the kmod-ledtrig-usbdev to boards where it is missing. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use aliases device tree node for ledsMathias Kresin2016-10-0535-284/+276
| | | | | | The chosen node is clearly the wrong place for aliases. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: enable cpu temp driver for more tested boardsMathias Kresin2016-09-102-1/+9
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq/xrx200-net: add interrupt for second DMA TX channel to vr9.dtsiMartin Schiller2016-08-151-1/+1
| | | | Signed-off-by: Martin Schiller <mschiller@tdt.de>
* lantiq: enable cpu temp driver for selected boardsMathias Kresin2016-08-103-0/+12
| | | | | | | | According to the author of the cpu temp driver, not all xrx200 boards have a cpu temperature sensor. For that reason enable the sensor only for tested boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use the etop driver DT bindings onlyMathias Kresin2016-08-1014-81/+25
| | | | | | | Use the generic mtd-mac-address dts property to get a mac address from flash instead of the lantiq specific one. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix mac address incrementsMathias Kresin2016-08-1012-12/+1
| | | | | | | | | | | | Use the same mac address increment in device tree source file and userspace. Don't add a mac address increment to either the only mtd mac-address or to all mac-addresses. Fix a typo in the TDW89X0.dtsi file to add an increment. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use ath, eep-flash/mac-offset for ath eep nodesMathias Kresin2016-08-105-15/+15
| | | | | | | No functional change, just easier to get what's the purpose of the hex values. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix switch configuration for EASY80920Hauke Mehrtens2016-07-283-24/+20
| | | | | | | | The device tree description misses some Ethernet ports and there was no model specified for this board. In addition there was no switch specific default configuration created. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: mac address setting on BTHOMEHUBV3ABen Mulvihill2016-07-051-2/+1
| | | | | | | | | | Rename uboot environment partition on BT Home Hub 3A so that mac address setting works correctly. Also, the mac address field in the ath9k calibration data is not used, and should not be referenced in the dts. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
* lantiq: add support for ARV7506PW11 (Alice/O2 IAD 4421)Oswald Buddenhagen2016-06-221-0/+159
| | | | | | | | | | | | | | | | | | Ethernet, ADSL2+ and LEDs are fully functional. Supporting the two TAE ports and SIP gateway was not attempted. The WiFi is unreliable, due to experimental support for rt35xx family devices by the rt2800pci driver. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> [rebase to LEDE HEAD] [switch to normal image instead of brnboot image] [remove not required pinmux child nodes keys, leds, ebu, exin, pci_in and pci_out] [remove switch_rst pinmux child node (no support for hw reset in driver/setting a default GPIO value in DT] [enable usage of the wireless LED] [fixup mac address configuration] Sgned-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: Slow down SPI flash on the DGN3500Daniel Gimpelevich2016-06-221-1/+1
| | | | | | | | | | | The bootloader uses 30 MHz as the SPI frequency for flash on the Germany and North America models, and 50 MHz for it on the worldwide model, but the Lantiq SPI driver in OpenWrt and LEDE may access the flash differently such that writes are capped at 20 MHz, leading to read errors reported on the worldwide model at 30 MHz. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Acked-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* lantiq: remove gr7000 supportJohn Crispin2016-06-221-149/+0
| | | | | | this seems to have never worked as the wrong SoC is selected Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: make EASY80920 work with both chip versionsHauke Mehrtens2016-06-211-1/+2
| | | | | | | | | The EASY80920 is available with the A1X and the A2X chip version depending on the board version. Add both firmware versions to device tree and make the driver load the correct version depending on the chip version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: use new partition layout for EASY80920NANDHauke Mehrtens2016-06-211-6/+30
| | | | | | This matches the EASY80920NAND boards with UGW. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: BTHOMEHUBV5A - use the power event code for the restart buttonMathias Kresin2016-06-201-1/+1
| | | | | | | | | | The restart event code is used in LEDE to trigger a factory reset on long press as well. By using the power event code, the restart functionality can be used without being prone to trigger a factory reset. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix fritz7320 wifi supportJohn Crispin2016-06-141-1/+9
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: fix ARV452CQW button gpio setupJohn Crispin2016-06-131-7/+7
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: Add Support for Fritz!Box 7360 SLJohn Crispin2016-06-131-0/+217
| | | | | Signed-off-by: Sebastian Ortwein <krone@animeland.de> Tested-by: Guido Lipke <lipkegu@gmail.com>
* lantiq: use new property name for eiu irqsJohn Crispin2016-06-134-4/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: add Buffalo WBMR-300HPD supportFelix Fietkau2016-06-111-0/+303
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove a hack that was obsoleted upstreamDaniel Gimpelevich2016-05-271-1/+1
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* lantiq: Use the correct SPI flash speed for the Netgear DGN3500Daniel Gimpelevich2016-05-271-1/+1
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* lantiq: VGV7510KW22 - enable the IP101A phyMathias Kresin2016-05-271-5/+22
| | | | | | | | | | | | 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>
* lantiq: VGV7510KW22 - fix pinmux configurationMathias Kresin2016-05-271-25/+1
| | | | | | | | | | | 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>
* lantiq: VGV7519 - fix brn partition layoutMathias Kresin2016-05-271-4/+50
| | | | | | | | | 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>
* lantiq: VGV7519 - get mac address from board_config partitionMathias Kresin2016-05-271-2/+3
| | | | | | | Use the mac address stored in the board_config partition instead of a static one. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - add vlan supportMathias Kresin2016-05-271-0/+1
| | | | | | Add the lantiq,switch property to enable vlans and setup them up. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - add second usb portMathias Kresin2016-05-271-0/+5
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - cleanup pinmux configurationMathias Kresin2016-05-271-15/+3
| | | | | | | | | | | | 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>
* lantiq: VGV7519 - remove/merge redundant parts in dtsMathias Kresin2016-05-273-68/+21
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix regression in VG3503J.dtsJohn Crispin2016-05-241-0/+2
| | | | | | | | 9d0608eef3e5b9fca - "lantiq: VG3503J - merge profiles" resulted in the dts file missing the version string. Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: VG3503J - use the 11G firmwareMathias Kresin2016-05-231-2/+2
| | | | | | Use the 11G firmware for the phys as the oem firmware does. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VG3503J - merge profilesMathias Kresin2016-05-233-191/+176
| | | | | | | | 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>
* lantiq: VGV7510KW22BRN - set the phy clock sourceblogic2016-05-101-0/+6
| | | | | | | | | | | | | 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