Skip to contentSkip to conversation

sun7i: Add defconfig and dts for Vivax TPC-9150 v2

PATCH New Nikola Pavlica 1 participant 1 message Oct 2, 2021

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

PATCH 1/1 sun7i: Add defconfig and dts for Vivax TPC-9150 v2

This patch uses the (almost) the same settings as those found in the original Android firmware. As such, it gurantees good compatibility.

V2: Small fixes/changes to the config

---
 arch/arm/dts/Makefile                    |   1 +
 arch/arm/dts/sun7i-a20-vivax-tpc9150.dts | 299 +++++++++++++++++++++++
 board/sunxi/MAINTAINERS                  |   5 +
 configs/Vivax_TPC9150_defconfig          |  13 +
 4 files changed, 318 insertions(+)
 create mode 100644 arch/arm/dts/sun7i-a20-vivax-tpc9150.dts
 create mode 100644 configs/Vivax_TPC9150_defconfig
arch/arm/dts/Makefile +1 -0
index fc16a57e60..d8e2248272 100644
@@ -568,6 +568,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
 	sun7i-a20-pcduino3.dtb \
 	sun7i-a20-pcduino3-nano.dtb \
 	sun7i-a20-primo73.dtb \
+	sun7i-a20-vivax-tpc9150.dtb \
 	sun7i-a20-wexler-tab7200.dtb \
 	sun7i-a20-wits-pro-a20-dkt.dtb \
 	sun7i-a20-yones-toptech-bd1078.dtb
arch/arm/dts/sun7i-a20-vivax-tpc9150.dts new file +299 -0

299 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index 4fc26077b2..b13c09f582 100644
@@ -515,6 +515,11 @@ M:	Maxime Ripard <[email protected]>
 S:	Maintained
 F:	configs/tbs_a711_defconfig
 
+VIVAX TPC-9150 BOARD
+M:	Nikola Pavlica <[email protected]
+S:	Maintained
+F:	configs/Vivax_TPC-9150-defconfig
+
 WEXLER-TAB7200 BOARD
 M:	Aleksei Mamlin <[email protected]>
 S:	Maintained
configs/Vivax_TPC9150_defconfig new file +13 -0
new file mode 100644
index 0000000000..77cbba6aba
@@ -0,0 +1,13 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-vivax-tpc9150"
+CONFIG_SPL=y
+CONFIG_MACH_SUN7I=y
+CONFIG_DRAM_CLK=384
+CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:18,pclk_khz:60000,le:60,ri:160,up:13,lo:12,hs:100,vs:10,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_DCLK_PHASE=0
+CONFIG_VIDEO_LCD_POWER="PH8"
+CONFIG_VIDEO_LCD_BL_EN="PH7"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL_I2C=y
Signature · 1 line
2.33.0