From 44857532cfdfaa0514b02de8f9c3b96392d572b8 Mon Sep 17 00:00:00 2001 From: Marcus Cooper Date: Sat, 28 Feb 2015 15:00:57 +0100 Subject: [PATCH] sun6i: Add support for the Mele I7 board The Mele I7 is a Allwinner based Android TV box. It features a A31 SOC, 1G RAM, 8GB NAND, HDMI out, A/V out, SPDIF, IrDA, 3 USB A, 1 USB micro OTG and Wireless LAN. Signed-off-by: Marcus Cooper Acked-by: Hans de Goede Signed-off-by: Hans de Goede --- board/sunxi/MAINTAINERS | 5 +++++ configs/Mele_I7_defconfig | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 configs/Mele_I7_defconfig diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index 264828a789..3e6ce88d75 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -101,6 +101,11 @@ M: Aleksei Mamlin S: Maintained F: configs/Marsboard_A10_defconfig +MELE I7 BOARD +M: Marcus Cooper +S: Maintained +F: configs/Mele_I7_defconfig + MELE M5 BOARD M: Ian Campbell S: Maintained diff --git a/configs/Mele_I7_defconfig b/configs/Mele_I7_defconfig new file mode 100644 index 0000000000..e2c63c597a --- /dev/null +++ b/configs/Mele_I7_defconfig @@ -0,0 +1,26 @@ +# The Mele I7 is a Allwinner based Android TV box. +# +# It features a A31 SOC, 1G RAM, 8GB NAND, HDMI out, A/V out, +# SPDIF, IrDA, 3 USB A, 1 USB micro OTG and Wireless LAN. +# +# For more details see: http://linux-sunxi.org/Mele_I7 +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC" +CONFIG_FDTFILE="sun6i-a31-i7.dtb" ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN6I=y ++S:CONFIG_DRAM_CLK=312 ++S:CONFIG_DRAM_ZQ=120 +# The Mele I7 uses 3.3V for general IO ++S:CONFIG_AXP221_DCDC1_VOLT=3300 +# Ethernet phy power ++S:CONFIG_AXP221_DLDO1_VOLT=3300 +# USB hub power ++S:CONFIG_AXP221_DLDO4_VOLT=3300 +# Wifi power ++S:CONFIG_AXP221_ALDO1_VOLT=3300 +# Vbus gpio for usb1 ++S:CONFIG_USB1_VBUS_PIN="PC27" +# No Vbus gpio for usb2 ++S:CONFIG_USB2_VBUS_PIN="" -- 2.39.5