eg25-control: document better the modem GPIO lines

This commit is contained in:
2024-10-15 02:15:06 +00:00
parent a76d375182
commit 0a2945e9a9

View File

@@ -448,12 +448,12 @@ class PinePhoneGpioPhy(GpioPhy):
STATUS = 1, 233 # PH9
class PinePhoneProGpioPhy(GpioPhy):
DTR = 0, 3 # gpio0, RK_PA3
PWRKEY = 0, 13 # gpio0, RK_PB5
RESET = 3, 8 # gpio3, RK_PB0
APREADY = 0, 12 # gio0, RK_RB4 ('host-ready-gpios')
DTR = 0, 3 # gpio0, RK_PA3 (AKA "4G_DTR"; RK3399 -> EG25)
PWRKEY = 0, 13 # gpio0, RK_PB5 (more accurately, this is "4G_REG_ON", which pulls PWRKEY *low* when driven *high*)
RESET = 3, 8 # gpio3, RK_PB0 (more accurately, this is "4G_RST", which pulls RESET_N *low* when driven *high*)
APREADY = 0, 12 # gio0, RK_RB4 ('host-ready-gpios'. AKA "AP_READY")
DISABLE = 0, 8 # gpio0, RK_PB0 (TODO: megi has this marked active HIGH, not LOW)
STATUS = 3, 6 # gpio3, RK_PA6
STATUS = 3, 6 # gpio3, RK_PA6 (AKA "4G_Status"; EG25 -> RK3399)
class Sequencer:
def __init__(self, executor: Executor, modem: str, modem_phy: Phy, state_fs: Filesystem):