[U-Boot] sunxi: add orangepi R1 defconfig

Hauke Mehrtens hauke at hauke-m.de
Sun Oct 1 17:32:43 UTC 2017


This is copied from the Orange Pi Zero defconfig as these boards are
very similar.
This board has an Allwinner H2+ SoC with 256MB RAM, Realtek rtl8189es
Wifi connected via SDIO, Ethernet connected to the PHY integrated in the
SoC and an extra Ethernet port connected via USB.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 board/sunxi/MAINTAINERS       |  5 +++++
 configs/orangepi_r1_defconfig | 19 +++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 configs/orangepi_r1_defconfig

diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index ff6eea24a5..e4ad7dd033 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -312,6 +312,11 @@ M:	Jagan Teki <jagan at amarulasolutions.com>
 S:	Maintained
 F:	configs/orangepi_prime_defconfig
 
+ORANGEPI R1 BOARD
+M:	Hauke Mehrtens <hauke at hauke-m.de>
+S:	Maintained
+F:	configs/orangepi_r1_defconfig
+
 PINE64 BOARDS
 M:	Andre Przywara <andre.przywara at arm.com>
 S:	Maintained
diff --git a/configs/orangepi_r1_defconfig b/configs/orangepi_r1_defconfig
new file mode 100644
index 0000000000..462b06e7f6
--- /dev/null
+++ b/configs/orangepi_r1_defconfig
@@ -0,0 +1,19 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL_SPI_FLASH_SUPPORT=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=624
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+# CONFIG_VIDEO_DE2 is not set
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-r1"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_CONSOLE_MUX=y
+CONFIG_SPL=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_SPL_SPI_SUNXI=y
+CONFIG_SUN8I_EMAC=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
-- 
2.11.0



More information about the U-Boot mailing list