From f5f8a6e79ce55c15eb806c09c3abaabaf2abb075 Mon Sep 17 00:00:00 2001 From: Mike Nicholson Date: Thu, 18 Feb 2021 17:15:07 -0600 Subject: The CD/STATUS LED GPIOS changed on CPM, update to use new ones --- io-module/machine/mtcpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io-module/machine/mtcpm.c b/io-module/machine/mtcpm.c index 32f7d9c..8e1c3c2 100644 --- a/io-module/machine/mtcpm.c +++ b/io-module/machine/mtcpm.c @@ -114,7 +114,7 @@ static struct gpio_pin gpio_pins_mtcpm[] = { { .name = "STATUS_LED", .pin = { - .gpio = OMAP_GPIO(0, 20), + .gpio = OMAP_GPIO(3, 22), .flags = GPIOF_OUT_INIT_LOW, .label = "led-status", }, @@ -122,7 +122,7 @@ static struct gpio_pin gpio_pins_mtcpm[] = { { .name = "CD", .pin = { - .gpio = OMAP_GPIO(0, 21), + .gpio = OMAP_GPIO(3, 23), .flags = GPIOF_OUT_INIT_HIGH, .label = "led-cd", }, -- cgit v1.2.3 From f22842f6e2bd0b433e973654b24b5dba378ac58d Mon Sep 17 00:00:00 2001 From: Mike Nicholson Date: Wed, 24 Feb 2021 13:30:03 -0600 Subject: Correct gnss int and hub reset --- io-module/machine/mtcpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io-module/machine/mtcpm.c b/io-module/machine/mtcpm.c index 8e1c3c2..481d649 100644 --- a/io-module/machine/mtcpm.c +++ b/io-module/machine/mtcpm.c @@ -65,7 +65,7 @@ static struct gpio_pin gpio_pins_mtcpm[] = { { .name = "USBHUB_RESET", .pin = { - .gpio = OMAP_GPIO(3, 15), + .gpio = OMAP_GPIO(2, 3), .flags = GPIOF_OUT_INIT_HIGH, .label = "usbhub-reset", }, @@ -83,7 +83,7 @@ static struct gpio_pin gpio_pins_mtcpm[] = { { .name = "GNSS_INT", .pin = { - .gpio = OMAP_GPIO(5,12), /* 5_12 */ + .gpio = OMAP_GPIO(2, 16), .flags = GPIOF_OUT_INIT_HIGH, .label = "gnss-int", }, -- cgit v1.2.3 From 5885e7622d6f8dcdf4ae1fbc63cdc0200699278b Mon Sep 17 00:00:00 2001 From: Mike Nicholson Date: Mon, 15 Mar 2021 09:05:22 -0500 Subject: Use upstream USB hub for reset --- io-module/machine/mtcpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io-module/machine/mtcpm.c b/io-module/machine/mtcpm.c index 481d649..964b766 100644 --- a/io-module/machine/mtcpm.c +++ b/io-module/machine/mtcpm.c @@ -65,7 +65,7 @@ static struct gpio_pin gpio_pins_mtcpm[] = { { .name = "USBHUB_RESET", .pin = { - .gpio = OMAP_GPIO(2, 3), + .gpio = OMAP_GPIO(2, 12), .flags = GPIOF_OUT_INIT_HIGH, .label = "usbhub-reset", }, -- cgit v1.2.3