kernel: b53: fix compilation on BCM47XX
[openwrt/staging/chunkeey.git] / package / boot / uboot-sunxi / patches / 060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch
1 From 335d30050b0d02444c9297f7a9b0cbf75dce847f Mon Sep 17 00:00:00 2001
2 From: Olliver Schinagl <oliver@schinagl.nl>
3 Date: Fri, 12 May 2017 11:38:54 +0200
4 Subject: sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC
5
6 This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
7 storage.
8 https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
9
10 It is a assembly variant of the regular Lime2 but featuring eMMC for
11 storage.
12
13 Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
14 Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
15 Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
16 Reviewed-by: Jagan Teki <jagan@openedev.com>
17 ---
18 board/sunxi/MAINTAINERS | 5 +++++
19 configs/A20-OLinuXino-Lime2-eMMC_defconfig | 36 ++++++++++++++++++++++++++++++
20 2 files changed, 41 insertions(+)
21 create mode 100644 configs/A20-OLinuXino-Lime2-eMMC_defconfig
22
23 --- a/board/sunxi/MAINTAINERS
24 +++ b/board/sunxi/MAINTAINERS
25 @@ -88,6 +88,11 @@ M: Iain Paton <ipaton0@gmail.com>
26 S: Maintained
27 F: configs/A20-OLinuXino-Lime2_defconfig
28
29 +A20-OLINUXINO-LIME2-EMMC BOARD
30 +M: Olliver Schinagl <oliver@schinagl.nl>
31 +S: Maintained
32 +F: configs/A20-OLinuXino-Lime2-eMMC_defconfig
33 +
34 A33-OLINUXINO BOARD
35 M: Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
36 S: Maintained
37 --- /dev/null
38 +++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
39 @@ -0,0 +1,37 @@
40 +CONFIG_ARM=y
41 +CONFIG_ARCH_SUNXI=y
42 +CONFIG_MACH_SUN7I=y
43 +CONFIG_DRAM_CLK=384
44 +CONFIG_MMC0_CD_PIN="PH1"
45 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2
46 +CONFIG_USB0_VBUS_PIN="PC17"
47 +CONFIG_USB0_VBUS_DET="PH5"
48 +CONFIG_I2C1_ENABLE=y
49 +CONFIG_SATAPWR="PC3"
50 +CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2-emmc"
51 +CONFIG_AHCI=y
52 +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
53 +CONFIG_SPL=y
54 +CONFIG_SPL_I2C_SUPPORT=y
55 +# CONFIG_CMD_IMLS is not set
56 +# CONFIG_CMD_FLASH is not set
57 +CONFIG_CMD_DFU=y
58 +CONFIG_CMD_USB_MASS_STORAGE=y
59 +# CONFIG_CMD_FPGA is not set
60 +# CONFIG_SPL_DOS_PARTITION is not set
61 +# CONFIG_SPL_ISO_PARTITION is not set
62 +# CONFIG_SPL_PARTITION_UUIDS is not set
63 +CONFIG_DFU_RAM=y
64 +CONFIG_ETH_DESIGNWARE=y
65 +CONFIG_RGMII=y
66 +CONFIG_SUN7I_GMAC=y
67 +CONFIG_GMAC_TX_DELAY=1
68 +CONFIG_AXP_ALDO3_VOLT=2800
69 +CONFIG_AXP_ALDO4_VOLT=2800
70 +CONFIG_USB_EHCI_HCD=y
71 +CONFIG_USB_MUSB_GADGET=y
72 +CONFIG_USB_GADGET=y
73 +CONFIG_USB_GADGET_DOWNLOAD=y
74 +CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
75 +CONFIG_G_DNL_VENDOR_NUM=0x1f3a
76 +CONFIG_G_DNL_PRODUCT_NUM=0x1010