Skip to contentSkip to conversation

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

PATCH Superseded codekipper at gmail.com 2 participants 2 messages Nov 15, 2018 – Nov 22, 2018

Subsystems (2)

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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.

---
 arch/arm/dts/Makefile                |   1 +
 arch/arm/dts/sun8i-h3-beelink-x2.dts | 179 +++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS              |   5 +
 configs/beelink_x2_defconfig         |  19 +++
 4 files changed, 204 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 1cbb45d679..cc217d4f98 100644
@@ -370,6 +370,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 +179 -0

179 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 478e37285f..6417158fd1 100644
@@ -159,6 +159,11 @@ M:	Jagan Teki <[email protected]>
 S:	Maintained
 F:	configs/bananapi_m64_defconfig
 
+BEELINK X2 BOARD
+M:	Marcus Cooper <[email protected]>
+S:	Maintained
+F:	configs/beelink_x2_defconfig
+
 COLOMBUS BOARD
 M:	Maxime Ripard <[email protected]>
 S:	Maintained
configs/beelink_x2_defconfig new file +19 -0
new file mode 100644
index 0000000000..6508e470a0
@@ -0,0 +1,19 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=624
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+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_SPL_I2C_SUPPORT=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_SY8106A_POWER=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.19.1
#1 lore raw

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

Quoted 36 lines · On Thu, Nov 15, 2018 at 2:19 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.

---
 arch/arm/dts/Makefile                |   1 +
 arch/arm/dts/sun8i-h3-beelink-x2.dts | 179 +++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS              |   5 +
 configs/beelink_x2_defconfig         |  19 +++
 4 files changed, 204 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 1cbb45d679..cc217d4f98 100644
@@ -370,6 +370,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 +0 -0
new file mode 100644
index 0000000000..683c5c31a9

arch/arm/dts/sun8i-h3-beelink-x2.dts line 5

Quoted 5 lines
arch/arm/dts/sun8i-h3-beelink-x2.dts new file +5 -0
@@ -0,0 +1,179 @@
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Device Tree Source for Beelink X2
+//
+// Copyright (C) 2018 Marcus Cooper <[email protected]>

need space, but this doesn't look like Linux sync. better sync it directly w/o any changes, if you need updated license do first in Linux.

otherwise,