From: Cristian Filipescu <[email protected]> Add a separate configuration for the Orange Pi 3 LTS, using its local device tree rather than the original Orange Pi 3 board description.
Reuse the H6 LPDDR3, SD/eMMC and USB configuration from orangepi_3. Enable the sun8i EMAC and Motorcomm PHY driver for the LTS Ethernet hardware, and omit the AP6256-specific Bluetooth fixup used by the original board. Use the green power LED on PL7 for the SPL status indication. Extend the board maintainer entry to cover the new configuration. Signed-off-by: Cristian Filipescu <[email protected]> --- board/sunxi/MAINTAINERS | 1 + configs/orangepi_3_lts_defconfig | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index a7c17fb4..40e1c505 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -442,6 +442,7 @@ ORANGEPI 3 LTS BOARD M: Cristian Filipescu <[email protected]> S: Maintained F: arch/arm/dts/sun50i-h6-orangepi-3-lts.dts +F: configs/orangepi_3_lts_defconfig ORANGEPI 4A BOARD M: Chen-Yu Tsai <[email protected]> diff --git a/configs/orangepi_3_lts_defconfig b/configs/orangepi_3_lts_defconfig new file mode 100644 index 00000000..5e5d872c --- /dev/null +++ b/configs/orangepi_3_lts_defconfig @@ -0,0 +1,19 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-orangepi-3-lts" +CONFIG_SPL=y +CONFIG_MACH_SUN50I_H6=y +CONFIG_SUNXI_DRAM_H6_LPDDR3=y +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_SPL_SUNXI_LED_STATUS=y +CONFIG_SPL_SUNXI_LED_STATUS_GPIO=359 +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SUN8I_EMAC=y +CONFIG_PHY_MOTORCOMM=y +CONFIG_PHY_SUN50I_USB3=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_DWC3=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_DWC3=y +# CONFIG_USB_DWC3_GADGET is not set -- 2.47.3
