aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
Commit message (Collapse)AuthorAgeFilesLines
* ath79: remove unused copy-file build stepMatthias Schiffer2018-05-171-3/+0
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ath79: fix TP-Link TL-WR1043ND v1 image buildMatthias Schiffer2018-05-173-4/+16
| | | | | | | | 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-177-0/+238
| | | | | | 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: add and enforce image metadataMathias Kresin2018-05-175-25/+20
| | | | | | Add metadata to images and make the metdata mandatory. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: cleanup image build codeMathias Kresin2018-05-175-1351/+24
| | | | | | | | | | Remove recipes for not yet migrated boards. Drop variables which aren't required due to the switch to devicetree like boardname. Drop the legacy image build code. Boards added to this target shouldn't use the legacy image build code anyway. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: drop unused variablesMathias Kresin2018-05-171-6/+0
| | | | | | None of the variables are used at the moment. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: drop unused platform checksMathias Kresin2018-05-171-171/+0
| | | | | | | None of these checks are used at the moment and most of them aren't required if the image metadata validation is used. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: remove obsolete sysupgrade watchdog killMathias Kresin2018-05-171-10/+0
| | | | | | | | | The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce9301a25 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: fix dts filesMathias Kresin2018-05-1715-40/+27
| | | | | | | | | 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: enable wirelessMathias Kresin2018-05-171-2/+0
| | | | | | PCI attached wireless works fine. So enable the wireless config symbols. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: cleanup kernel configMathias Kresin2018-05-172-6/+1
| | | | | | Remove outdated or not required kernel config settings. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: drop platform data patchesMathias Kresin2018-05-171-68/+0
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: make board.d files executableMathias Kresin2018-05-172-0/+0
| | | | | | | Add the executable permission to the files to ensure they run on firstboot. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: fix gmac compatible in ar9330.dtsi and ag71xx_setup_gmac_933xJohann Neuhauser2018-05-152-2/+2
| | | | | | | | | 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: Ubiquiti Airmax M: add relocate-kernel to invalidate cacheMatthias Schiffer2018-05-082-0/+14
| | | | | | Apply ar71xx fix for broken Ubiquiti bootloader to ath79 as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* 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-07120-0/+21322
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>