Files
StarPilot/selfdrive/hardware/tici/pins.py
T
George Hotz 6d99a37d6f Power draw test (#24196)
* power draw test

* power draw measure

* fix cam power draw

* no star import

* fix static

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9318e02a52a01655c3fe98e4437b1d54b36e4b92
2022-04-12 15:33:27 -07:00

23 lines
466 B
Python

# TODO: these are also defined in a header
# GPIO pin definitions
class GPIO:
# both GPIO_STM_RST_N and GPIO_LTE_RST_N are misnamed, they are high to reset
HUB_RST_N = 30
UBLOX_RST_N = 32
UBLOX_SAFEBOOT_N = 33
UBLOX_PWR_EN = 34
STM_RST_N = 124
STM_BOOT0 = 134
LTE_RST_N = 50
LTE_PWRKEY = 116
LTE_BOOT = 52
# GPIO_CAM0_DVDD_EN = /sys/kernel/debug/regulator/camera_rear_ldo
CAM0_AVDD_EN = 8
CAM0_RSTN = 9
CAM1_RSTN = 7
CAM2_RSTN = 12