Skip to contentSkip to conversation

at91sam9260ek: pull up on gpio

PATCH New Prchal Jiří 2 participants 2 messages Apr 27, 2011 – Jun 6, 2011 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 at91sam9260ek: pull up on gpio

This fixes floating pin PB14 (DRXD) if it is unconnected, witch cause sometimes to stop autoboot by receiving char (noise). It turns internal pull up on this pin.
It turns pull up on all other pins where should be pull up and is set in driver too.

include/configs/at91sam9260ek.h renamed from include/configs/at91sam9260ek.h.orig +1 -0
@@ -55,6 +55,7 @@
   * Hardware drivers
   */
  #define CONFIG_AT91_GPIO	1
+#define CONFIG_AT91_GPIO_PULLUP	1
  #define CONFIG_ATMEL_USART	1
  #undef CONFIG_USART0
  #undef CONFIG_USART1
#1 lore raw

PATCH 1/1 at91sam9260ek: pull up on gpio

Dear Prchal Ji??,

Quoted 9 lines

This fixes floating pin PB14 (DRXD) if it is unconnected, witch cause sometimes to stop autoboot by receiving char (noise). It turns internal pull up on this pin.
It turns pull up on all other pins where should be pull up and is set in driver too.

include/configs/at91sam9260ek.h line 61

Quoted 7 lines
include/configs/at91sam9260ek.h renamed from include/configs/at91sam9260ek.h.orig +1 -0
@@ -55,6 +55,7 @@
   * Hardware drivers
   */
  #define CONFIG_AT91_GPIO	1
+#define CONFIG_AT91_GPIO_PULLUP	1
  #define CONFIG_ATMEL_USART	1
  #undef CONFIG_USART0
  #undef CONFIG_USART1

This is based on old code.

Anyway, the Pull-Ups are enabled in the current (not yet in mainline) at91sam9260ek port.

Best Regards,
Reinhard