sunxi: Add defconfig for Cubietruck Plus
authorChen-Yu Tsai <wens@csie.org>
Wed, 27 Jan 2016 08:34:44 +0000 (16:34 +0800)
committerHans de Goede <hdegoede@redhat.com>
Wed, 23 Mar 2016 21:04:13 +0000 (22:04 +0100)
Cubietruck Plus is a A83T/H8 based development board. The board has
standard DDR3 SDRAM, AXP818 PMIC/codec, SD/MMC, eMMC, USB 2.0 host
via HSIC USB Hub, USB OTG, SATA via USB bridge, gigabit ethernet,
WiFi, headphone out / mic in, and various GPIO headers.

The board also has an EEPROM on i2c0 which holds the MAC address.

DLDO3 and DLDO4 provide power to the EMAC pins and PHY. Pin PA20
is connected to the reset control of the PHY. EMAC is not actually
supported yet.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/MAINTAINERS
configs/Cubietruck_plus_defconfig [new file with mode: 0644]

index 5535326615d10d09cea62c6c14c7169715b72f7a..edefd878fa66eb4becf2063398ad9852ac55d123 100644 (file)
@@ -100,6 +100,11 @@ F: include/configs/sun7i.h
 F:     configs/Cubieboard2_defconfig
 F:     configs/Cubietruck_defconfig
 
+CUBIETRUCK-PLUS BOARD
+M:     Chen-Yu Tsai <wens@csie.org>
+S:     Maintained
+F:     configs/Cubietruck_plus_defconfig
+
 GEMEI-G9 TABLET
 M:     Priit Laes <plaes@plaes.org>
 S:     Maintained
diff --git a/configs/Cubietruck_plus_defconfig b/configs/Cubietruck_plus_defconfig
new file mode 100644 (file)
index 0000000..bb0b336
--- /dev/null
@@ -0,0 +1,18 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_A83T=y
+CONFIG_DRAM_CLK=672
+CONFIG_DRAM_ZQ=15355
+CONFIG_DRAM_ODT_EN=y
+CONFIG_MMC0_CD_PIN="PF6"
+CONFIG_I2C0_ENABLE=y
+CONFIG_AXP_GPIO=y
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-cubietruck-plus"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="RGMII,MACPWR=SUNXI_GPD(20)"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_AXP_DLDO3_VOLT=2500
+CONFIG_AXP_DLDO4_VOLT=3300