aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
Commit message (Collapse)AuthorAgeFilesLines
* ath79: add Netgear WNR612 v2Zoltan HERPAI2018-06-262-0/+157
| | | | | | | | | | | | | | | Netgear WNR612 v2: - cpu Atheros AR7240 (Python) @400MHz - flash 4MB - ram 32MB - ethernet 10/100: 1xwan + 2xlan (only two) - radio AR9285 As there is a rebranded WNR612v2 called ON Networks N150R, add a dtsi which includes all device support, and add a separate dts for the device only (with a separate one for the subsequent N150R). Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ath79: ar934x: use irq-ath79-intc driver and enable wmacJohann Neuhauser2018-06-204-9/+66
| | | | Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* ath79: qca95xx: add new intc2, correct intc3 and add second pcie on qca9557Johann Neuhauser2018-06-203-9/+49
| | | | Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* ath79: fix qm5p-ac-v2 dts fileJohn Crispin2018-06-181-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath79: add support for tl-wr1043nd v2/v3Lucian Cristian2018-06-184-23/+315
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add initial nand support for gl-ar300mMarty E. Plummer2018-06-181-0/+67
| | | | Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
* ath79: initial gl-ar300m supportMarty E. Plummer2018-06-183-0/+422
| | | | Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
* ath79: add tl-wr1043nd-v4 support everything is workingLucian Cristian2018-06-182-0/+235
| | | | | | | tplink-safeloader: resize kernel partition kernel 4.14 is much bigger, resize the partition Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add ubiquiti unifi ap ac lite/lrLucian Cristian2018-06-181-0/+148
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add support for Phicomm K2TWeijie Gao2018-06-182-0/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds dts for qca956x and also support for Phicomm K2T The qca965x.dtsi adds nearly all the necessary components. Both ath9k AHB and PCIe worked well. The Phicomm K2T uses MTD partition 'config' to store the mac addresses in JSON format. To extract these fields correctly, a script is introduced: /lib/functions/k2t.sh This script provides a helper function to extract mac addresses, and is used in three places. Hardware spec of Phicomm K2T: CPU: QCA9563 DRAM: 64MB DDR2 Flash: 16MB SPI-NOR Switch: QCA8337 WiFi 5.8GHz: QCA9886 Flash instruction: Apply sysupgrade.bin via serial console: tftp 0x80000000 sysupgrade.bin && erase 0x9f090000 +$filesize && cp.b $fileaddr 0x9f090000 $filesize Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* ath79: clean up led config script files for all devicesJohann Neuhauser2018-06-165-4/+17
| | | | | | | | | 1. Move all status led definitions out of diag.sh into device dt as we use here a generic script hook. 2. Encode "phy0ptp" led trigger in dt of device for all ath79 devices. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* ath79: fix WNDR3800 supportHannu Nyman2018-06-161-12/+37
| | | | | | | | | | | | | | | | Fixes for WNDR3800 DTS: * fix bootcmd * name art partition to reference it for MACs * format firmware partition's address similarly as others * make u-boot-env read-only like in ar71xx * read wan and lan MACs from art * fix LED and button gpio values to match ar71xx (orange/green powerLED, reset button) * enable power LED in dts by alias led-status * define USB LED triggers and connect to USB port * change wifi button to KEY_RFKILL like in ar71xx Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* ath79: fix usb led on wr-1043nd-v1Lucian Cristian2018-06-161-6/+1
| | | | | | | usb port was not triggered correctly also remove uneded wifi led trigger from the script Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: fixup TL-WR703N/TL-MR10U splitAlex Maclean2018-06-163-19/+13
| | | | | | | | | | | Readd SoC compatible strings and correct model names mangled in a51078f7354fac9e31f6956cbddc77aaef02c67b, cleanup dts to remove duplication, rename dtsi for clarity, use correct GPIO for TL-MR10U USB power. Tested only on TL-WR703N due to lack of a TL-MR10U. Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add tl-mr3020-v1 supportLucian Cristian2018-06-082-11/+89
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: wr1043: fix DTC warningsKarl Palsson2018-06-081-1/+1
| | | | | | Use the "correct" unit name to avoid DTC warnings. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: glinet ar150: fix DTC warningsKarl Palsson2018-06-081-1/+1
| | | | | | Supply a unit name to match other .dts files and avoid DTC warnings. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: ubnt: fix DTC warningsKarl Palsson2018-06-082-12/+10
| | | | | | | Use explicit labels instead of units with no reg's to avoid DTC warnings. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: wdr4300: avoid DTC warningsKarl Palsson2018-06-081-4/+2
| | | | | | Use direct button labels to avoid dtc warnings Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: buffalo_wzr-hp-g450h: fix dtc warningsKarl Palsson2018-06-081-13/+8
| | | | | | | | Just name buttons directly, rather than abstract and then also a label. Likewise for leds. Avoids DTC warnings about unit address with no reg parameter. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: avm_fritz300e: avoid dtc warningsKarl Palsson2018-06-081-1/+1
| | | | | | Use number formats preferred by the device tree compiler Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: mdio: add address-cells and size-cells defaultsKarl Palsson2018-06-081-0/+4
| | | | | | | Eliminates warnings about relying on defaults from the device tree compiler. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: ar9330.dtsi: fix typo in USB unit nameKarl Palsson2018-06-081-1/+1
| | | | | | | | | Make the unitname match the reg address. This fixes a DTC warning. Tested that USB is still functional on an ar9331 device including this dtsi. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: add etactica-eg200 supportKarl Palsson2018-06-081-0/+142
| | | | | | | | | | | | | | | | | | | | Based on original ar71xx eg200 board files Tested working: * usb hub, storage and serial port * ethernet * wifi * leds * button sysupgrade from self->self passes validity checks. sysupgrade from old ar71xx->ath79 passes. (however this doesn't migrate wireless driver configs) Only unknown issue is the existance of a /sys/class/leds/ath9k-phy0, which doesn't "exist" Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: add TP-Link TL-MR10U portAdoal Xu2018-06-083-133/+161
| | | | Signed-off-by: Adoal Xu <adoalxu@gmail.com>
* ath79: add WLAN, Ethernet-Switch with LAN/WAN and Status LED to DorinCatrinel Catrinescu2018-06-071-6/+7
| | | | Signed-off-by: Catrinel Catrinescu <cc@80211.de>
* ath79: correct wmac names in dtsAlex Maclean2018-06-012-2/+2
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add TP-Link TL-WR703N portAlex Maclean2018-06-011-0/+139
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add TP-Link TL-WR740N/ND v2 portAlex Maclean2018-06-011-0/+174
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add pinmux node to ar724x.dtsiAlex Maclean2018-06-011-0/+15
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add AR7240 dtsiAlex Maclean2018-06-011-0/+66
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: initial tl-wr1043nd v1 supportLucian Cristian2018-05-242-12/+91
| | | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: John Crispin <john@phrozen.org>
* ath79: make ahb wifi workJohn Crispin2018-05-242-0/+15
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath79: preliminary support for TP-Link WDR3600 / WDR4300 (AR9344)Johann Neuhauser2018-05-225-0/+509
| | | | | | | | | | | | | | | | working: - leds - buttons - lan / wan - usb (hub port 1 + 2) - wifi 5g - sysupgrade - ... not working: - wifi 2g Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* ath79: fix TP-Link TL-WR1043ND v1 image buildMatthias Schiffer2018-05-171-0/+4
| | | | | | | | Both initramfs and flashed images are built and boot. No Ethernet, no WLAN, probably further issues, so the image is not added to TARGET_DEVICES for now. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ath79: add AVM FRITZ!WLAN Repeater 300EMathias Kresin2018-05-171-0/+169
| | | | | | No known issues, everything works fine. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: ar724x: fix pll settingsMathias Kresin2018-05-171-3/+2
| | | | | | | | | | | | Add the syscon compatible, otherwise used functions like syscon_regmap_lookup_by_phandle() will return an error and setting the ethernet pll data wont work at all. Fix the pll register width. Writing to registers out of the range via syscon isn't possible and returns an error. On ar7242 the last pll register - Current Audio Modulation Logic Output - is at 0x1805003c. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: fix dts filesMathias Kresin2018-05-1713-25/+12
| | | | | | | | | Add the SoC compatible to the individual dts files. Rename the dts files to match the common pattern. Remove dts files wich aren't used and no image in ar71xx exists. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: fix gmac compatible in ar9330.dtsi and ag71xx_setup_gmac_933xJohann Neuhauser2018-05-151-1/+1
| | | | | | | | | 1. compatible property in node gmac was wrong 2. ag71xx_setup_gmac_933x should use np of gmac-config and not the pointer to gmac. gmac is only used for the reg address. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* ath79: drop dts/MakefileJohn Crispin2018-05-071-13/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath79: u-boot partitions should be read-only in dtsRussell Senior2018-05-073-0/+3
| | | | | | | Some of the new ath79 device trees were missing read-only tags on the u-boot partitions. This adds the tags where previously missing. Signed-off-by: Russell Senior <russell@personaltelco.net>
* ath79: use the new DT fixed partitions syntaxRafał Miłecki2018-05-077-153/+195
| | | | | | | This new syntax is slightly better designed & uses "compatible" string. For details see Documentation/devicetree/bindings/mtd/partition.txt . Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ath79: revert license change on upstream DTS filesJohn Crispin2018-05-076-6/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath79: relicense DTS files to the GPL 2.0+ / MITRafał Miłecki2018-05-0725-25/+25
| | | | | | | | | | | | | | Some maintainers prefer DTS files licensed under permissive license like MIT / BSD. As all DT bindings should be OS independent and DTS files are pretty separated from Linux code it probably makes sense to share them across projects. The safest solution is to use dual licensing: that way it stays clear these files can be used in GPL projects without depending on current belief of licenses compatibility. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: John Crispin <john@phrozen.org>
* ath79: add new OF only target for QCA MIPS siliconJohn Crispin2018-05-0726-0/+2716
This target aims to replace ar71xx mid-term. The big part that is still missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik subtargets will follow. Signed-off-by: John Crispin <john@phrozen.org>