diff options
author | Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> | 2019-10-16 12:38:43 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-17 15:49:01 +0200 |
commit | fba9a8882119c4e5fd82095d7ddcfdcfaaf144b8 (patch) | |
tree | 0980f326bbd7e7f82f539e7aca360b1f40e2fb02 /target/linux/ath79/patches-4.14/0036-GPIO-add-named-gpio-exports.patch | |
parent | 5af8da37870dc05dbe2e57e04be714b80f4aa21d (diff) | |
download | upstream-fba9a8882119c4e5fd82095d7ddcfdcfaaf144b8.tar.gz upstream-fba9a8882119c4e5fd82095d7ddcfdcfaaf144b8.tar.bz2 upstream-fba9a8882119c4e5fd82095d7ddcfdcfaaf144b8.zip |
ath79: add LAN LEDs control bits for AR724x GPIO function pinmux
Currently AR724x pinmux for register 0x18040028 controls only JTAG disable bit.
This patch adds new DTS settings to control LAN LEDs and CLKs that allow
full software control over these diodes - exactly the same is done by ar71xx
target in device setup phase for many routers (WNR2000v3 for example).
'switch_led_disable_pins' clears AR724X_GPIO_FUNC_ETH_SWITCH_LED[0-4]_EN bits.
'clks_disable_pins' clears AR724X_GPIO_FUNC_CLK_OBS[1-5]_EN and
AR724X_GPIO_FUNC_GE0_MII_CLK_EN bits. These all should be used together, along
with 'jtag_disable_pins', to allow OS to control all GPIO-connected LEDs and
buttons on device.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
(cherry picked from commit 69df7eb73d9922e5e717b004aae06f93fe692dba)
Diffstat (limited to 'target/linux/ath79/patches-4.14/0036-GPIO-add-named-gpio-exports.patch')
0 files changed, 0 insertions, 0 deletions