Rune Torgersen wrote:
> Ok we're now using
> [EMAIL PROTECTED] {
>       device_type = "serial";
>       compatible = "fsl,mpc8280-smc-uart",
>                                "fsl,cpm2-smc-uart";
>       reg = <11a80 10 0 40>;            // <base_address length
> parameter_ram_address length>
>       interrupts = <4 8>;                 // Interrupt from table 4.3
> of mpc8280rm, interrupt is level or edge
>       interrupt-parent = <&PIC>;
>       fsl,cpm-brg = <7>;
>       fsl,cpm-command = <1d000000>;       // Page and Sub-block code
> of the CPCR
> };

Looks good.

> Right now we're trying to just get a kernel to give us some serial
> output, so we can continue the porting job.
> We're unsig a cuImage (using the pq2fads code right now).
> 
> Now our problem is that the serial port is spitting out 0x0a's as fast
> as it can.

Don't forget to exclude the SMC parameter RAM from the muram data area 
in /soc/cpm/muram/data/reg.  If you have an older device tree binding 
that has no /soc/cpm/muram node, but instead has two resources in 
/soc/cpm/reg, you need to move to head-of-tree to get this to work.

-Scott
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to