sunxi: add Orange Pi R1 support
[openwrt/openwrt.git] / package / boot / uboot-sunxi / patches / 301-sunxi-add-orangepi-R1-defconfig.patch
1 From 231201c71b902b5999ed9b143f2a54674cfae88a Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Tue, 26 Sep 2017 22:17:33 +0200
4 Subject: sunxi: add orangepi R1 defconfig
5
6 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 ---
8 board/sunxi/MAINTAINERS | 5 +++++
9 configs/orangepi_r1_defconfig | 19 +++++++++++++++++++
10 2 files changed, 24 insertions(+)
11 create mode 100644 configs/orangepi_r1_defconfig
12
13 --- a/board/sunxi/MAINTAINERS
14 +++ b/board/sunxi/MAINTAINERS
15 @@ -302,6 +302,11 @@ M: Jagan Teki <jagan@amarulasolutions.co
16 S: Maintained
17 F: configs/orangepi_prime_defconfig
18
19 +ORANGEPI R1 BOARD
20 +M: Hauke Mehrtens <hauke@hauke-m.de>
21 +S: Maintained
22 +F: configs/orangepi_r1_defconfig
23 +
24 PINE64 BOARDS
25 M: Andre Przywara <andre.przywara@arm.com>
26 S: Maintained
27 --- /dev/null
28 +++ b/configs/orangepi_r1_defconfig
29 @@ -0,0 +1,19 @@
30 +CONFIG_ARM=y
31 +CONFIG_ARCH_SUNXI=y
32 +CONFIG_SPL_SPI_FLASH_SUPPORT=y
33 +CONFIG_MACH_SUN8I_H3=y
34 +CONFIG_DRAM_CLK=624
35 +CONFIG_DRAM_ZQ=3881979
36 +CONFIG_DRAM_ODT_EN=y
37 +# CONFIG_VIDEO_DE2 is not set
38 +CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-r1"
39 +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
40 +CONFIG_CONSOLE_MUX=y
41 +CONFIG_SPL=y
42 +# CONFIG_CMD_IMLS is not set
43 +# CONFIG_CMD_FLASH is not set
44 +# CONFIG_CMD_FPGA is not set
45 +CONFIG_SPL_SPI_SUNXI=y
46 +CONFIG_SUN8I_EMAC=y
47 +CONFIG_USB_EHCI_HCD=y
48 +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y