ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard
Subsystems (2)
Neil Armstrong
maintainercover ARM: meson: 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 DT is imported from the submission done at [2] and applied at [3].
[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
[2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org/
[3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0
---
Neil Armstrong (2):
ARM: dts: import initial DT for BPI-CM4 module with BPI-CM4IO baseboard
ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard
arch/arm/dts/Makefile | 1 + .../dts/meson-g12b-bananapi-cm4-cm4io-u-boot.dtsi | 6 + arch/arm/dts/meson-g12b-bananapi-cm4-cm4io.dts | 165 +++++++++ arch/arm/dts/meson-g12b-bananapi-cm4.dtsi | 388 +++++++++++++++++++++ board/amlogic/u200/MAINTAINERS | 1 + configs/bananapi-cm4-cm4io_defconfig | 84 +++++ doc/board/amlogic/index.rst | 1 + 7 files changed, 646 insertions(+)
---
base-commit: b08ffdffdce95e267e782366f4a77bf6b5537b28
change-id: 20230307-u-boot-cm4-1311815d8371
Best regards,
Signature · 1 line
Neil Armstrong <[email protected]>
Neil Armstrong
maintainerPATCH 1/2 ARM: dts: import initial DT for BPI-CM4 module with BPI-CM4IO baseboard
Import initial support for BPI-CM4 module with BPI-CM4IO baseboard from the Linux submission applied at [1].
The BananaPi BPI-CM4 module follows the CM4 specifications at [2], 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.
[1] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0
[2] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-g12b-bananapi-cm4-cm4io.dts | 165 +++++++++++ arch/arm/dts/meson-g12b-bananapi-cm4.dtsi | 388 +++++++++++++++++++++++++ 3 files changed, 554 insertions(+)
arch/arm/dts/Makefile +1 -0
@@ -212,6 +212,7 @@ dtb-$(CONFIG_ARCH_MESON) += \ meson-g12b-odroid-n2.dtb \ meson-g12b-odroid-n2l.dtb \ meson-g12b-odroid-n2-plus.dtb \ + meson-g12b-bananapi-cm4-cm4io.dtb \ meson-sm1-bananapi-m5.dtb \ meson-sm1-khadas-vim3l.dtb \ meson-sm1-odroid-c4.dtb \
arch/arm/dts/meson-g12b-bananapi-cm4-cm4io.dts new file +165 -0
165 lines not on this page · raw message
arch/arm/dts/meson-g12b-bananapi-cm4.dtsi new file +388 -0
388 lines not on this page · raw message
Signature · 1 line
2.34.1
Neil Armstrong
maintainerPATCH 2/2 ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard
In reply to Neil ArmstrongAdd 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.
[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
--- .../dts/meson-g12b-bananapi-cm4-cm4io-u-boot.dtsi | 6 ++ board/amlogic/u200/MAINTAINERS | 1 + configs/bananapi-cm4-cm4io_defconfig | 84 ++++++++++++++++++++++ doc/board/amlogic/index.rst | 1 + 4 files changed, 92 insertions(+)
arch/arm/dts/meson-g12b-bananapi-cm4-cm4io-u-boot.dtsi new file +6 -0
@@ -0,0 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Neil Armstrong <[email protected]> + */ + +#include "meson-g12-common-u-boot.dtsi"
board/amlogic/u200/MAINTAINERS +1 -0
@@ -4,6 +4,7 @@ S: Maintained L: [email protected] F: board/amlogic/u200/ F: configs/u200_defconfig +F: configs/bananapi-cm4-cm4io_defconfig F: configs/bananapi-m5_defconfig F: configs/radxa-zero_defconfig F: doc/board/amlogic/u200.rst
configs/bananapi-cm4-cm4io_defconfig new file +84 -0
84 lines not on this page · raw message
doc/board/amlogic/index.rst +1 -0
@@ -22,6 +22,7 @@ This matrix concerns the actual source code version. | | | JetHub J80 | | | | Odroid-Go- | BananaPi-M5 | | | | | | | | Ultra | | | | | | | | | Odroid-N2L | | +| | | | | | | BPI-M4 | | +-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+ | UART | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | +-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+
Signature · 1 line
2.34.1
Neil Armstrong
maintainerHi,
Quoted 11 lines · Neil Armstrong
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.
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic-next)
[1/2] ARM: dts: import initial DT for BPI-CM4 module with BPI-CM4IO baseboard
https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/384bfe31c8d77b69542e3bf76f823a42329847aa [2/2] ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/cc073f6c2241ff8adf2fc2869bd1a6fcf379a172
Signature · 1 line
Neil