CPM UART on MPC8270

Scott Wood scottwood at freescale.com
Wed Jun 23 07:28:59 EST 2010


On Thu, Jun 10, 2010 at 10:04:28AM +0800, hellohello wrote:
> Although I  haven't used scc port as uart,  I think your smc1 part in your dts file maybe is wrong.
> 
> serial at 11a82 { ...
>  reg = <0x11a80 0x20 0x87fc 2>;
> should be:
>   reg = <0x11a80 0x20 XXX 40>;
> XXX is the value which is set at 0x87fc in your bootloader.  
> I just got this mistake a few days ago.

"0x87fc 2" should work fine with recent kernels (and you want 0x40, not 40,
for the old way).  Besides, he said SMC1 was working, it's SCC3 that wasn't.

-Scott


More information about the Linuxppc-dev mailing list