arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
authorMartin Botka <martin.botka@somainline.org>
Tue, 12 Sep 2023 11:20:49 +0000 (13:20 +0200)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Sun, 24 Sep 2023 19:58:21 +0000 (21:58 +0200)
commit2e33101f1db456d927012174a6d8c6fde8570247
treeae1c237f68ed866d20038a4620f33293047c8858
parent2845d77ab354c691723bf96aaf6ca41368632411
arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support

CB1 is Compute Module style board that plugs into Rpi board style adapter or
Manta 3D printer boards (M4P/M8P).

The SoM features:
  - H616 SoC
  - 1GiB of RAM
  - AXP313A PMIC
  - RTL8189FTV WiFi

Boards feature:
  - 4x USB via USB2 hub (usb1 on SoM).
  - SDcard slot for loading images.
  - Ethernet port wired to the internal PHY. (100M)
  - 2x HDMI 2.0. (Only 1 usable on CB1)
  - Power and Status LEDs. (Only Status LED usable on CB1)
  - 40 pin GPIO header

Currently working:
  - Booting
  - USB
  - UART
  - MMC
  - Status LED
  - WiFi (RTL8189FS via out of tree driver)

I didnt want to duplicate things so the manta DTS can also be used on BTT pi4b adapter.
CB1 SoM has its own DTSI file in case other boards shows up that accept this SoM.

Signed-off-by: Martin Botka <martin.botka@somainline.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230912-b4-cb1-v6-3-bb11238f3a9c@somainline.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm64/boot/dts/allwinner/Makefile
arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts [new file with mode: 0644]
arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi [new file with mode: 0644]