]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sun7i: Add defconfig for MSI Primo73 tablet
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Sat, 27 Dec 2014 07:38:57 +0000 (09:38 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:37 +0000 (14:56 +0100)
This patch uses the same DRAM settings as in the pre-installed
Android firmware. The LCD display is supported too.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/Kconfig
board/sunxi/MAINTAINERS
board/sunxi/Makefile
configs/MSI_Primo73_defconfig [new file with mode: 0644]

index 163393832343d1a333963dfca286375c815968ac..8d3016272a8e684ef5e666d89e6cbeb3fc4da947 100644 (file)
@@ -148,6 +148,19 @@ config TARGET_MINI_X
        bool "MINI_X"
        depends on MACH_SUN4I
 
+config TARGET_MSI_PRIMO73
+       bool "MSI Primo73 (7\" tablet)"
+       depends on MACH_SUN7I
+       ---help---
+       The MSI Primo73 is an A20 based tablet, with 1G RAM, 16G NAND,
+       1024x600 TN LCD display, mono speaker, 0.3 MP front camera, 2.0 MP
+       rear camera, 3000 mAh battery, gt911 touchscreen, mma8452 accelerometer
+       and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons
+       (both volume buttons are also connected to the UBOOT_SEL pin). The
+       external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB
+       OTG and 3.5mm headphone jack. More details are available at
+           http://linux-sunxi.org/MSI_Primo73
+
 config TARGET_MSI_PRIMO81
        bool "MSI Primo81 (7.85\" tablet)"
        depends on MACH_SUN6I
index c6460f0d6a7663de00c99b29ca4f526ed9e08e90..c45b8616c1dc1c9f4cc309cfe3aadff8d3482597 100644 (file)
@@ -67,6 +67,11 @@ M:   Chen-Yu Tsai <wens@csie.org>
 S:     Maintained
 F:     configs/Ippo_q8h_v5_defconfig
 
+MSI-PRIMO73 BOARD
+M:     Siarhei Siamashka <siarhei.siamashka@gmail.com>
+S:     Maintained
+F:     configs/MSI_Primo73_defconfig
+
 MSI-PRIMO81 BOARD
 M:     Siarhei Siamashka <siarhei.siamashka@gmail.com>
 S:     Maintained
index b84ff9b8ef81fa481ffd0a06ebe4a3c36067aa7b..97aff10e07160e790eb1ff141b1db9fa2f1276f2 100644 (file)
@@ -31,6 +31,7 @@ obj-$(CONFIG_TARGET_MELE_A1000G)      += dram_sun4i_360_1024_iow8.o
 obj-$(CONFIG_TARGET_MELE_M3)           += dram_sun7i_384_1024_iow16.o
 obj-$(CONFIG_TARGET_MINI_X)            += dram_sun4i_360_512.o
 obj-$(CONFIG_TARGET_MINI_X_1GB)                += dram_sun4i_360_1024_iow16.o
+obj-$(CONFIG_TARGET_MSI_PRIMO73)       += dram_sun7i_384_1024_iow16.o
 obj-$(CONFIG_TARGET_PCDUINO3)          += dram_linksprite_pcduino3.o
 obj-$(CONFIG_TARGET_QT840A)            += dram_sun7i_384_512_busw16_iow16.o
 obj-$(CONFIG_TARGET_R7DONGLE)          += dram_r7dongle.o
diff --git a/configs/MSI_Primo73_defconfig b/configs/MSI_Primo73_defconfig
new file mode 100644 (file)
index 0000000..ef1adc5
--- /dev/null
@@ -0,0 +1,12 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
+CONFIG_FDTFILE="sun7i-a20-primo73.dtb"
+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_POWER="PH8"
+CONFIG_VIDEO_LCD_BL_EN="PH7"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+CONFIG_USB_KEYBOARD=n
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN7I=y
++S:CONFIG_TARGET_MSI_PRIMO73=y