Skip to contentSkip to conversation

sunxi: Add support for Mele M5.

PATCH New Ian Campbell 2 participants 2 messages Jan 22, 2015 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sunxi: Add support for Mele M5.

From: Ian Campbell <[email protected]>

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

---
Applies on "sunxi: Convert sun7i boards to use auto dram configuration"

v2: Enable AHCI.

---
 board/sunxi/MAINTAINERS   |  5 +++++
 configs/Mele_M5_defconfig | 13 +++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 configs/Mele_M5_defconfig
board/sunxi/MAINTAINERS +5 -0
index cc04e6c..fea23b8 100644
@@ -93,3 +93,8 @@ MARSBOARD-A10 BOARD
 M:	Aleksei Mamlin <[email protected]>
 S:	Maintained
 F:	configs/Marsboard_A10_defconfig
+
+MELE M5 BOARD
+M:	Ian Campbell <[email protected]>
+S:	Maintained
+F:	configs/Mele_M5_defconfig
configs/Mele_M5_defconfig new file +13 -0
new file mode 100644
index 0000000..2e1f80d
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/1 sunxi: Add support for Mele M5.

Hi,

Quoted 6 lines · Ian Campbell

From: Ian Campbell <[email protected]>

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

Thanks applied to u-boot-sunxi/next (and rebased u-boot-sunxi/next, so did a forced push).

Regards,

Hans

Quoted 43 lines

---
Applies on "sunxi: Convert sun7i boards to use auto dram configuration"

v2: Enable AHCI.

---
  board/sunxi/MAINTAINERS   |  5 +++++
  configs/Mele_M5_defconfig | 13 +++++++++++++
  2 files changed, 18 insertions(+)

create mode 100644 configs/Mele_M5_defconfig

board/sunxi/MAINTAINERS +5 -0
index cc04e6c..fea23b8 100644
@@ -93,3 +93,8 @@ MARSBOARD-A10 BOARD
  M:	Aleksei Mamlin <[email protected]>
  S:	Maintained
  F:	configs/Marsboard_A10_defconfig
+
+MELE M5 BOARD
+M:	Ian Campbell <[email protected]>
+S:	Maintained
+F:	configs/Mele_M5_defconfig
configs/Mele_M5_defconfig new file +13 -0
new file mode 100644
index 0000000..2e1f80d
@@ -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