arm64: dts: amlogic: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 6 Mar 2023 08:31:39 +0000 (09:31 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 7 Mar 2023 08:02:03 +0000 (09:02 +0100)
commit0262f2736978b1763363224698f47112a148dab0
tree60b6df9e75332e5a41fb02ab57110b5678a917bc
parent92c0b261c294f12e329976a6d4ef72651e8f07f2
arm64: dts: amlogic: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard

Add support for both the BananaPi BPI-CM4 module and the BananaPi
baseboard which is compatible with the RaspberryPi CM4IO baseboard.

The BananaPi BPI-CM4 module follows the CM4 specifications at [1],
but with a single HDMI port and a single DSI output.

The current CM4IO baseboard DT should work fine on the Raspberry CM4
baseboard and other derivatives baseboards, but proper DT should
be written for other baseboards.

The split is done so it's easy to describe a new CM4 baseboard, enabling
only the necessary HW used on the baseboard.

[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf

Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20230303-topic-amlogic-upstream-bpi-cm4-v2-2-2ecfde76fc4d@linaro.org
[narmstrong: fixed typos in commit message]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/Makefile
arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4-cm4io.dts [new file with mode: 0644]
arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi [new file with mode: 0644]