board: Atmel: Add SAMA5D27 giant board
PATCH 1/3 board: Atmel: Add SAMA5D27 giant board
Giant board is a tiny SBC based on the Adafruit Feather form factor, created by groboards it contains a SAMA5D2 processor (SAMA5D27), 128 MB of RAM and a microSD card for storage.
---
arch/arm/dts/Makefile | 3 +- arch/arm/dts/at91-sama5d27_giantboard.dts | 128 ++++++++++++++++++++++ board/atmel/sama5d27_som1_ek/MAINTAINERS | 6 + configs/sama5d27_giantboard_defconfig | 97 ++++++++++++++++ 4 files changed, 233 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/at91-sama5d27_giantboard.dts create mode 100644 configs/sama5d27_giantboard_defconfig
arch/arm/dts/Makefile +2 -1
@@ -905,7 +905,8 @@ dtb-$(CONFIG_TARGET_SAMA5D2_XPLAINED) += \ at91-sama5d2_xplained.dtb dtb-$(CONFIG_TARGET_SAMA5D27_SOM1_EK) += \ - at91-sama5d27_som1_ek.dtb + at91-sama5d27_som1_ek.dtb \ + at91-sama5d27_giantboard.dtb dtb-$(CONFIG_TARGET_SAMA5D27_WLSOM1_EK) += \ at91-sama5d27_wlsom1_ek.dtb
arch/arm/dts/at91-sama5d27_giantboard.dts new file +128 -0
128 lines not on this page · raw message
board/atmel/sama5d27_som1_ek/MAINTAINERS +6 -0
@@ -6,3 +6,9 @@ F: include/configs/sama5d27_som1_ek.h F: configs/sama5d27_som1_ek_mmc_defconfig F: configs/sama5d27_som1_ek_mmc1_defconfig F: configs/sama5d27_som1_ek_qspiflash_defconfig + +SAMA5D27 GIANT BOARD +M: Greg Gallagher <[email protected]> +S: Maintained +F: configs/sama5d27_giantboard_defconfig +F: arch/arm/dts/at91-sama5d27_giantboard.dts
configs/sama5d27_giantboard_defconfig new file +97 -0
97 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH 2/3 configs: sama5d27_som1_ek: Set FDT filename based on defconfig
Make the FDT file name based on the default on that is specified in the defconfig file.
---
include/configs/sama5d27_som1_ek.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
include/configs/sama5d27_som1_ek.h +2 -5
@@ -27,14 +27,11 @@#define CONFIG_SYS_LOAD_ADDR 0x22000000/* load address */ -/* NAND flash */ - -/* SPI flash */ -#undef CONFIG_BOOTCOMMAND#ifdef CONFIG_SD_BOOT /* bootstrap + u-boot + env in sd card */ -#define CONFIG_BOOTCOMMAND "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x21000000 at91-sama5d27_som1_ek.dtb; " \ +#define CONFIG_BOOTCOMMAND "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x21000000 " \ + CONFIG_DEFAULT_DEVICE_TREE ".dtb; " \ "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x22000000 zImage; " \ "bootz 0x22000000 - 0x21000000"#endif
Signature · 1 line
2.25.1
PATCH 3/3 ARM: at91: spl: add spl_early_init for sama52d platforms
In reply to Greg GallagherThe dm root node is needed early in the spl to allow the timer to be used. This change calls spl_early_init to initialize the dm root node.
---
arch/arm/mach-at91/spl_atmel.c | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/mach-at91/spl_atmel.c +7 -0
@@ -103,6 +103,13 @@ void board_init_f(ulong dummy) {int ret; +if (IS_ENABLED (CONFIG_OF_CONTROL )) { + ret =spl_early_init (); +if (ret) { +debug ("spl_early_init() failed: %d\n" , ret); +hang (); + } + }switch_to_main_crystal_osc ();#ifdef CONFIG_SAMA5D2
Signature · 1 line
2.25.1
PATCH 1/3 board: Atmel: Add SAMA5D27 giant board
In reply to Greg GallagherQuoted 7 lines · Greg Gallagher
Giant board is a tiny SBC based on the Adafruit Feather form factor, created by groboards it contains a SAMA5D2 processor (SAMA5D27), 128 MB of RAM and a microSD card for storage.
Signed-off-by Greg Gallagher <[email protected]>---
Quoted 8 lines
arch/arm/dts/Makefile | 3 +- arch/arm/dts/at91-sama5d27_giantboard.dts | 128 ++++++++++++++++++++++ board/atmel/sama5d27_som1_ek/MAINTAINERS | 6 + configs/sama5d27_giantboard_defconfig | 97 ++++++++++++++++ 4 files changed, 233 insertions(+), 1 deletion(-)create mode 100644
arch/arm/dts/at91-sama5d27_giantboard.dtscreate mode 100644 configs/sama5d27_giantboard_defconfig
Applied to u-boot-master and pushed out, thanks !