openwrtv4/target/linux
John Crispin f998540e80 ramips: fix GPIO names for RT5350F-OLinuXino-EVB
Hi,

the board in subject (RT5350F-OLinuXino-EVB) still ships from vendor
with a RC3 image built upon a .dts file which declares GPIO12 and GPIO14
as relay2 and relay1 respectively, as you can see from their rt5350f
branch on GitHub.

For some reason in the official stable build both the GPIOs are swapped
and the wrong names are declared in the gpio-export directive.

I'm submitting this patch which should roll back the wrong changes, so
that we get backward compatibility with any script developed on RC3
which controls the relays.

After patching correct operation is restored:

root@OpenWrt:/# cat /sys/kernel/debug/gpio
GPIOs 0-21, platform/10000600.gpio, 10000600.gpio:
 gpio-0   (button              ) in  hi
 gpio-12  (relay2              ) out lo
 gpio-14  (relay1              ) out lo

Thank you,

Signed-off-by: Lorenzo Cafaro <lorenzo@ibisco.net>

SVN-Revision: 48796
2016-02-26 08:35:35 +00:00
..
adm5120 adm5120: disable the openwrt commandline hack 2015-08-30 12:17:54 +00:00
adm8668 base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
ar7 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ar71xx kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
arc770 base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
archs38 archs38: remove network config override 2016-02-18 08:35:21 +00:00
arm64 kernel: disable bogus DEVTMPFS config overrides 2016-01-17 10:40:36 +00:00
at91 at91: udc driver was missing deps 2016-02-16 16:25:16 +00:00
ath25 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
au1000 image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
bcm53xx kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
brcm47xx kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
brcm63xx kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
brcm2708 kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
cns3xxx cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance 2016-01-31 12:35:33 +00:00
gemini kernel: refresh patches for 4.1 2015-07-22 12:51:11 +00:00
generic kernel: deactivate the vdso gettimeofday function. 2016-02-25 22:31:51 +00:00
imx6 base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
ipq806x kernel: update kernel 3.18 to 3.18.26 2016-01-25 21:43:26 +00:00
ixp4xx ixp4xx: fix initramfs builds 2016-01-31 00:54:53 +00:00
kirkwood kirkwood: drop 4.3 support 2016-01-25 22:54:52 +00:00
lantiq kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
malta malta: move to 4.4 kernel 2016-01-28 22:42:49 +00:00
mcs814x all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
mediatek base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
mpc85xx mpc85xx/tl-wdr4900: correct address of the gpio controller 2016-02-26 08:35:29 +00:00
mvebu mvebu: add SolidRun ClearFog A1 support 2016-02-17 17:49:26 +00:00
mxs kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
netlogic base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
octeon octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly 2016-01-29 23:19:41 +00:00
omap kernel: disable bogus DEVTMPFS config overrides 2016-01-17 10:40:36 +00:00
omap24xx omap24xx: Append dtb to the zImage 2015-10-09 07:46:12 +00:00
orion all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
oxnas kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
ppc40x ppc40x: upgrade to 3.18 2015-04-12 20:48:13 +00:00
ppc44x image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
ramips ramips: fix GPIO names for RT5350F-OLinuXino-EVB 2016-02-26 08:35:35 +00:00
rb532 rb532: switch to 4.1 2015-12-23 14:43:11 +00:00
realview all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
sunxi kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
uml kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
x86 x86: preserve partition table on sysupgrade 2016-02-09 12:33:17 +00:00
xburst kernel: update kernel 3.18 to version 3.18.23 2015-11-01 13:45:57 +00:00
zynq kernel: update kernel 4.4 to version 4.4.3 2016-02-25 21:54:39 +00:00
Makefile