ramips: Fix Hongdian H7920 v40 pinctrl default state
authorCoia Prant <coiaprant@gmail.com>
Wed, 1 Oct 2025 07:55:57 +0000 (15:55 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Oct 2025 16:32:21 +0000 (18:32 +0200)
commit0f095274fc682e386a49e89561a4b816cfb388bd
treeeb5239c7c4845f890258e40ce85a7d62ee4b6502
parent28bb6f73e62b772923ba620671385e5c2f4bf8f4
ramips: Fix Hongdian H7920 v40 pinctrl default state

According to the MT7628 hardware datasheet:
- GPIO/4 was originally used for I2C, but is now used as the Modem Power.
- GPIO/5 was originally used for I2C, but is now used as the SIM card select. (n/a for this device)
- GPIO/6 was originally used for SPI CS1, but is now used as the Serial mode switch.
- GPIO/36 was originally used for PERST, but is now used as the GPS OE. (n/a for this device)
- GPIO/38 was originally used for WDT, but is now used as the Modem2 Power. (n/a for this device)
- GPIO/44 was used for WLED_AN, but is now controlled by `gpio-leds`.

Corrected pinctrl to ensure it works properly in the future.

Signed-off-by: Coia Prant <coiaprant@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20256
(cherry picked from commit 44c79d094f4e3b3cd716a61783a0e2fde7ede976)
Link: https://github.com/openwrt/openwrt/pull/20257
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/dts/mt7628an_hongdian_h7920-v40.dts