arm64: dts: add all hi6220 uart nodes
authorTyler Baker <tyler.baker@linaro.org>
Thu, 1 Oct 2015 01:19:48 +0000 (18:19 -0700)
committerArnd Bergmann <arnd@arndb.de>
Tue, 6 Oct 2015 14:34:40 +0000 (16:34 +0200)
commita362ec8f677e5d701bc587edad93128897748c32
tree7c2b5d7248f52d86e17e9011f44e2a74ed4ca126
parent90656b84144d3ef90295aac673e233f2ab1b2854
arm64: dts: add all hi6220 uart nodes

This patch adds all UART nodes for the Hi6220 SoC. Recently a board[1] has
been developed to standardize UART access across all the 96boards consumer
edition boards. To use this hardware on HiKey we must configure and enable
UART3. However, to ensure backward compatibility we must keep UART0 enabled
as well.

I have removed the hard coded clock index values in favor of using the ones
already defined in include/dt-bindings/clock/hi6220-clock.h.

Since UART0 needs to be soldered, it has been suggested to use the UART3 as
the default console.

This patch was boot tested on top of next-20150930, with both UART
configurations.

[1] http://www.seeedstudio.com/depot/96Boards-UART-p-2525.html?ref=newInBazaar

Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
arch/arm64/boot/dts/hisilicon/hi6220.dtsi