Commit 84580628b8e11c299d9a3f6b35c7ef917ab31290

Authored by Icenowy Zheng
Committed by Jagan Teki
1 parent ec4670a137

sunxi: add a defconfig for SoPine w/ official baseboard

The SoPine is a SoM by Pine64, with an Allwinner A64 SoC, a LPDDR3 DRAM
chip, an AXP803 PMIC, a SPI NOR Flash and a MicroSD slot. The card
detect pin of the MicroSD slot is broken, however, it doesn't matter as
the design of SoPine didn't allow hot-swapping the MicroSD card (The
MicroSD slot is at the back of the SoM, and when the SoM is installed on
the baseboard, it's nearly impossible to remove the MicroSD).

The official baseboard of it is a board with nearly the same connectors
with the original Pine64+, with the MicroUSB power jack replaced, and
at the position of MicroSD slot a eMMC module slot is added.

Add support for SoPine with the official baseboard by adding its
defconfig file. It still uses the device tree of Pine64, however, it
will change after a proper device tree of SoPine with baseboard is
accepted by Linux mainline.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
[Update board/sunxi/MAINTAINERS]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>

Showing 2 changed files with 27 additions and 0 deletions Side-by-side Diff

board/sunxi/MAINTAINERS
... ... @@ -314,6 +314,11 @@
314 314 S: Maintained
315 315 F: configs/Sinovoip_BPI_M3_defconfig
316 316  
  317 +SOPINE BOARD
  318 +M: Icenowy Zheng <icenowy@aosc.io>
  319 +S: Maintained
  320 +F: configs/sopine_baseboard_defconfig
  321 +
317 322 SUNCHIP CX-A99 BOARD
318 323 M: Rask Ingemann Lambertsen <rask@formelder.dk>
319 324 S: Maintained
configs/sopine_baseboard_defconfig
  1 +CONFIG_ARM=y
  2 +CONFIG_ARCH_SUNXI=y
  3 +CONFIG_MACH_SUN50I=y
  4 +CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
  5 +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
  6 +CONFIG_DRAM_CLK=552
  7 +CONFIG_DRAM_ZQ=3881949
  8 +CONFIG_DRAM_ODT_EN=y
  9 +CONFIG_MMC0_CD_PIN=""
  10 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2
  11 +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pine64-plus"
  12 +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
  13 +CONFIG_SPL=y
  14 +# CONFIG_CMD_IMLS is not set
  15 +# CONFIG_CMD_FLASH is not set
  16 +# CONFIG_CMD_FPGA is not set
  17 +# CONFIG_SPL_DOS_PARTITION is not set
  18 +# CONFIG_SPL_ISO_PARTITION is not set
  19 +# CONFIG_SPL_EFI_PARTITION is not set
  20 +CONFIG_SPL_SPI_SUNXI=y
  21 +CONFIG_SUN8I_EMAC=y
  22 +CONFIG_USB_EHCI_HCD=y