mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 17:30:49 +02:00
enable the TP4, TP5 as UART0
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
7af2afd015
commit
1bc7014eb2
@ -50,6 +50,9 @@ static void gpio_init(void)
|
||||
__gpio_clear_pin(GPIO_KEYOUT_BASE + i);
|
||||
}
|
||||
|
||||
/* enable the TP4, TP5 as UART0 */
|
||||
REG_GPIO_PXSELS(2) = 0x80000000;
|
||||
|
||||
/*
|
||||
* Initialize UART0 pins, in Ben NanoNote uart0 and keyin8 use the
|
||||
* same gpio, init the gpio as uart0 cause a keyboard bug. so for
|
||||
|
Loading…
Reference in New Issue
Block a user