Thread (12 messages) flat view 12 messages, 4 authors, 2009-08-20

Re: [PATCH] Add support for the ESTeem 195E (PPC405EP) SBC

From: David Gibson <hidden>
Date: 2009-07-31 00:45:24

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:
quoted
On Thu, Jul 30, 2009 at 10:06:30AM -0400, Josh Boyer wrote:
[snip]
quoted
quoted
quoted
+			UART0: serial@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help