[U-Boot] [linux-sunxi] [PATCH v4] sunxi: add support for Banana Pi M2 Zero board

Icenowy Zheng icenowy at aosc.io
Tue Oct 30 06:49:29 UTC 2018



于 2018年10月30日 GMT+08:00 下午2:27:43, Jagan Teki <jagan at amarulasolutions.com> 写到:
>On Sat, Oct 27, 2018 at 10:41 AM Icenowy Zheng <icenowy at aosc.io> wrote:
>>
>> From: Jun Nie <jun.nie at linaro.org>
>>
>> Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC,
>16-bit
>> 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and
>one
>> powering-only) and a miniHDMI port.
>>
>> Signed-off-by: Icenowy Zheng <icenowy at aosc.io>
>> Signed-off-by: Jun Nie <jun.nie at linaro.org>
>> ---
>> Changes in v4:
>> - Fixed MMC card detect on product batch boards.
>> - Synced the device tree from the same commit with other H3/H2+ DTs.
>>
>>  arch/arm/dts/Makefile                         |   1 +
>>  .../dts/sun8i-h2-plus-bananapi-m2-zero.dts    | 121
>++++++++++++++++++
>>  board/sunxi/MAINTAINERS                       |   5 +
>>  configs/bananapi_m2_zero_defconfig            |  13 ++
>>  4 files changed, 140 insertions(+)
>>  create mode 100644 arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts
>>  create mode 100644 configs/bananapi_m2_zero_defconfig
>>
>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
>> index 0de6234eec..c2de60e031 100644
>> --- a/arch/arm/dts/Makefile
>> +++ b/arch/arm/dts/Makefile
>> @@ -365,6 +365,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \
>>         sun8i-a83t-cubietruck-plus.dtb \
>>         sun8i-a83t-tbs-a711.dts
>>  dtb-$(CONFIG_MACH_SUN8I_H3) += \
>> +       sun8i-h2-plus-bananapi-m2-zero.dtb \
>>         sun8i-h2-plus-libretech-all-h3-cc.dtb \
>>         sun8i-h2-plus-orangepi-r1.dtb \
>>         sun8i-h2-plus-orangepi-zero.dtb \
>
>[snip]
>
>>
>> +SINOVOIP BPI M2 ZERO BOARD
>
>Can be "BANANAPI M2 ZERO"
>
>> +M:     Icenowy Zheng <icenowy at aosc.io>
>> +S:     Maintained
>> +F:     configs/Sinovoip_BPI_M2_Zero_defconfig
>
>configs/bananapi_m2_zero_defconfig
>
>> +
>>  SINOVOIP BPI M3 A83T BOARD
>>  M:     VishnuPatekar <vishnupatekar0510 at gmail.com>
>>  S:     Maintained
>> diff --git a/configs/bananapi_m2_zero_defconfig
>b/configs/bananapi_m2_zero_defconfig
>> new file mode 100644
>> index 0000000000..91302eb49c
>> --- /dev/null
>> +++ b/configs/bananapi_m2_zero_defconfig
>> @@ -0,0 +1,13 @@
>> +CONFIG_ARM=y
>> +CONFIG_ARCH_SUNXI=y
>> +CONFIG_SPL=y
>> +CONFIG_MACH_SUN8I_H3=y
>> +CONFIG_DRAM_CLK=408
>> +CONFIG_DRAM_ZQ=3881979
>> +CONFIG_DRAM_ODT_EN=y
>> +CONFIG_MMC0_CD_PIN=""
>
>I don't think this would need, it's PF6 by default for H3

This board has inverted CD pin, which is not supported by U-Boot.

So CD is disabled.


More information about the U-Boot mailing list