Re: AT91 gpio and serial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


hi Jose Pascual,

> I need to use some of this lines as gpio and not as uarts pins. 
> Is it possible to register usart0 and usart1 as simple uart with only rx and
> tx inside the board-xxxxx.c?
> or only solution is patching atmel_serial.c?

It is possible to use the serial port control lines as GPIO pins.

You would just re-configure the pins as needed in your board-xxx.c
file's xxx_board_init() function.

You don't need to modify atmel_serial.c at all.


Regards,
  Andrew Victor



-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter