ARC: [axs101] support early 8250 uart
authorVineet Gupta <vgupta@synopsys.com>
Mon, 2 Feb 2015 13:53:21 +0000 (19:23 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:30 +0000 (18:09 +0530)
commit8d0d56ba24d8d0b04bc9d9a7fbd1796d8966159f
tree87dd235d9d6c2931e543bea091d5e47417a773a4
parent556cc1c5f528dcc87733920de17d61b6ebe8999d
ARC: [axs101] support early 8250 uart

Earlycon calculates UART clock as "BASE_BAUD * 16". In case of ARC
"BASE_BAUD" is calculated dynamically in runtime, basically it is an
alias to arc_early_base_baud(), which in turn just does
"arc_base_baud/16".

8250 UART on AXS/SDP board uses 33.3MHz clock source which is set in
"arc_base_baud" with this change.

Additional compatibility string "snps,arc-sdp" is introduced as well
because there're different flavours of AXS boards but they all share the
same motherboard and so it's possible to re-use the same code for
motherbord even if CPU daughterboard changes.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Documentation/devicetree/bindings/arc/axs101.txt
arch/arc/boot/dts/axs101.dts
arch/arc/kernel/devtree.c