arm64: dts: rockchip: Split out common nodes for Rock960 based boards
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 13 Sep 2018 18:05:42 +0000 (23:35 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 22 Sep 2018 20:52:38 +0000 (22:52 +0200)
commitffb7b25e8ac3c94f61576ca9cbfd0f16ada1be6d
treef29ac8aa423034cd034a0148ca7cc75f36d0d3aa
parente007e4e0d87649cae4359a9776d2e14b67dd7187
arm64: dts: rockchip: Split out common nodes for Rock960 based boards

Since the same family members of Rock960 boards (Rock960 and Ficus)
share the same configuration, split out the common nodes into a common
dtsi file for reducing code duplication. The board specific nodes for
Ficus boards are then placed in corresponding board DTS file.

Below are some of the key differences between both Rock960 and Ficus
boards:

1. Different host enable GPIO for USB
2. Different power and reset GPIO for PCI-E
3. No Ethernet port on Rock960

Only the properties which differ between both boards are placed in the
board specific dts and the reset of the nodes are placed in common dtsi
file.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-ficus.dts
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi [new file with mode: 0644]