aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix (invert/revert) Hornet-UB WPS LED stateJohn Crispin2015-03-151-1/+1
| | | | | | | | | | | | | | | My previous patch regarding the Hornet-UB board (commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually causes the WPS led state to be inverted. Practically this meant that value 0 in /sys/class/led/alfa:blue:wps/brightness would turn the LED on and any positive value (1-255) would turn it off. The above of course is confusing and hence reverting this value back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718. Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targetsJohn Crispin2015-03-121-0/+5
| | | | | | Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Hornet UB GPIO WPS/ResetJohn Crispin2015-03-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This problem has existed at least since Attitude Adjustment and is also present in trunk. Basically on the Hornet-UB board the functionality of RESET and WPS have "switched places". There are two tickets about the issue at dev.openwrt.org, The solution suggested on them both is incomplete though and introduces the following proglem: Patching as suggested on #14136/#15282 will result in a situation where simply pressing the RESET button on the bottom will cause FACTORY RESET to be run. This is due to GPIO high/low state being incorrect as a result of the above change and virtually the RESET button is in the pressed-down state the entire time. When it is then physically pressed, that causes the opposite, release, to be triggered and since to the board it seemed that the button was pressed long before it was released, the FACTORY RESET results. The attached patch works as expected. I have verified both the incorrect functionality as well as after fixing the issue as described in the patch and flashing the resulting firmware to a Hornet-UB board. Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ALFA NETWORK's nameGabor Juhos2014-07-141-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a common function to configure USB power GPIOsGabor Juhos2012-06-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge files-3.2 to filesGabor Juhos2012-02-101-0/+136
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73