summaryrefslogtreecommitdiff
path: root/io-module/mts_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r--io-module/mts_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index 791235f..fefc35e 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -50,10 +50,13 @@ struct device_attribute _dev_name = { \
#define PRODUCT_ID_MTAC_ETH "MTAC-ETH"
#define PRODUCT_ID_MTAC_LORA "MTAC-LORA"
+/* Hardware version must be fewer characters than hw_version
+ in struct mts_ap_eeprom_layout */
/* MTAC-LORA with native SPI or FTDI FT4222 */
#define HW_VERSION_MTAC_LORA_0_0 "MTAC-LORA-0.0"
/* MTAC-LORA2 with FTDI FT232H */
#define HW_VERSION_MTAC_LORA_1_0 "MTAC-LORA-1.0"
+#define HW_VERSION_MTAC_LORA_1_5 "MTAC-LORA-1.5"
#define HW_VERSION_MTCBA2_2_0 "MTCBA2-2.0"
#define HW_VERSION_MTCDP_0_0 "MTCDP-0.0"
@@ -83,6 +86,7 @@ enum {
MTAC_ETH_0_0,
MTAC_LORA_0_0,
MTAC_LORA_1_0,
+ MTAC_LORA_1_5,
};
// GPIO pin types:input, output, open drain (1 = high Z, 0 = output low)