aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr3020.c
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: correct button type for TL-MR3020 mode sliderDavid Bauer2020-05-311-2/+2
| | | | | | | | | | | | | | The TP-Link TL-MR3020 has a three-state mode slider which was previously integrated as a button (EV_KEY). This led to spurious activations of failsafe mode. Set the type for the button to switch (EV_SW), to avoid unintended activations of failsafe mode. Related: commit 27f3f493de06 ("gpio-button-hotplug: unify polled and interrupt code") Signed-off-by: David Bauer <mail@david-bauer.net>
* ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on ↵Gabor Juhos2013-01-071-2/+2
| | | | | | | | | | | | | | | | | | TL-WR703N/MR3020/MR3040/MR11U boards The PHY_SWAP and PHY_ADDR_SWAP bits are initialized differently by different versions of the bootloader. This leads to broken ethernet connection with OpenWrt on some boards. Turn both SWAP bits OFF on these boards to make it consistent regardless of the bootloader used. Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35037
* ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpioGabor Juhos2012-11-051-2/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34087
* ar71xx: add a common function to configure USB power GPIOsGabor Juhos2012-06-191-2/+2
| | | | SVN-Revision: 32454
* ar71xx: fix PHY setup on TL-MR3020 (fixes #11572)Felix Fietkau2012-06-061-0/+4
| | | | SVN-Revision: 32093
* ar71xx: merge files-3.2 to filesGabor Juhos2012-02-101-0/+121
SVN-Revision: 30405