diff options
Diffstat (limited to 'io-module/mtp.c')
-rw-r--r-- | io-module/mtp.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/io-module/mtp.c b/io-module/mtp.c index e034da4..e6da3d5 100644 --- a/io-module/mtp.c +++ b/io-module/mtp.c @@ -10,7 +10,7 @@ static struct gpio_pin gpio_pins_mtp_0_0[] = { { .name = "RADIO_POWER_MONITOR", .pin = { - .gpio = AT91_PIN_PA23, // PWRMON + .gpio = AT91_PIN_PD21, // PWRMON .flags = GPIOF_IN, .label = "radio-power-monitor", }, @@ -48,6 +48,23 @@ static struct gpio_pin gpio_pins_mtp_0_0[] = { .label = "lora-reset", }, }, + { // gpio 1 for LORA 1.5 ref design + .name = "LORA_CDONE", + .pin = { + .gpio = AT91_PIN_PA6, + .flags = GPIOF_IN, + .label = "lora-cdone", + }, + }, + { // gpio 2 for LORA 1.5 ref design + .name = "LORA_CRESET", + .pin = { + .gpio = AT91_PIN_PA29, + .flags = GPIOF_OUT_INIT_HIGH, + .label = "lora-creset", + } + }, + /* LEDs */ { |