aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files/arch/arm/boot/dts
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: some corrections for TP-Link Talon AD7200Daniel Golle2021-01-051-47/+45
| | | | | | | | | | Address most comments made by Adrian Schmutzler on the mailing list. The device name is kept as 'TP-Link Talon AD7200' as that seems to be the marketing name TP-Link chose for that device, it also matches the naming scheme for other TP-Link devices (e.g. 'TP-Link Archer C7'). Fixes: 1a775a4fd0 ("ipq806x: add support for TP-Link Talon AD7200") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ipq806x: add support for TP-Link Talon AD7200Gary Cooper2021-01-051-0/+440
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Device hardware: https://deviwiki.com/wiki/TP-LINK_AD7200_(Talon) The Talon AD7200 is basically an Archer C2600 with a third PCIe lane and an 802.11ad radio. It looks like the Archers C2600/5400 but the housing is slightly larger. Specifications -------------- - IPQ8064 dual-core 1400MHz - QCA9988 2.4GHz WiFi - QCA9990 5GHz WiFi - QCA9500 60GHz WiFi - 32MB SPI Flash - 512MiB RAM - 5 GBit Ports (QCA8337) Installation ------------ Installation is possible from the OEM web interface. Sysupgrade is possible. TFTP recovery is possible. - Image: AD7200_1.0_tp_recovery.bin Notes - This will be the first 802.11ad device supported by mainline. Signed-off-by: Gary Cooper <gaco@bitmessage.de>
* ipq806x: consolidate DTS files directorySungbo Eo2021-01-031-0/+242
| | | | | | | | | Commit 29ca10e537ee ("ipq806x: remove support for kernel 4.19") moved DTS files to "files" directory, but after that a new DTS file was added to the former "files-5.4" directory. Move it to the new directory. Fixes: 98b86296e67d ("ipq806x: add support for ASRock G10") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* ipq806x: add support for NEC Platforms Aterm WG2600HP3Yanase Yuki2020-12-251-0/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NEC Platforms Aterm WG2600HP3 is a dual-band router based on Qualcomm IPQ8062. Specification ------------- - SoC: Qualcomm IPQ8062 - RAM: 512MiB - Flash memory: SPI-NOR 32MiB (Cypress S25FL256S) - Wi-Fi: Qualcomm QCA9984 (2.4GHz, 1ch - 13ch) - Wi-Fi: Qualcomm QCA9984 (5GHz, 36ch - 64ch, 100ch - 140ch) - Ethernet: 4x 100/1000 Mbps (1x WAN, 4x LAN) - LED: 6x green LED, 6x red LED - Input: 2x tactile switch, 1x SP3T slide switch - Serial console: 115200bps, through-hole J3 - [ ] [GND] [ ] [TX] [RX] ----> DC jack - Power: DC 12V 1.5A This device does not support VHT160 and VHT80+80. Custom BDFs are required to limit VHT capabilities. Flash instructions ------------------ 1. Setup TFTP server (IP address: 192.168.1.2) 2. Put initramfs image into TFTP server directory 3. Connect WG2600HP3 lan port and computer that runs TFTP server 4. Connect to the serial console 5. Interrupt booting by Esc key (password: chiron) 6. Execute the following commands # setenv bootcmd "nboot 0x44000000 1 0x860000" # saveenv # setenv ipaddr 192.168.1.1 # setenv serverip 192.168.1.2 # tftpboot 0x44000000 openwrt-ipq806x-generic-nec_wg2600hp3-initramfs-uImage 7. After booting OpenWrt initramfs image, backup SPI-NOR flash memory 8. Erase firmware partition # mtd erase firmware 9. Run sysupgrade Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
* ipq806x: add support for Qualcomm IPQ8062 SoCYanase Yuki2020-12-251-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for Qualcomm IPQ8062 SoC. IPQ8062 is a lower clock variant of IPQ8064. CPU and NSS clocks: - CPU: 384 MHz - 1 GHz - NSS: 110 MHz - 550 MHz opp and l2 clock values are taken from WG2600HP3 GPL source code [1]. Due to a lack of devices, I didn't test the following features. - SATA - NAND flash memory controller - SD - USB - GSBI2, GSBI7 - PCIE2 - GMAC0, GMAC3 Works properly: - GSBI4 UART - GSBI5 SPI - GMAC1, GMAC2 - PCIE0, PCIE1 - MDIO0 Does not work properly: - CPU SPC - This can cause a system hang. Same as IPQ8065. See 2336c2dbb1929837f7e42d4315c8073342a5b46b [1] https://www.aterm.jp/function/wg2600hp3/appendix/opensource.html Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
* ipq806x: disable SPC of IPQ8064 on NEC WG2600HP to fix boot issueINAGAKI Hiroshi2020-12-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SPC (Standalone Power Collapse) of IPQ8064 on NEC Aterm WG2600HP need to be disabled to fix the boot stucking issue on WG2600HP with kernel 5.4. log: [ 3.036965] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations [ 3.038007] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations [ 3.045849] sdhci: Secure Digital Host Controller Interface driver [ 3.052385] sdhci: Copyright(c) Pierre Ossman [ 3.058712] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.065469] NET: Registered protocol family 10 [ 3.070184] Segment Routing with IPv6 [ 3.073141] NET: Registered protocol family 17 [ 3.078157] 8021q: 802.1Q VLAN Support v1.8 [ 3.081149] Registering SWP/SWPB emulation handler [ 3.107125] qcom_rpm 108000.rpm: RPM firmware 3.0.16777371 [ 3.120475] s1a: Bringing 0uV into 1050000-1050000uV [ 3.120747] s1a: supplied by regulator-dummy [ 3.124775] s1b: Bringing 0uV into 1050000-1050000uV [ 3.128969] s1b: supplied by regulator-dummy [ 3.133905] s2a: Bringing 0uV into 800000-800000uV [ 3.138190] s2a: supplied by regulator-dummy [ 3.142693] s2b: Bringing 0uV into 800000-800000uV [ 3.147266] s2b: supplied by regulator-dummy [ (stuck) Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* ipq806x: Fix gmac1 (WAN) on Netgear D7800Peter Cardoe2020-12-221-1/+5
| | | | | | | | | | | | | The WAN port on Netgear D7800 is unable to connect to an ISP when the link to the modem is running at less than 1GB. This patch fixes the issue by removing the phy-handle definition and replacing it with a fixed-link definition The WAN port is then able to connect to a modem via a link running at 100Mbs or 10Mbs Fixes: FS#3086 Signed-off-by: Peter Cardoe <peter@cardoe.co.uk>
* ipq806x: remove support for kernel 4.19Adrian Schmutzler2020-10-1919-0/+5156
| | | | | | | | | | | | | The target uses 5.4 as default kernel since 04/2020. Kernel 4.19 support is not really maintained anymore, and there has been a lot of changes between 4.19 and 5.4 on this target. Despite, new devices are typically added for 5.4 only anyway. Thus, make maintaining of old stuff and reviewing of new stuff easier by removing support for kernel 4.19. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: add v4.9 supportJohn Crispin2017-02-1610-3628/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: fixup nbg6817 internal mmc and switch configuration in DTSAndré Valentin2017-02-022-4/+1
| | | | | | | | | | | | | The setting mmc-ddr-1_8v in the platform dts leads to read errors. The device is unusable and system reboots in a loop. Because NBG6817 is the only mmc device, I removed it in base dts. The second change removes settings now present in base dts. The third change references was a wrong conversion of constants in the switch settings. Switch now initializes again. Signed-off-by: André Valentin <avalentin@marcant.net>
* ipq806x: refactor ipq8065 device treePavel Kubelun2017-01-151-1124/+2
| | | | | | | | | | | | | | | | At the moment we have 2 seperate device tree sources: 1 for ipq8064 soc located in kernel source and 1 custom in LEDE for ipq8065. ipq8064 and ipq8065 SoCs are completely identical except ipq8065 has higher cpu frequencies and adjusted corresponding power supply. This commit makes ipq8065 DTS to contain only specific for ipq8065 DT entries while pulling all the basic SoC stuff from ipq8064 DTS. It makes easier to manage ipq806x device trees and instead of committing changes into 2 seperate equal DTS we are ending up with only 1. It also enables ipq8065 devices to automatically receive changes made in upstream kernel. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: update eMMC and SDCC3 nodes in device treePavel Kubelun2017-01-151-7/+9
| | | | | | | Enable bam dma support for eMMC and SDCC3 in device tree and update nodes to reflect Qualcomm SDK. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: disable usb3 phy suspend and add usb tcsr controlPavel Kubelun2017-01-151-0/+6
| | | | | | | | | According to Qualcomm SDK usb3 phy suspend should be disabled for ipq806x. This may solve issue on some ipq806x devices that breaks usb3 storage peripherals during system boot. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix pvs1_bin voltage in ipq8065 DTPavel Kubelun2017-01-101-7/+7
| | | | | | | | | | | | | | Fixing pvs1 bin voltage as found in GPL tarball and Qualcomm SDK. Also adjusting smb208_s2a/b minimum voltage to reflect lowest value in pvs table. Current ipq8065 devices in LEDE choose (based on eFuse data) pvs bin n4, that has correct values in DT, but in future a new device may choose n1 or n6. Without this change n1 is semi-correct and n6 is not available, because OPP driver disregards bins with voltage values that regulator cannot supply. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add thermal sensor driverdissent12016-12-011-12/+97
| | | | | | | | Allows to check cpu temperature. Huge thanks to @hnyman for valuable assistance! Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: more dts cleanupMathias Kresin2016-11-277-91/+75
| | | | | | | | | | | | | | | | | | | | | | | Remove the wifi5g LED from the the d7800, r7500 and r7800. Albeit this GPIO is mentioned in the GPL tarball, it doesn't do anything. The 2.4/5 GHz LEDs are connected to the wifi chips and not be controlled from the the userspace. Use the LEDs names/colours as they are used in the board manuals. Merge redundant LED configurations. Use the phy[0|1]tpt trigger for the wireless LEDs. Remove the workarounds for the not controllable wireless LEDs. Fix spi compatible strings and remove superfluous spi-max-frequency parameters. If there are two power leds, use one for indicating normal operation and one for failsafe/upgrade. Keep the on/off state of the main power led during boot. Use the usb pinmux settings from the nbg6817 gpl sources. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ipq806x: clean up dts filesHenryk Heisig2016-11-278-283/+532
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the pinmux to the values found in the GPL tarballs of the boards. Remove pinmux which are is not used (like nand pinmux for spi flash boards). This allows to use the wan orange led of the C2600 which had a wrong pinmux before. Might fix buttons or leds of other boards as well. Fix the LED color and the ledswitch key code of the C2600. Rename the ledgnr to ledswitch. Add support for indication the boot state using LEDs to the D7800, NBG6817, R7500 and R7500v2. Change GPIO active to readable values in D7800, EA8500, R7500, R7500v2 and R7800. Change gpioexport to gpio pinmux. Add proper "drive strenght" to i2c4_pins and use it for RPM on C2600, D7800, EA8500, R7500, R7500v2. Remove pcie pinmux from D7800. Move pinctrl to correct place in NBG6817 and R7800. Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ipq806x: add support for TP-Link Archer VR2600vSebastian Quilitz2016-11-241-0/+423
| | | | | | | | | | | | | | | | | | This router is similar to the C2600. Ethernet on WAN + LAN, switch, sysupgrade, LEDs, buttons and WiFi on 2G + 5G do work. The xDSL modem and the POTS/DECT interface are not supported yet. It is not possible to flash LEDE via the TP-Link webinterface. The image need to be signed. The first 0x200 bytes of the image is the TP-Link header including the signature. The signature is not validated by the bootloader. The LEDE image is zeroed in this area. To install LEDE it is necessary to solder a four pin header to JP2. Connect a serial interface to this header and interrupt the autostart of kernel. Transfer the sysupgrade image via TFTP and write it to the serial flash at 0x320000. Signed-off-by: Sebastian Quilitz <zeraphim@x-pantion.de>
* ipq806x: switch to upstream usb driver and backport fixesPavel Kubelun2016-11-211-2/+0
| | | | | | Also removing fifo-resize property drom DT as it has been removed from the driver. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fixes for R7800 and C2600Pavel Kubelun2016-11-163-15/+112
| | | | | | | | Updating spi pins configuration in R7800 and C2600 DTs Adding more usb power pin export and gsbi6 in R7800 DT Updating and fixing leds Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix Netgear R7500v2 memoryPavel Kubelun2016-11-161-1/+6
| | | | | | Netgear R7500v2 has 512MB of RAM with 2MB reserved block in the end of memory region. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix pci pinsPavel Kubelun2016-11-161-3/+4
| | | | | | Fix pci pins drive-strength according to oem sources. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add vlans during switch init into R7800 DTPavel Kubelun2016-11-161-0/+4
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add support for RPM message RAMPavel Kubelun2016-11-161-0/+3
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add support for RPM clock controllerdissent12016-11-161-0/+18
| | | | | | The patch #179 for RPM has initially been made for apq806x board. It has been modified to support ipq806x instead of apq8064. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add CPU idle statesPavel Kubelun2016-11-161-0/+12
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix pcie reset gpiosPavel Kubelun2016-11-081-3/+3
| | | | | | Fix perst-gpios property in accordance to the driver, so it stops spamming that it can't parse it. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: update DT in accordance to new drivers And add some more DT nodesPavel Kubelun2016-11-031-192/+31
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix leds, sata port for Netgear R7800 and minor fixes - renamed ↵Pavel Kubelun2016-11-031-32/+34
| | | | | | leds in correct color accordance - blink power led with white during boot and with amber when flashing firmware - fixed usb leds - enabled unused wps and rfkill leds as wlan leds. Now rfkill led is for 2.4GHz and wps - 5GHz WIFI - removed unneeded bootargs - removed unneeded pci pins from R7800 DT (driver already handles it in proper way) and add tx offsetting - nand ecc step size - fixed sata ports Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add reserved memory node in Netgear R7800Pavel Kubelun2016-10-311-0/+5
| | | | | | KERNEL BUG: BAD_PAGE_STATE in process appears here and there during intensive memory usage. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: ArcherC2600: export usb power pinsHenryk Heisig2016-10-311-0/+16
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ipq806x: ArcherC2600: devictree cleanupHenryk Heisig2016-10-311-13/+44
| | | | | | add blank lines and use macros for GPIOs Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ipq806x/nbg6817: add support for ZyXEL NBG6817André Valentin2016-10-261-0/+341
| | | | | | | | | | | | | | | | | CPU: 2x1.8GHz ARM, RAM: 512MiB Storage: 4MiB serial Flash, 3.9GiB MMC NIC: 2x1GBit/s, Switch with 5 external and 2 internal ports WiFi: Dualband, ath10k 2.4GHz, 5GHz MU-MIMO For installation copy xx-mmcblk0p4-kernel.bin and xx-mmcblk0p5-rootfs-full.bin to device. Then run: cat xx-mmcblk0p4-kernel.bin > /dev/mmc0blk0p4 cat xx-mmcblk0p5-rootfs-full.bin > /dev/mmc0blk0p5 reboot -f For debugging serial console is easily visible on board, no soldering needed. Signed-off-by: André Valentin <avalentin@marcant.net>
* ipq806x: C2600: change leds colour nameHenryk Heisig2016-10-151-8/+7
| | | | Signed-off-by: Henryk Heisig hyniu@o2.pl
* ipq806x: add support for indicating the boot and upgrade state using four ledsHenryk Heisig2016-10-152-3/+13
| | | | Signed-off-by: Henryk Heisig hyniu@o2.pl
* ipq806x: update Netgear R7800 device treedissent12016-09-302-111/+306
| | | | | | | | | | | | | -add spi pins -move mdio and rgmii pinctrl from gmac and mdio into pinmux node -add i2c4 pinctrl into rpm node -add pin details into several nodes -update gmac1 and gmac2 parameters -update mdio phy0 and phy4 registers by ddwrt devs findings -fix i2c4 pin drive-strengh -remove pcie pins as it's already present in ipq8065 DT Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: Archer C2600: Renaming LED accordance with the standardCezary Jackiewicz2016-08-241-14/+14
| | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
* ipq806x: rename R7800 device tree file, merge R7500v2 dts additionJo-Philipp Wich2016-08-241-0/+0
| | | | | | | The R7800 is an IPQ8065, so rename its dts file to reflect that fact. Also fold the R7500v2 dts addition into the existing 800-devicetree.patch. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipq806x: Build image for Netgear Nighthawk X4 R7500v2Alexis Green2016-08-221-0/+350
| | | | | | Signed-off-by: Alexis Green <alexis@cessp.it> [Jo-Philipp Wich: add missing DEVICE_TITLE, fix model name in commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipq806x: add usb pins to r7800 dts fileJohn Crispin2016-08-221-0/+17
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: fix MAC_POWER_SEL for Netgear R7800dissent12016-07-261-1/+1
| | | | | | | Fixes instability/corruption on the ethernet interface connected to port0 on the switch on Netgear R7800 as well. Signed-off-by: Josh Bendavid <joshbendavid@gmail.com> Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add initial support for Netgear R7800Pavel Kubelun2016-06-223-0/+1558
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix MAC_POWER_SEL switch configurationJosh Bendavid2016-06-204-4/+4
| | | | | | Fixes instability/corruption on the ethernet interface connected to port0 on the switch. Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dtsAdrian Panella2016-06-171-0/+1
| | | | | | | | | | | | | | The command-line arguments provided by the boot loader will be appended to a new device tree property: bootloader-args. If there is a property "append-rootblock" in DT under /chosen and a root= option in bootloaders command line it will be parsed and added to DT bootargs with the form: <append-rootblock>XX. Only command line ATAG will be processed, the rest of the ATAGs sent by bootloader will be ignored. This is usefull in dual boot systems, to get the current root partition without afecting the rest of the system. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: move dts file to the files folderJohn Crispin2016-06-134-0/+1502
Signed-off-by: John Crispin <john@phrozen.org>