arm64: dts: rockchip: Add ROCKPi 4A/4B support
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 20 Jul 2020 18:55:48 +0000 (00:25 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:55:13 +0000 (20:55 +0800)
commit8d7192cb7ffc1d1ec27ffb6d74099293f3871db1
tree84fc5c35ad95c2d8d7441cf7f3bd7c5c5835a3eb
parentfad823f45e20ec25801bc9ebada998e6d8f16791
arm64: dts: rockchip: Add ROCKPi 4A/4B support

Rock PI 4 has 3 variants of hardware platforms called
RockPI 4A, 4B, and 4C.

- Rock PI 4A has no Wif/BT.
- Rock PI 4B has AP6256 Wifi/BT, PoE.
- Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enable
  GPIO pin change compared to 4B, 4C

So move common nodes, properties into dtsi file and include
on respective variant dts files.

Use 4B dts into default rock-pi-4 defconfig until we find any
solution for dynamic detection of these variants.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/Makefile
arch/arm/dts/rk3399-rock-pi-4.dtsi [moved from arch/arm/dts/rk3399-rock-pi-4.dts with 95% similarity]
arch/arm/dts/rk3399-rock-pi-4a.dts [new file with mode: 0644]
arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/rk3399-rock-pi-4b.dts [new file with mode: 0644]
configs/rock-pi-4-rk3399_defconfig