BigW Consortium Gitlab

Commit 4c174b2e by David Frey

Use enum based GPIO config

parent 010371b7
......@@ -52,13 +52,13 @@ content:
# type - gpio
- 0
# GPIO 0 (INT_n) - input with pull-up
- 0x03
# GPIO 1 (RESET_n) - output high
- 0x01
# GPIO 1 (Output Enable) - output high
- 0x05
# GPIO 2 (RX0BF_n) - input floating
- 0x00
- 0x03
# GPIO 3 (RX1BF_n) - input floating
- 0x00
- 0x03
# spi interface descriptor
-
size: 64
......@@ -72,4 +72,4 @@ content:
size: 32
fill: 0x00
content:
- mcp251x
\ No newline at end of file
- mcp251x
......@@ -54,11 +54,11 @@ content:
# GPIO 0 (I2C_HUB_PROG_EN) - output low
- 0x04
# GPIO 1 (UNUSED) - input floating
- 0x00
- 0x03
# GPIO 2 (UNUSED) - input floating
- 0x00
- 0x03
# GPIO 3 (UNUSED) - input floating
- 0x00
- 0x03
# usb interface descriptor
-
size: 64
......
......@@ -51,14 +51,14 @@ content:
content:
# type - gpio
- 0
# GPIO 0 (WL_n) - input floating
- 0x00
# GPIO 0 (WL_IRQ_N) - input floating
- 0x03
# GPIO 1 (UNUSED) - input floating
- 0x00
# GPIO 2 (BT_EN) - output low
- 0x04
# GPIO 3 (WLAN_EN) - output low
- 0x04
- 0x03
# GPIO 2 (BT_EN) - output high
- 0x05
# GPIO 3 (WLAN_EN) - output high
- 0x05
# sdio interface descriptor
-
size: 64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment