summaryrefslogtreecommitdiff
path: root/configs/nanopi_m1_defconfig
diff options
context:
space:
mode:
authorMylene JOSSERAND <mylene.josserand@free-electrons.com>2017-05-10 08:26:07 +0200
committerJagan Teki <jagan@amarulasolutions.com>2017-05-30 11:05:09 +0530
commita647ea172abf764aaef23120b8cb2c0a807fc6fe (patch)
treed6c9568419cd0254158112817f709c5d66cfd052 /configs/nanopi_m1_defconfig
parent5a6ff3cfb56e2f93b88a272e8b70acb2a60ead68 (diff)
downloadu-boot-a647ea172abf764aaef23120b8cb2c0a807fc6fe.tar.gz
u-boot-a647ea172abf764aaef23120b8cb2c0a807fc6fe.tar.bz2
u-boot-a647ea172abf764aaef23120b8cb2c0a807fc6fe.zip
sunxi: Add support for NanoPi M1
NanoPi M1 is a board based on Allwinner H3 CPU. This commit adds the support for this platform with: - an include device tree which enables UART, LEDs, GPIO key switch, 1 USB host ports and the SD-card as a dtsi file. - a device tree specific to this board that enables the 2 additional USB ports - a defconfig file for minimal support - a section in MAINTAINERS (add myself) Synchronized with the kernel device tree, from commits: sun8i-nanopi.dtsi: 85d2913614d9ab899d23b7ab7d22d23cf45bd1de sun8i-h3-nanopi-m1.dts: 10efbf5f16336b7540ad6a16aa1cb0b26bab033b Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'configs/nanopi_m1_defconfig')
-rw-r--r--configs/nanopi_m1_defconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/nanopi_m1_defconfig b/configs/nanopi_m1_defconfig
new file mode 100644
index 0000000000..498496b1e7
--- /dev/null
+++ b/configs/nanopi_m1_defconfig
@@ -0,0 +1,16 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=408
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-m1"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_ISO_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_USB_EHCI_HCD=y