arm64: dts: rockchip: add Anbernic RG353V and RG353VS
authorChris Morgan <macromorgan@hotmail.com>
Fri, 28 Oct 2022 18:40:43 +0000 (13:40 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 30 Oct 2022 19:48:50 +0000 (20:48 +0100)
commit1e141cf127262150d053ed3f80d0d3c42de11c43
treef9e33982c919ad67d44d26a8d7e5ccfa3a419d02
parente1cc1e712d85c10ad47a083186c222210dab5b23
arm64: dts: rockchip: add Anbernic RG353V and RG353VS

Anbernic RG353V and RG353VS are both RK3566 based handheld gaming devices
from Anbernic.

They are functionally very similar to the RG353P with the following
distinct differences:
 - The battery size of the RG353V and RG353VS is 3200mAh instead of
   3500mAh.
 - The audio uses the PMIC's internal amplifier for a mono speaker
   instead of an external amplifier with stereo speakers.
 - The GPIOs for the R1 and R2 buttons are switched.

As for the differences between the RG353V and RG353VS, they are as
follows:
 - The RG353VS has no touchscreen on i2c2.
 - The RG353VS has no eMMC.
 - The RG353VS has 1GB of RAM instead of 2GB.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20221028184045.13113-3-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/Makefile
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts [new file with mode: 0644]
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts [new file with mode: 0644]
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353x.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi