summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-02-24 11:00:34 -0600
committerJohn Klug <john.klug@multitech.com>2022-02-24 11:00:34 -0600
commit3246c053d2cac9c173e9c802f55a78a499295cde (patch)
treed8518f6fb0cbcca9b4b61836e86e4862647f7dd7
parent5c28cd92b2cded0718d9b5a6795c184739503918 (diff)
downloadmeta-multitech-atmel-3246c053d2cac9c173e9c802f55a78a499295cde.tar.gz
meta-multitech-atmel-3246c053d2cac9c173e9c802f55a78a499295cde.tar.bz2
meta-multitech-atmel-3246c053d2cac9c173e9c802f55a78a499295cde.zip
output-high, output-low is ignored by Atmel pinctrl driver
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcap.dts24
1 files changed, 9 insertions, 15 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcap.dts b/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcap.dts
index e78df7f..730ce0b 100644
--- a/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcap.dts
+++ b/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcap.dts
@@ -466,24 +466,18 @@
* be loaded as overlays prior to loading the mts-io module, overwriting the
* atmel,pins section.
*/
+
+ /* Atmel pinctrl driver ignores output-high, output-low */
mts_io {
pinctrl_mts_io: mts_io-0 {
atmel,pins =
- <AT91_PIOA 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PA21 GPIO pull-up radio-power */
- AT91_PIOA 22 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PA22 GPIO pull-up radio-reset */
- AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN>; /* PD21 GPIO pull-down radio-monitor */
- output-high;
- };
- pinctrl_mts_io_in: mts_io-1 {
- atmel,pins =
- <AT91_PIOD 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD19 GNSS Int */
- };
- pinctrl_mts_io_gnss: mts_io-2 {
- atmel,pins =
- <AT91_PIOA 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PA8 LORA_RESET */
- AT91_PIOC 16 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC16 ETH_NRST */
- AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD15 N_GNSS_RESET */
- output-low;
+ <AT91_PIOA 21 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1)) /* PA21 GPIO output high radio-power */
+ AT91_PIOA 22 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1)) /* PA22 GPIO output high radio-reset */
+ AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN /* PD21 GPIO pull-down radio-monitor */
+ AT91_PIOD 19 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1)) /* PD19 GNSS Int */
+ AT91_PIOA 8 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1)) /* PA8 LORA_RESET */
+ AT91_PIOC 16 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1)) /* PC16 ETH_NRST */
+ AT91_PIOD 15 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1))>; /* PD15 N_GNSS_RESET */
};
};