cpm2-scc-uart on mpc8265 not working

Scott Wood scottwood at freescale.com
Wed Dec 24 06:01:55 EST 2008


jeff angielski wrote:
> I fixed up the DPRAM regions.  
> 
> I also fixed up the muram region which had not been updated for the
> mpc8265 - it still had the old mpc8272 definitions.
> 
> The kernel does not hang anymore but I still don't see anything on the
> serial port.  Using an o'scope I can see data on the line, it is just
> that bit period is about 560uS - way to slow.

U-boot needs to fill in the clock-frequency property in the brg node.

> 				data at 0 {
> 					/*
> 					reg = <0x0 0x2000 0x9800 0x800>;
> 					*/
> 					compatible = "fsl,cpm-muram-data";
> 					reg = <0x0 0x6000 0x8000 0x1000 0xb000 0x1000>;

This is not correct -- you should only list the DPRAM regions that are 
usable for arbitrary data.  This is <0 0x4000>, assuming none of that 
has been allocated to microcode.

-Scott



More information about the Linuxppc-dev mailing list