From b6e93d5a5b93cfd3d19f89866b96e01d7bfd959b Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Thu, 27 May 2021 15:20:31 -0500 Subject: initial support for mtac-003 mtac card --- machine/sam9g25_gpio.h | 2 ++ mtac.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/machine/sam9g25_gpio.h b/machine/sam9g25_gpio.h index 3848576..6f6b503 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_SX1261_NRESET 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_SX1261 AT91_PIN_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/mtac.h b/mtac.h index 1a84884..6b4cae2 100644 --- a/mtac.h +++ b/mtac.h @@ -30,6 +30,7 @@ #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_003_0_0 "MTAC-003-0.0" /* 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 +47,7 @@ enum { MTAC_LORA_1_0, MTAC_LORA_1_1, MTAC_LORA_1_5, + MTAC_003_0_0, MTAC_PULSE_1_0, MTAC_XDOT_0_0, MTAC_LORA_2G4_0_0, -- cgit v1.2.3 From aa65f0802abc0c425b10fcadef6f89de90ea024b Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Thu, 27 May 2021 16:31:00 -0500 Subject: renamed ap2_sx1261_nreset to match ap1 counterpart --- machine/sam9g25_gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine/sam9g25_gpio.h b/machine/sam9g25_gpio.h index 6f6b503..8bbccca 100644 --- a/machine/sam9g25_gpio.h +++ b/machine/sam9g25_gpio.h @@ -20,7 +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_SX1261 AT91_PIN_PIN_PC24 +#define M_AP2_SX1261_NRESET AT91_PIN_PIN_PC24 #define M_AP2_NRESET AT91_PIN_PB13 #define M_AP2_NINT1 AT91_PIN_PB17 #define M_AP2_NINT2 AT91_PIN_PB18 -- cgit v1.2.3 From c4be780ac02c758c1dc19d32c8223c6b8e26b8af Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Thu, 27 May 2021 16:34:24 -0500 Subject: mislabeled pc24 pin --- machine/sam9g25_gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine/sam9g25_gpio.h b/machine/sam9g25_gpio.h index 8bbccca..139d5f3 100644 --- a/machine/sam9g25_gpio.h +++ b/machine/sam9g25_gpio.h @@ -20,7 +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_SX1261_NRESET AT91_PIN_PIN_PC24 +#define M_AP2_SX1261_NRESET AT91_PIN_PC24 #define M_AP2_NRESET AT91_PIN_PB13 #define M_AP2_NINT1 AT91_PIN_PB17 #define M_AP2_NINT2 AT91_PIN_PB18 -- cgit v1.2.3 From 1819db821fa002d1b63976762ce6d3e1f2ad2d66 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Tue, 1 Jun 2021 04:29:18 -0500 Subject: changed naming to reflect mtac-lora naming schema --- mtac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mtac.h b/mtac.h index 6b4cae2..bb20d7b 100644 --- a/mtac.h +++ b/mtac.h @@ -30,7 +30,7 @@ #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_003_0_0 "MTAC-003-0.0" +#define HW_VERSION_MTAC_LORA_003_0_0 "MTAC-LORA-003-0.0" /* 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. @@ -47,7 +47,7 @@ enum { MTAC_LORA_1_0, MTAC_LORA_1_1, MTAC_LORA_1_5, - MTAC_003_0_0, + MTAC_LORA_003_0_0, MTAC_PULSE_1_0, MTAC_XDOT_0_0, MTAC_LORA_2G4_0_0, -- cgit v1.2.3 From 8fc0259768422247557ff677ff6517faa9aac5a8 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 1 Jun 2021 14:43:39 -0500 Subject: Changed mtac 003 naming structure --- mtac.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mtac.h b/mtac.h index bb20d7b..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,7 +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-LORA-003-0.0" +#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. @@ -48,6 +50,7 @@ enum { 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, -- cgit v1.2.3 From 5e860a33b94264a888ece3cbbe1ab095242a9265 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Mon, 7 Jun 2021 05:07:05 -0500 Subject: added ti43x pin support for mtac-003 card --- machine/ti43x_gpio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/machine/ti43x_gpio.h b/machine/ti43x_gpio.h index 734998d..bf89944 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_SX1261_NRESET 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_SX1261_NRESET 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) -- cgit v1.2.3 From 4ca12d9f8875bf932fb445f07e683dd363dd3b4b Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Wed, 7 Jul 2021 02:00:46 -0500 Subject: changed pin names to match mts-io-sysfs interface --- machine/sam9g25_gpio.h | 4 ++-- machine/ti43x_gpio.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/machine/sam9g25_gpio.h b/machine/sam9g25_gpio.h index 139d5f3..f972ad1 100644 --- a/machine/sam9g25_gpio.h +++ b/machine/sam9g25_gpio.h @@ -10,7 +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_SX1261_NRESET AT91_PIN_PC10 +#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 @@ -20,7 +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_SX1261_NRESET AT91_PIN_PC24 +#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 bf89944..33ca3f2 100644 --- a/machine/ti43x_gpio.h +++ b/machine/ti43x_gpio.h @@ -10,7 +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_SX1261_NRESET OMAP_GPIO(2,22) +#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) @@ -20,7 +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_SX1261_NRESET OMAP_GPIO(2,13) +#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) -- cgit v1.2.3