summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2021-09-10 13:13:24 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2021-09-10 13:13:24 -0500
commitb3d04a3bdcd76b16b257302324367a90464e9ea1 (patch)
tree2706630960351f6dbcc2dc9c79aeca0d628bc57c
parentd9e9096d724d20e9765ccc38a17b2bc85cbc3897 (diff)
parent4ca12d9f8875bf932fb445f07e683dd363dd3b4b (diff)
downloadmtac-b3d04a3bdcd76b16b257302324367a90464e9ea1.tar.gz
mtac-b3d04a3bdcd76b16b257302324367a90464e9ea1.tar.bz2
mtac-b3d04a3bdcd76b16b257302324367a90464e9ea1.zip
Merge branch 'mtac-003' into 'master' 4.0.9
Mtac 003 See merge request !1
-rw-r--r--machine/sam9g25_gpio.h2
-rw-r--r--machine/ti43x_gpio.h2
-rw-r--r--mtac.h5
3 files changed, 9 insertions, 0 deletions
diff --git a/machine/sam9g25_gpio.h b/machine/sam9g25_gpio.h
index 3848576..f972ad1 100644
--- a/machine/sam9g25_gpio.h
+++ b/machine/sam9g25_gpio.h
@@ -10,6 +10,7 @@
#define M_AP1_GPIO2 AT91_PIN_PC7
#define M_AP1_GPIO3 AT91_PIN_PC8
#define M_AP1_GPIO4 AT91_PIN_PC9
+#define M_AP1_LBTRESET AT91_PIN_PC10
#define M_AP1_NRESET AT91_PIN_PB12
#define M_AP1_NINT1 AT91_PIN_PB14
#define M_AP1_NINT2 AT91_PIN_PB15
@@ -19,6 +20,7 @@
#define M_AP2_GPIO2 AT91_PIN_PC21
#define M_AP2_GPIO3 AT91_PIN_PC22
#define M_AP2_GPIO4 AT91_PIN_PC23
+#define M_AP2_LBTRESET AT91_PIN_PC24
#define M_AP2_NRESET AT91_PIN_PB13
#define M_AP2_NINT1 AT91_PIN_PB17
#define M_AP2_NINT2 AT91_PIN_PB18
diff --git a/machine/ti43x_gpio.h b/machine/ti43x_gpio.h
index 734998d..33ca3f2 100644
--- a/machine/ti43x_gpio.h
+++ b/machine/ti43x_gpio.h
@@ -10,6 +10,7 @@
#define M_AP1_GPIO2 OMAP_GPIO(3,24)
#define M_AP1_GPIO3 OMAP_GPIO(3,25)
#define M_AP1_GPIO4 OMAP_GPIO(0,24)
+#define M_AP1_LBTRESET OMAP_GPIO(2,22)
#define M_AP1_NRESET OMAP_GPIO(1,1)
#define M_AP1_NINT1 OMAP_GPIO(2,4)
#define M_AP1_NINT2 OMAP_GPIO(2,5)
@@ -19,6 +20,7 @@
#define M_AP2_GPIO2 OMAP_GPIO(3,16)
#define M_AP2_GPIO3 OMAP_GPIO(3,20)
#define M_AP2_GPIO4 OMAP_GPIO(0,19)
+#define M_AP2_LBTRESET OMAP_GPIO(2,13)
#define M_AP2_NRESET OMAP_GPIO(5,29)
#define M_AP2_NINT1 OMAP_GPIO(3,17)
#define M_AP2_NINT2 OMAP_GPIO(3,18)
diff --git a/mtac.h b/mtac.h
index 1a84884..2e36119 100644
--- a/mtac.h
+++ b/mtac.h
@@ -19,6 +19,7 @@
#define PRODUCT_ID_MTAC_MFSER "MTAC-MFSER"
#define PRODUCT_ID_MTAC_ETH "MTAC-ETH"
#define PRODUCT_ID_MTAC_LORA "MTAC-LORA"
+#define PRODUCT_ID_MTAC_LORA_003 "MTAC-003"
#define PRODUCT_ID_MTAC_PULSE "MTAC-PULSE"
#define PRODUCT_ID_MTAC_XDOT "MTAC-XDOT"
@@ -30,6 +31,8 @@
#define HW_VERSION_MTAC_LORA_1_0 "MTAC-LORA-1.0"
#define HW_VERSION_MTAC_LORA_1_1 "MTAC-LORA-1.1"
#define HW_VERSION_MTAC_LORA_1_5 "MTAC-LORA-1.5"
+#define HW_VERSION_MTAC_LORA_003_0_0 "MTAC-003-0.0"
+#define HW_VERSION_MTAC_LORA_003_0_1 "MTAC-003-0.1"
/* Code assumes CRESET/CDONE (SPI programming) cases will not
* exactly match MTAC-LORA-0.0, 1.0, or 1.1. Also levels before
* 1.5 must be the same length.
@@ -46,6 +49,8 @@ enum {
MTAC_LORA_1_0,
MTAC_LORA_1_1,
MTAC_LORA_1_5,
+ MTAC_LORA_003_0_0,
+ MTAC_LORA_003_0_1,
MTAC_PULSE_1_0,
MTAC_XDOT_0_0,
MTAC_LORA_2G4_0_0,