diff options
-rw-r--r-- | recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcap.dts | 24 |
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 */ }; }; |