From: Chen-Yu Tsai Date: Sun, 12 Jan 2020 15:36:15 +0000 (+0800) Subject: sunxi: Add Libre Computer ALL-H5-CC H5 board X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=533f2433ffa02eb95d1abeab531c4d36fd5e61b5;p=u-boot.git sunxi: Add Libre Computer ALL-H5-CC H5 board The Libre Computer ALL-H5-CC board is an upgraded version of the ALL-H3-CC. Changes include: - Gigabit Ethernet via external RTL8211E Ethernet PHY - 16 MiB SPI NOR flash memory - PoE tap header - Line out jack removed Only H5 variant test samples were made available, and the vendor is not certain whether other SoC variants would be made or not. Furthermore the board is a minor upgrade compared to the ALL-H3-CC. Thus the device tree simply includes the one for the ALL-H3-CC, and adds the changes on top. The device tree was synced over from the Linux kernel, along with other H3/H5 changes, in a previous patch. Thus only the defconfig and an entry to the MAINTAINERS file is added. Signed-off-by: Chen-Yu Tsai [jagan: drop CONFIG_SYS_SPI_U_BOOT_OFFS] Signed-off-by: Jagan Teki Reviewed-by: Jagan Teki --- diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index ed620ade76..1180b86db3 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -323,6 +323,11 @@ M: Chen-Yu Tsai S: Maintained F: configs/libretech_all_h3_it_h5_defconfig +LIBRETECH ALL-H5-CC BOARDS +M: Chen-Yu Tsai +S: Maintained +F: configs/libretech_all_h5_cc_h5_defconfig + NANOPI-M1 BOARD M: Mylène Josserand S: Maintained diff --git a/configs/libretech_all_h5_cc_h5_defconfig b/configs/libretech_all_h5_cc_h5_defconfig new file mode 100644 index 0000000000..9ccb29d076 --- /dev/null +++ b/configs/libretech_all_h5_cc_h5_defconfig @@ -0,0 +1,22 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_NR_DRAM_BANKS=1 +CONFIG_SPL=y +CONFIG_MACH_SUN50I_H5=y +CONFIG_DRAM_CLK=672 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_SPL_SPI_SUNXI=y +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_USE_PREBOOT=y +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-libretech-all-h5-cc" +CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_DM_SPI_FLASH=y +CONFIG_SPI_FLASH_XMC=y +CONFIG_SUN8I_EMAC=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y