Skip to contentSkip to conversation

sunxi: Add defconfig and dts for Orange Pi 2 SBC

PATCH New Hans de Goede 2 participants 2 messages Mar 23, 2016

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

PATCH 1/1 sunxi: Add defconfig and dts for Orange Pi 2 SBC

The Orange Pi 2 is a SBC based on the Allwinner H3 SoC with a uSD slot, 4 USB ports connected via a USB-2 hub, a 10/100M ethernet port using the SoC's integrated PHY, Wifi via a RTL8189ETV sdio wifi chip, USB OTG, HDMI, a TRRS headphone jack for stereo out and composite out, a microphone, an IR receiver, a CSI connector, 2 LEDs, a 3 pin UART header and a 40-pin GPIO header.

The added dts file is identical to the one submitted to the upstream kernel.

---
 arch/arm/dts/Makefile                |   1 +
 arch/arm/dts/sun8i-h3-orangepi-2.dts | 186 +++++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS              |   1 +
 configs/orangepi_2_defconfig         |  18 ++++
 4 files changed, 206 insertions(+)
 create mode 100644 arch/arm/dts/sun8i-h3-orangepi-2.dts
 create mode 100644 configs/orangepi_2_defconfig
arch/arm/dts/Makefile +1 -0
index 6112f52..ae75c76 100644
@@ -201,6 +201,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \
 	sun8i-a83t-cubietruck-plus.dtb \
 	sun8i-a83t-sinovoip-bpi-m3.dtb
 dtb-$(CONFIG_MACH_SUN8I_H3) += \
+	sun8i-h3-orangepi-2.dtb \
 	sun8i-h3-orangepi-pc.dtb \
 	sun8i-h3-orangepi-plus.dtb
 dtb-$(CONFIG_MACH_SUN9I) += \
arch/arm/dts/sun8i-h3-orangepi-2.dts new file +186 -0

186 lines not on this page · raw message

board/sunxi/MAINTAINERS +1 -0
index 603cda7..5f2f4fe 100644
@@ -54,6 +54,7 @@ F:	configs/Wits_Pro_A20_DKT_defconfig
 F:	include/configs/sun8i.h
 F:	configs/ga10h_v1_1_defconfig
 F:	configs/gt90h_v4_defconfig
+F:	configs/orangepi_2_defconfig
 F:	configs/orangepi_pc_defconfig
 F:	configs/orangepi_plus_defconfig
 F:	configs/polaroid_mid2809pxe04_defconfig
configs/orangepi_2_defconfig new file +18 -0
new file mode 100644
index 0000000..ff9ac09
@@ -0,0 +1,18 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=672
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+CONFIG_MMC0_CD_PIN="PF6"
+# CONFIG_VIDEO is not set
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_CMD_GPIO=y
+CONFIG_SY8106A_POWER=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB1_VBUS_PIN="PG13"
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 sunxi: Add defconfig and dts for Orange Pi 2 SBC

Quoted 10 lines · Hans de Goede

The Orange Pi 2 is a SBC based on the Allwinner H3 SoC with a uSD slot,
4 USB ports connected via a USB-2 hub, a 10/100M ethernet port using the
SoC's integrated PHY, Wifi via a RTL8189ETV sdio wifi chip, USB OTG, HDMI,
a TRRS headphone jack for stereo out and composite out, a microphone, an IR receiver, a CSI connector, 2 LEDs, a 3 pin UART header and a 40-pin GPIO header.

Quoted 4 lines

The added dts file is identical to the one submitted to the upstream kernel.