Skip to contentSkip to conversation

sun5i: Add defconfig and dts file for the Empire Electronix M712 tablet

PATCH New Hans de Goede 2 participants 2 messages Aug 26, 2016 – Sep 8, 2016

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

PATCH 1/1 sun5i: Add defconfig and dts file for the Empire Electronix M712 tablet

Add a defconfig and dts file for the Empire Electronix M712 tablet, this is a 7" A13 tablet, with micro-usb (otg), headphone and micro-sd slots on the outside. It uses a Goodix gt811 touchscreen controller, a RTL8188CTV wifi chip and a DMART06 (1238a4) accelerometer.

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

---
 arch/arm/dts/Makefile                             |  1 +
 arch/arm/dts/sun5i-a13-empire-electronix-m712.dts | 51 +++++++++++++++++++++++
 board/sunxi/MAINTAINERS                           |  1 +
 configs/Empire_electronix_m712_defconfig          | 22 ++++++++++
 4 files changed, 75 insertions(+)
 create mode 100644 arch/arm/dts/sun5i-a13-empire-electronix-m712.dts
 create mode 100644 configs/Empire_electronix_m712_defconfig
arch/arm/dts/Makefile +1 -0
index 6d1b94c..7d1944f 100644
@@ -182,6 +182,7 @@ dtb-$(CONFIG_MACH_SUN5I) += \
 	sun5i-a13-ampe-a76.dtb \
 	sun5i-a13-difrnce-dit4350.dtb \
 	sun5i-a13-empire-electronix-d709.dtb \
+	sun5i-a13-empire-electronix-m712.dtb \
 	sun5i-a13-hsg-h702.dtb \
 	sun5i-a13-inet-86vs.dtb \
 	sun5i-a13-inet-98v-rev2.dtb \
arch/arm/dts/sun5i-a13-empire-electronix-m712.dts new file +51 -0

51 lines not on this page · raw message

board/sunxi/MAINTAINERS +1 -0
index c1d0f55..7072bd8 100644
@@ -28,6 +28,7 @@ F:	configs/Auxtek-T004_defconfig
 F:	configs/CHIP_defconfig
 F:	configs/difrnce_dit4350_defconfig
 F:	configs/Empire_electronix_d709_defconfig
+F:	configs/Empire_electronix_m712_defconfig
 F:	configs/inet98v_rev2_defconfig
 F:	configs/mk802_a10s_defconfig
 F:	configs/q8_a13_tablet_defconfig
configs/Empire_electronix_m712_defconfig new file +22 -0
new file mode 100644
index 0000000..224098f
@@ -0,0 +1,22 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN5I=y
+CONFIG_DRAM_CLK=408
+CONFIG_MMC0_CD_PIN="PG0"
+CONFIG_USB0_VBUS_PIN="PG12"
+CONFIG_USB0_VBUS_DET="PG1"
+CONFIG_USB0_ID_DET="PG2"
+CONFIG_AXP_GPIO=y
+# CONFIG_VIDEO_HDMI is not set
+CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:45,ri:82,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_POWER="AXP0-0"
+CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-empire-electronix-m712"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_USB_MUSB_HOST=y
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 sun5i: Add defconfig and dts file for the Empire Electronix M712 tablet

Quoted 8 lines · Hans de Goede

Add a defconfig and dts file for the Empire Electronix M712 tablet, this
is a 7" A13 tablet, with micro-usb (otg), headphone and micro-sd slots on
the outside. It uses a Goodix gt811 touchscreen controller, a RTL8188CTV
wifi chip and a DMART06 (1238a4) accelerometer.

Quoted 4 lines

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

(sorry for the delay, I was on vacation and this got mixed in with all the other random u-boot stuff I get cc-d on so I missed it)