sunxi: Add support for Mele M5.

HDMI, SATA, USB and Ethernet appear functional, I've not done extensive tests
of all peripherals though.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Ian Campbell 2015-01-22 11:56:50 +00:00 committed by Hans de Goede
parent 389046be2f
commit c17fb11c56
2 changed files with 18 additions and 0 deletions

View File

@ -94,3 +94,8 @@ MARSBOARD-A10 BOARD
M: Aleksei Mamlin <mamlinav@gmail.com>
S: Maintained
F: configs/Marsboard_A10_defconfig
MELE M5 BOARD
M: Ian Campbell <ijc@hellion.org.uk>
S: Maintained
F: configs/Mele_M5_defconfig

13
configs/Mele_M5_defconfig Normal file
View File

@ -0,0 +1,13 @@
CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,USB_EHCI,STATUSLED=234"
CONFIG_FDTFILE="sun7i-a20-m5.dtb"
CONFIG_VIDEO_HDMI=y
+S:CONFIG_MMC0_CD_PIN="PH1"
+S:CONFIG_USB1_VBUS_PIN="PH6"
+S:CONFIG_USB2_VBUS_PIN="PH3"
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_SUNXI=y
+S:CONFIG_MACH_SUN7I=y
+S:CONFIG_DRAM_CLK=432
+S:CONFIG_DRAM_ZQ=122
+S:CONFIG_DRAM_EMR1=4