Commit da95ed58c4765ff23ed35753878274ef585f28b5
Committed by
Jagan Teki
1 parent
268ae65487
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
sunxi: Add Bananapi M2+ H5 board
As the H5 is pin compatible with the H3, vendors tend to upgrade their existing H3 products with an H5 SoC swap. This is the case with the Bananapi M2+ H5. Add the following to support it: - device tree file: synced from Linux v5.0-rc1, - defconfig: copy of bananapi_m2_plus_h3_defconfig with only SoC family and default device tree file name changed - MAINTAINERS entry Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Jagan Teki <jagan@openedev.com>
Showing 3 changed files with 33 additions and 1 deletions Side-by-side Diff
arch/arm/dts/sun50i-h5-bananapi-m2-plus.dts
1 | +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | |
2 | +// Copyright (C) 2018 Chen-Yu Tsai <wens@csie.org> | |
3 | + | |
4 | +/dts-v1/; | |
5 | +#include "sun50i-h5.dtsi" | |
6 | +#include <sunxi-bananapi-m2-plus.dtsi> | |
7 | + | |
8 | +/ { | |
9 | + model = "Banana Pi BPI-M2-Plus H5"; | |
10 | + compatible = "sinovoip,bpi-m2-plus", "allwinner,sun50i-h5"; | |
11 | +}; |
board/sunxi/MAINTAINERS
... | ... | @@ -137,11 +137,12 @@ |
137 | 137 | S: Maintained |
138 | 138 | F: configs/bananapi_m2_berry_defconfig |
139 | 139 | |
140 | -BANANAPI M2 PLUS H3 BOARD | |
140 | +BANANAPI M2 PLUS BOARDS | |
141 | 141 | M: Icenowy Zheng <icenowy@aosc.io> |
142 | 142 | M: Chen-Yu Tsai <wens@csie.org> |
143 | 143 | S: Maintained |
144 | 144 | F: configs/bananapi_m2_plus_h3_defconfig |
145 | +F: configs/bananapi_m2_plus_h5_defconfig | |
145 | 146 | |
146 | 147 | BANANAPI M2 ULTRA BOARD |
147 | 148 | M: Chen-Yu Tsai <wens@csie.org> |
configs/bananapi_m2_plus_h5_defconfig
1 | +CONFIG_ARM=y | |
2 | +CONFIG_ARCH_SUNXI=y | |
3 | +CONFIG_SPL=y | |
4 | +CONFIG_MACH_SUN50I_H5=y | |
5 | +CONFIG_DRAM_CLK=672 | |
6 | +CONFIG_DRAM_ZQ=3881979 | |
7 | +CONFIG_DRAM_ODT_EN=y | |
8 | +CONFIG_MACPWR="PD6" | |
9 | +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 | |
10 | +CONFIG_NR_DRAM_BANKS=1 | |
11 | +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set | |
12 | +# CONFIG_CMD_FLASH is not set | |
13 | +# CONFIG_SPL_DOS_PARTITION is not set | |
14 | +# CONFIG_SPL_EFI_PARTITION is not set | |
15 | +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-bananapi-m2-plus" | |
16 | +CONFIG_SUN8I_EMAC=y | |
17 | +CONFIG_USB_OHCI_HCD=y | |
18 | +CONFIG_USB_EHCI_HCD=y | |
19 | +CONFIG_USB_MUSB_GADGET=y | |
20 | +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y |