diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2022-05-21 21:59:10 -0500 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-07-02 11:50:47 +0200 |
commit | 36acb3db03a3cf7dee80a1fc3b6f8f70efd20294 (patch) | |
tree | f015b48a950fa7b4da2017d1996be4194bb4c47d | |
parent | 04545c4325c627ba09e429693d8aa22b1624e218 (diff) | |
download | upstream-36acb3db03a3cf7dee80a1fc3b6f8f70efd20294.tar.gz upstream-36acb3db03a3cf7dee80a1fc3b6f8f70efd20294.tar.bz2 upstream-36acb3db03a3cf7dee80a1fc3b6f8f70efd20294.zip |
realtek: EnGenius EWS2910P: declare and hog the poe-enable GPIO
GPIO 1 on the RTL8231 is used to force the PoE MCU to disable power
outputs. It is not used by any driver, but if accidentally set low,
PoE outputs are disabled. This situation is hard to debug, and
requires knowledge of the Broadcom PoE protocol used by the MCU.
To prevent this situation, hog it as an output high. This is
consistent with the ZyXel GS1900 series handles it.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r-- | target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts b/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts index f87c9585f9..dd57b2bf48 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts +++ b/target/linux/realtek/dts-5.10/rtl8380_engenius_ews2910p.dts @@ -43,6 +43,13 @@ gpio-controller; indirect-access-bus-id = <0>; + poe_enable { + gpio-hog; + gpios = <1 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "poe-enable"; + }; + sff_p9_gpios { gpio-hog; gpios = < 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>, |