Skip to contentSkip to conversation

ARM: dts: sunxi: Add Libre Computer ALL-H3-IT H5 board

PATCH Applied Chen-Yu Tsai 2 participants 2 messages Dec 24, 2019 – Dec 26, 2019

Subsystems (2)
lore
Share & tools
lore

Chen-Yu Tsai

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: sunxi: Add Libre Computer ALL-H3-IT H5 board

From: Chen-Yu Tsai <[email protected]>

The Libre Computer ALL-H3-IT board is a small single board computer that is roughly the same size as the Raspberry Pi Zero, or around 20% smaller than a credit card.

The board features:

- H2, H3, or H5 SoC from Allwinner
- 2 DDR3 DRAM chips
- Realtek RTL8821CU based WiFi module
- 128 Mbit SPI-NOR flash
- micro-SD card slot
- micro HDMI video output
- FPC connector for camera sensor module
- generic Raspberri-Pi style 40 pin GPIO header
- additional pin headers for extra USB host ports, ananlog audio and IR receiver

Only H5 variant test samples were made available, but the vendor does have plans to include at least an H3 variant. Thus the device tree is split much like the ALL-H3-CC, with a common dtsi file for the board design, and separate dts files including the common board file and the SoC dtsi file. The other variants will be added as they are made available.

---

The boards I have are test samples. For some reason the CPU supply regulator is set at 1.3V, not 1.1V, however the production version will have it set to 1.1V. The activity LED doesn't work either, but that seems to be an issue with the LED itself, since the GPIO does toggle the voltage level measured at the LED.

---
 .../devicetree/bindings/arm/sunxi.yaml        |   5 +
 .../boot/dts/sunxi-libretech-all-h3-it.dtsi   | 180 ++++++++++++++++++
 arch/arm64/boot/dts/allwinner/Makefile        |   1 +
 .../sun50i-h5-libretech-all-h3-it.dts         |  11 ++
 4 files changed, 197 insertions(+)
 create mode 100644 arch/arm/boot/dts/sunxi-libretech-all-h3-it.dtsi
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-it.dts
Documentation/devicetree/bindings/arm/sunxi.yaml +5 -0
index eaa042fc090f..a2edf5299e48 100644
@@ -342,6 +342,11 @@ properties:
           - const: libretech,all-h3-cc-h5
           - const: allwinner,sun50i-h5
 
+      - description: Libre Computer Board ALL-H3-IT H5
+        items:
+          - const: libretech,all-h3-it-h5
+          - const: allwinner,sun50i-h5
+
       - description: Lichee Pi One
         items:
           - const: licheepi,licheepi-one
arch/arm/boot/dts/sunxi-libretech-all-h3-it.dtsi new file +180 -0

180 lines not on this page · raw message

arch/arm64/boot/dts/allwinner/Makefile +1 -0
index 62bc43f187bf..a7fdf04ffca2 100644
@@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus-v1.2.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-emlid-neutis-n5-devboard.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-libretech-all-h3-cc.dtb
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-libretech-all-h3-it.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-nanopi-neo2.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-nanopi-neo-plus2.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-pc2.dtb
arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-it.dts new file +11 -0
new file mode 100644
index 000000000000..e59d68b525fc
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+// Copyright (C) 2019 Chen-Yu Tsai <[email protected]>
+
+/dts-v1/;
+#include "sun50i-h5.dtsi"
+#include <arm/sunxi-libretech-all-h3-it.dtsi>
+
+/ {
+	model = "Libre Computer Board ALL-H3-IT H5";
+	compatible = "libretech,all-h3-it-h5", "allwinner,sun50i-h5";
+};
Signature · 1 line
2.24.1
#1 lore raw
Quoted 19 lines · Chen-Yu Tsai

From: Chen-Yu Tsai <[email protected]>

The Libre Computer ALL-H3-IT board is a small single board computer that is roughly the same size as the Raspberry Pi Zero, or around 20% smaller than a credit card.

The board features:

- H2, H3, or H5 SoC from Allwinner
- 2 DDR3 DRAM chips
- Realtek RTL8821CU based WiFi module
- 128 Mbit SPI-NOR flash
- micro-SD card slot
- micro HDMI video output
- FPC connector for camera sensor module
- generic Raspberri-Pi style 40 pin GPIO header
- additional pin headers for extra USB host ports, ananlog audio and IR receiver

Quoted 8 lines

Only H5 variant test samples were made available, but the vendor does have plans to include at least an H3 variant. Thus the device tree is split much like the ALL-H3-CC, with a common dtsi file for the board design, and separate dts files including the common board file and the SoC dtsi file. The other variants will be added as they are made available.

Applied, thanks!
Maxime