[OpenWrt-Devel] RT5350 UART not working.

Luis Soltero lsoltero at globalmarinenet.com
Mon Dec 1 15:43:22 EST 2014


Hello John,

this is the AWM002 module...
http://www.asiarf.com/Smallest-Tiny-Ralink-802-11n-Wireless-AP-Router-Module-Board-AWM002-product-view-375.html

with the corresponding AsiaRF IO/Dev/Eval board.  Here is pin sharing scheme for the board. I have attached the docs

RTS I2S_CLK GPIO #7 1 2 GPIO #11 PCM_FS DTR

TXD I2S_WS GPIO #8 3 4 GPIO #12 PCM_CLK DCD

CTS I2S_SDO GPIO #9 5 6 GPIO #13 PCM_DRX DSR

RXD I2S_SDI GPIO #10 7 8 GPIO #14 PCM_DTX RI

I2C_CLK GPIO #2 9 10 GPIO #1 I2C_SD

RX1+ 11 12 TX1+

RX1- 13 14 TX1-

GND 15 16 GND


--luis


On 12/1/14 3:24 PM, John Crispin wrote:
> ermmm ... i booted rt5350 on the weekend with uccess .. but that has
> nothing to say. which boar is this ? i assume the small asiarf one ?
>
>
>
> On 01/12/2014 13:40, Luis Soltero wrote:
>> anyone have any ideas on how to get the RT5350 UART working?
>>
>> here is the error in the log.
>>
>> [    0.460000] pinctrl core: add 1 pinmux maps
>> [    0.460000] rt2880-pinmux pinctrl.1: found group selector 2 for uartf
>> [    0.460000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for
>> 10000500.uart
>> [    0.460000] rt2880-pinmux pinctrl.1: pin io7 already requested by
>> pinctrl.1; cannot claim for 10000500.uart
>> [    0.480000] rt2880-pinmux pinctrl.1: pin-7 (10000500.uart) status -22
>> [    0.480000] rt2880-pinmux pinctrl.1: could not request pin 7 (io7)
>> from group uartf  on device rt2880-pinmux
>> [    0.510000] of_serial 10000500.uart: Error applying setting, reverse
>> things back
>> [    0.530000] 10000500.uart: ttyS1 at MMIO 0x10000500 (irq = 13,
>> base_baud = 2500000) is a 16550A
>>
>> here is the DTS config for the uart.
>>
>> palmbus at 10000000 {
>>                  uart at 500 {
>>                      status = "okay";
>>                  };
>>                  i2c at 900 {
>>                      status = "okay";
>>                  };
>>                  gpio0: gpio at 600 {
>>                      status = "okay";
>>                  };
>>                  gpio1: gpio at 660 {
>>                      status = "okay";
>>                  };
>>          };
>>
>>          pinctrl {
>>                  state_default: pinctrl0 {
>>                          gpio {
>>                                  ralink,group = "i2c", "jtag";
>>                                  ralink,function = "gpio";
>>                          };
>>                          uartf {
>>                                  ralink,group = "uartf";
>>                                  ralink,function = "uartf";
>>                          };
>>                  };
>>          };
>>
>>
>> Any info/hints on this are greatly appreciated.
>>
>> Thanks,
>>
>> --luis
>>
>>
>>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>

-- 


Luis Soltero, Ph.D., MCS
Director of Software Development, CTO
Global Marine Networks, LLC
StarPilot, LLC
Tel: +1.865.379.8723
Fax: +1.865.681.5017
E-Mail: lsoltero at globalmarinenet.net
Web: http://www.globalmarinenet.net
Web: http://www.redportglobal.com
Web: http://www.starpilotllc.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: AWM003 V1.pdf
Type: application/pdf
Size: 509411 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20141201/be123981/attachment.pdf>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list