diff options
author | John Klug <john.klug@multitech.com> | 2022-01-24 18:11:38 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-01-24 18:11:38 -0600 |
commit | 00bed07a6b45ec17f42f5c95b7b7dc2b132d1e12 (patch) | |
tree | d1b490da54b985a0c612be689a3d63b5f88dd0d0 | |
parent | ed01990becf0bd35c896d1d7c7f7c0e9c11da35f (diff) | |
download | meta-multitech-atmel-00bed07a6b45ec17f42f5c95b7b7dc2b132d1e12.tar.gz meta-multitech-atmel-00bed07a6b45ec17f42f5c95b7b7dc2b132d1e12.tar.bz2 meta-multitech-atmel-00bed07a6b45ec17f42f5c95b7b7dc2b132d1e12.zip |
Change pioA7 from SPI0_NPCS1 to a GPIO input
-rw-r--r-- | recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0005-at91bootstrap-3.8-mtcdt.patch | 8 | ||||
-rw-r--r-- | recipes-bsp/at91bootstrap/at91bootstrap_3.8.12.bb | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0005-at91bootstrap-3.8-mtcdt.patch b/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0005-at91bootstrap-3.8-mtcdt.patch index eb8d60d..49278a2 100644 --- a/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0005-at91bootstrap-3.8-mtcdt.patch +++ b/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0005-at91bootstrap-3.8-mtcdt.patch @@ -1,7 +1,12 @@ + Pin PIOa 7 is resetting to Periph B, SPI0_NPCS1 + This might be part of the CPU design for booting + from SPI NAND. This conflicts with our usage as + an input from the USB Host port. +======================================================================================== diff -Naru orig/board/at91sam9x5ek/at91sam9x5ek.c new/board/at91sam9x5ek/at91sam9x5ek.c --- orig/board/at91sam9x5ek/at91sam9x5ek.c 2020-09-10 16:30:43.653327254 -0500 +++ new/board/at91sam9x5ek/at91sam9x5ek.c 2020-09-10 16:16:38.597352272 -0500 -@@ -56,6 +56,48 @@ +@@ -56,6 +56,49 @@ writel(0xFF, RTC_SCCR + AT91C_BASE_RTC); } @@ -36,6 +41,7 @@ diff -Naru orig/board/at91sam9x5ek/at91sam9x5ek.c new/board/at91sam9x5ek/at91sam + {"GNSS-RESET",AT91C_PIN_PD(15), 0, PIO_PULLUP, PIO_OUTPUT}, + {"MTQ-RESET",AT91C_PIN_PD(17), 1, PIO_PULLUP, PIO_OUTPUT}, + {"USBHUB-RESET",AT91C_PIN_PD(18), 0, PIO_PULLUP, PIO_OUTPUT}, ++ {"N_USB_HOST_OC",AT91C_PIN_PA(7), 0, PIO_DEFAULT, PIO_INPUT}, + {"GNSS-INT",AT91C_PIN_PD(19), 1, PIO_PULLUP, PIO_OUTPUT}, + {"WIFI-BT-LPMODE",AT91C_PIN_PD(20), 0, PIO_PULLUP, PIO_INPUT}, + {"N_GPIO_EXP1_RESET",AT91C_PIN_PD(16), 1, PIO_DEFAULT, PIO_OUTPUT}, diff --git a/recipes-bsp/at91bootstrap/at91bootstrap_3.8.12.bb b/recipes-bsp/at91bootstrap/at91bootstrap_3.8.12.bb index a92f928..d1bbb38 100644 --- a/recipes-bsp/at91bootstrap/at91bootstrap_3.8.12.bb +++ b/recipes-bsp/at91bootstrap/at91bootstrap_3.8.12.bb @@ -1,5 +1,5 @@ require at91bootstrap.inc -PR = "m7" +PR = "m8" LIC_FILES_CHKSUM = "file://main.c;endline=27;md5=a2a70db58191379e2550cbed95449fbd" |