On Thu, Jul 30, 2009 at 04:08:49PM -0400, Josh Boyer wrote:
> On Thu, Jul 30, 2009 at 03:45:06PM -0400, Solomon Peachy wrote:
> >On Thu, Jul 30, 2009 at 10:06:30AM -0400, Josh Boyer wrote:
[snip]
> >> >+ UART0: ser...@ef600400 {
> >> >+ device_type = "serial";
> >> >+ compatible = "ns16550";
> >> >+ reg = <0xef600400 0x00000008>;
> >> >+ virtual-reg = <0xef600400>;
> >> >+ clock-frequency = <0>; /* Filled in by zImage */
> >> >+ current-speed = <0x9600>;
> >>
> >> Just a question, but is the baud supposed to be 38400 or 9600? At first
> >> glance
> >> it almost seems like a typo :).
> >
> >It's supposed to be 38400 baud, hence the explicit 0x in front. (I lost
> >count of the number of times I saw '38400' listed in various dts
> >files...)
>
> Cool. Just checking.
Um.. except, surely it's clearer to just list 38400 in decimal, rather
than 0x9600 which people are very likely to misread as 9600.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev