Skip to contentSkip to conversation

sun8i: h3: Add support for the Beelink-x2 STB

PATCH New codekipper at gmail.com 2 participants 2 messages Jun 2, 2019 – Jun 12, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v7 1/1 sun8i: h3: Add support for the Beelink-x2 STB

From: Marcus Cooper <[email protected]>

The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a dual colour LED and an optical S/PDIF connector.

Linux commit details about the sun8i-h3-beelink-x2.dts sync:
"ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2" (sha1: cc4bddade114b696ab27c1a77cfc7040151306da)

---
Changes in v7:
- Added linux kernel SHA1 ID to commit message where dts was synched from.
- removed CONFIG_SPL_TEXT_BASE as it's now in Kconfig
- removed CONFIG_DRAM_ODT_EN as it's not needed

Changes in v6:
- Added myself as dts file maintainer

Changes in v5:
- Corrected DRAM Clock to what is reported on Android boot
- Removed support for SY8106A regulator
- Set CONFIG_SPL_TEXT_BASE which is now required.

Changes in v4:
- updated dts to reflex current linux kernel status

Changes in v3:
- Removed incorrect commit author
- Included v1-v2 change info

Changes in v2:
- updated dts to reflex current linux kernel status

---
 arch/arm/dts/Makefile                |   1 +
 arch/arm/dts/sun8i-h3-beelink-x2.dts | 216 +++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS              |   6 +
 configs/beelink_x2_defconfig         |  16 ++
 4 files changed, 239 insertions(+)
 create mode 100644 arch/arm/dts/sun8i-h3-beelink-x2.dts
 create mode 100644 configs/beelink_x2_defconfig
arch/arm/dts/Makefile +1 -0
index 31ef2b66a3..80fb7ce0e0 100644
@@ -475,6 +475,7 @@ dtb-$(CONFIG_MACH_SUN8I_H3) += \
 	sun8i-h2-plus-orangepi-r1.dtb \
 	sun8i-h2-plus-orangepi-zero.dtb \
 	sun8i-h3-bananapi-m2-plus.dtb \
+	sun8i-h3-beelink-x2.dtb \
 	sun8i-h3-libretech-all-h3-cc.dtb \
 	sun8i-h3-nanopi-m1.dtb \
 	sun8i-h3-nanopi-m1-plus.dtb \
arch/arm/dts/sun8i-h3-beelink-x2.dts new file +216 -0

216 lines not on this page · raw message

board/sunxi/MAINTAINERS +6 -0
index bdd1854197..c7e9d3eda0 100644
@@ -172,6 +172,12 @@ S:	Maintained
 F:	configs/beelink_gs1_defconfig
 F:	arch/arm/dts/sun50i-h6-beelink-gs1.dts
 
+BEELINK X2 BOARD
+M:	Marcus Cooper <[email protected]>
+S:	Maintained
+F:	configs/beelink_x2_defconfig
+F:	arch/arm/dts/sun8i-h3-beelink-x2.dts
+
 COLOMBUS BOARD
 M:	Maxime Ripard <[email protected]>
 S:	Maintained
configs/beelink_x2_defconfig new file +16 -0
new file mode 100644
index 0000000000..be946956fa
@@ -0,0 +1,16 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=567
+CONFIG_DRAM_ZQ=3881979
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-beelink-x2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_CONSOLE_MUX=y
+# CONFIG_CMD_FLASH is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_SUN8I_EMAC=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.21.0
#1 lore raw

PATCH v7 1/1 sun8i: h3: Add support for the Beelink-x2 STB

Quoted 8 lines · On Sun, Jun 2, 2019 at 12:08 PM <[email protected]> wrote:

From: Marcus Cooper <[email protected]>

The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a dual colour LED and an optical S/PDIF connector.

Quoted 6 lines

Linux commit details about the sun8i-h3-beelink-x2.dts sync:
"ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2" (sha1: cc4bddade114b696ab27c1a77cfc7040151306da)

---

Applied to u-boot-sunxi/next