]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Add support for Mele M5.
authorIan Campbell <ijc@hellion.org.uk>
Thu, 22 Jan 2015 11:56:50 +0000 (11:56 +0000)
committerHans de Goede <hdegoede@redhat.com>
Fri, 23 Jan 2015 14:15:02 +0000 (15:15 +0100)
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>
board/sunxi/MAINTAINERS
configs/Mele_M5_defconfig [new file with mode: 0644]

index a06d3ce90c4fe0fa980ff6f455227c23e00e4044..b540bd37e235dc0efb69c65587ea83103a48510f 100644 (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
diff --git a/configs/Mele_M5_defconfig b/configs/Mele_M5_defconfig
new file mode 100644 (file)
index 0000000..2e1f80d
--- /dev/null
@@ -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