board: atmel: Add new board SAMA5D27-SOM1-EK board.
v2 cover board: atmel: Add new board SAMA5D27-SOM1-EK board.
The SAMA5D27-SOM1-EK board embeds a SAMA5D27 SOM1 module, which includes a SAMA5D27-SiP chip and QSPI flash, Phy and MAC EEPROM. The SAMA5D27 SiP integrates the SAMA5D2 with 1Gbit DDR2-SDRAM in a single package. It is based on
1./ [PATCH v2 0/8] sf: improve support of (Q)SPI flash memories https://lists.denx.de/pipermail/u-boot/2017-July/298806.html 2./ [PATCH v2 0/3] board: atmel: Set the ethernet mac address from eeprom https://lists.denx.de/pipermail/u-boot/2017-July/300527.html 3./ [PATCH 0/7] board: atmel: Convert to support DM_VIDEO https://lists.denx.de/pipermail/u-boot/2017-July/300533.html
Changes in v2:
- Add the reviewed-by tag.
- Add the help in Kconfig to describe the board and peripherals.
- Add the code to display the company's logo and board information.
- Replace the code to set the ethernet mac address with the common code from the board/atmel/common folder.
Wenyou Yang (6):
ARM: at91: spl: Adjust switching to oscillator for SAMA5D2
ARM: at91: spl: Add mck function to lower rate while switching
ARM: at91: spl: Add boot device for boot from QSPI
ARM: at91: mach: Add missing defines of MPDDRC
ARM: at91: Get the Chip ID of SAMA5D2 SiP
board: atmel: Add SAMA5D27 SOM1 EK board
arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d27_som1_ek.dts | 215 ++++++++++++++++++++++++ arch/arm/dts/sama5d2.dtsi | 20 +++ arch/arm/dts/sama5d27_som1.dtsi | 159 ++++++++++++++++++ arch/arm/mach-at91/Kconfig | 14 ++ arch/arm/mach-at91/armv7/clock.c | 36 ++++ arch/arm/mach-at91/armv7/sama5d2_devices.c | 26 ++- arch/arm/mach-at91/include/mach/at91_common.h | 1 + arch/arm/mach-at91/include/mach/at91_pmc.h | 2 + arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 4 + arch/arm/mach-at91/include/mach/sama5d2.h | 7 +- arch/arm/mach-at91/spl.c | 2 + arch/arm/mach-at91/spl_atmel.c | 18 +- board/atmel/sama5d27_som1_ek/Kconfig | 15 ++ board/atmel/sama5d27_som1_ek/MAINTAINERS | 6 + board/atmel/sama5d27_som1_ek/Makefile | 8 + board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 189 +++++++++++++++++++++ configs/sama5d27_som1_ek_mmc_defconfig | 86 ++++++++++ configs/sama5d27_som1_ek_spiflash_defconfig | 86 ++++++++++ include/configs/sama5d27_som1_ek.h | 95 +++++++++++ 20 files changed, 988 insertions(+), 4 deletions(-) create mode 100644 arch/arm/dts/at91-sama5d27_som1_ek.dts create mode 100644 arch/arm/dts/sama5d27_som1.dtsi create mode 100644 board/atmel/sama5d27_som1_ek/Kconfig create mode 100644 board/atmel/sama5d27_som1_ek/MAINTAINERS create mode 100644 board/atmel/sama5d27_som1_ek/Makefile create mode 100644 board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c create mode 100644 configs/sama5d27_som1_ek_mmc_defconfig create mode 100644 configs/sama5d27_som1_ek_spiflash_defconfig create mode 100644 include/configs/sama5d27_som1_ek.h
Signature · 1 line
2.13.0
PATCH v2 1/6 ARM: at91: spl: Adjust switching to oscillator for SAMA5D2
As said in 29.5.7 section of SAMA5D2 datasheet, before switching to the crystal oscillator, a check must be carried out to ensure that the oscillator is present and that its freqency is valid.
---
Changes in v2: None
arch/arm/mach-at91/include/mach/at91_pmc.h | 2 ++ arch/arm/mach-at91/spl_atmel.c | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-)
arch/arm/mach-at91/include/mach/at91_pmc.h +2 -0
@@ -87,6 +87,8 @@ typedef struct at91_pmc {#define AT91_PMC_MCFR_MAINRDY 0x00010000#define AT91_PMC_MCFR_MAINF_MASK 0x0000FFFF +#define AT91_PMC_MCFR_RCMEAS 0x00100000 +#define AT91_PMC_MCFR_CCSS_XTAL_OSC 0x01000000#define AT91_PMC_MCKR_CSS_SLOW 0x00000000#define AT91_PMC_MCKR_CSS_MAIN 0x00000001
arch/arm/mach-at91/spl_atmel.c +17 -1
@@ -32,6 +32,20 @@ static void switch_to_main_crystal_osc(void)while (!(readl (&pmc->sr) &AT91_PMC_IXR_MOSCS )) ; +#if defined(CONFIG_SAMA5D2 ) +/* Enable a measurement of the external oscillator */ + tmp =readl (&pmc->mcfr); + tmp |=AT91_PMC_MCFR_CCSS_XTAL_OSC ; + tmp |=AT91_PMC_MCFR_RCMEAS ; +writel (tmp, &pmc->mcfr); + +while (!(readl (&pmc->mcfr) &AT91_PMC_MCFR_MAINRDY )) + ; + +if (!(readl (&pmc->mcfr) &AT91_PMC_MCFR_MAINF_MASK )) +hang (); +#endif + tmp =readl (&pmc->mor); tmp &= ~AT91_PMC_MOR_OSCBYPASS ; tmp &= ~AT91_PMC_MOR_KEY (0xff );
@@ -47,11 +61,13 @@ static void switch_to_main_crystal_osc(void)while (!(readl (&pmc->sr) &AT91_PMC_IXR_MOSCSELS )) ; +#if !defined(CONFIG_SAMA5D2 )/* Wait until MAINRDY field is set to make sure main clock is stable */ while (!(readl (&pmc->mcfr) &AT91_PMC_MAINRDY )) ; +#endif -#ifndef CONFIG_SAMA5D4 +#if !defined(CONFIG_SAMA5D4 ) && !defined(CONFIG_SAMA5D2 ) tmp =readl (&pmc->mor); tmp &= ~AT91_PMC_MOR_MOSCRCEN ; tmp &= ~AT91_PMC_MOR_KEY (0xff );
Signature · 1 line
2.13.0
PATCH v2 2/6 ARM: at91: spl: Add mck function to lower rate while switching
In reply to Wenyou YangRefer to the commit 70f8c8316ad(PMC: add new mck function to lower rate while switching) from AT91Bootstrap.
While switching to a lower clock source, we must switch the clock source first instead of last. Otherwise, we could end up with too high frequency on internal bus and peripherals. This happen on SAMA5D2 as we exit from ROM code @396MHz.
Add a function pmc_mck_init_down() to allow this sequence.
---
Changes in v2: None
arch/arm/mach-at91/armv7/clock.c | 36 +++++++++++++++++++++++++++ arch/arm/mach-at91/include/mach/at91_common.h | 1 + 2 files changed, 37 insertions(+)
arch/arm/mach-at91/armv7/clock.c +36 -0
@@ -150,6 +150,42 @@ void at91_mck_init(u32 mckr) ; } +void at91_mck_init_down (u32 mckr) +{ +struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC ; +u32 tmp; + + tmp =readl (&pmc->mckr); + tmp &= (~AT91_PMC_MCKR_CSS_MASK ); + tmp |= (mckr &AT91_PMC_MCKR_CSS_MASK ); +writel (tmp, &pmc->mckr); + +while (!(readl (&pmc->sr) &AT91_PMC_MCKRDY )) + ; + +#ifdef CPU_HAS_H32MXDIV + tmp =readl (&pmc->mckr); + tmp &= (~AT91_PMC_MCKR_H32MXDIV ); + tmp |= (mckr &AT91_PMC_MCKR_H32MXDIV ); +writel (tmp, &pmc->mckr); +#endif + + tmp =readl (&pmc->mckr); + tmp &= (~AT91_PMC_MCKR_PLLADIV_MASK ); + tmp |= (mckr &AT91_PMC_MCKR_PLLADIV_MASK ); +writel (tmp, &pmc->mckr); + + tmp =readl (&pmc->mckr); + tmp &= (~AT91_PMC_MCKR_MDIV_MASK ); + tmp |= (mckr &AT91_PMC_MCKR_MDIV_MASK ); +writel (tmp, &pmc->mckr); + + tmp =readl (&pmc->mckr); + tmp &= (~AT91_PMC_MCKR_PRES_MASK ); + tmp |= (mckr &AT91_PMC_MCKR_PRES_MASK ); +writel (tmp, &pmc->mckr); +} +int at91_enable_periph_generated_clk (u32 id,u32 clk_source,u32 div) {struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC ;
arch/arm/mach-at91/include/mach/at91_common.h +1 -0
@@ -25,6 +25,7 @@ void at91_lcd_hw_init(void);void at91_plla_init (u32 pllar);void at91_pllb_init (u32 pllar);void at91_mck_init (u32 mckr); +void at91_mck_init_down (u32 mckr);void at91_pmc_init (void );void mem_init (void );void at91_phy_reset (void );
Signature · 1 line
2.13.0
PATCH v2 3/6 ARM: at91: spl: Add boot device for boot from QSPI
In reply to Wenyou YangAdd the boot device for booting from the QSPI flash.
---
Changes in v2: None
arch/arm/mach-at91/spl.c | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-at91/spl.c +2 -0
@@ -56,6 +56,8 @@ u32 spl_boot_device(void)if (dev ==ATMEL_SAMA5_BOOT_FROM_SPI )return BOOT_DEVICE_SPI ;#endif +if (dev ==ATMEL_SAMA5_BOOT_FROM_QSPI ) +return BOOT_DEVICE_SPI ;if (dev ==ATMEL_SAMA5_BOOT_FROM_SMC )return BOOT_DEVICE_NAND ;
Signature · 1 line
2.13.0
PATCH v2 4/6 ARM: at91: mach: Add missing defines of MPDDRC
In reply to Wenyou YangAdd missing defines of Multiport DDR-SDRAM Controller (MPDDRC).
---
Changes in v2: None
arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/mach-at91/include/mach/atmel_mpddrc.h +4 -0
@@ -96,6 +96,10 @@ int ddr3_init(const unsigned int base,#define ATMEL_MPDDRC_CR_DLL_RESET_ENABLED (0x1 << 7)#define ATMEL_MPDDRC_CR_DIC_DS (0x1 << 8)#define ATMEL_MPDDRC_CR_DIS_DLL (0x1 << 9) +#define ATMEL_MPDDRC_CR_ZQ_INIT (0x0 << 10) +#define ATMEL_MPDDRC_CR_ZQ_LONG (0x1 << 10) +#define ATMEL_MPDDRC_CR_ZQ_SHORT (0x2 << 10) +#define ATMEL_MPDDRC_CR_ZQ_RESET (0x3 << 10)#define ATMEL_MPDDRC_CR_OCD_DEFAULT (0x7 << 12)#define ATMEL_MPDDRC_CR_DQMS_SHARED (0x1 << 16)#define ATMEL_MPDDRC_CR_ENRDM_ON (0x1 << 17)
Signature · 1 line
2.13.0
PATCH v2 5/6 ARM: at91: Get the Chip ID of SAMA5D2 SiP
In reply to Wenyou YangFrom: Wenyou Yang <[email protected]>
The SAMA5D2 SiP(System in Package) has different Chip IDs in the CHIPID and CHIP_EXID registers.
---
Changes in v2: None
arch/arm/mach-at91/armv7/sama5d2_devices.c | 26 ++++++++++++++++++++++++-- arch/arm/mach-at91/include/mach/sama5d2.h | 7 ++++++- 2 files changed, 30 insertions(+), 3 deletions(-)
arch/arm/mach-at91/armv7/sama5d2_devices.c +24 -2
@@ -10,11 +10,20 @@#include <asm/arch/clk.h> #include <asm/arch/sama5d2.h> -char *get_cpu_name () +int cpu_is_sama5d2 (void ) { +unsigned int chip_id =get_chip_id (); + +return ((chip_id ==ARCH_ID_SAMA5D2 ) || + (chip_id ==ARCH_ID_SAMA5D2_SIP )) ?1 :0 ; +} + +char *get_cpu_name (void ) +{ +unsigned int chip_id =get_chip_id ();unsigned int extension_id =get_extension_chip_id (); -if (cpu_is_sama5d2 ()) { +if (chip_id ==ARCH_ID_SAMA5D2 ) {switch (extension_id) {case ARCH_EXID_SAMA5D21CU :return "SAMA5D21" ;
@@ -41,6 +50,19 @@ char *get_cpu_name() } } +if ((chip_id ==ARCH_ID_SAMA5D2 ) || (chip_id ==ARCH_ID_SAMA5D2_SIP )) { +switch (extension_id) { +case ARCH_EXID_SAMA5D225C_D1M : +return "SAMA5D225 128M bits DDR2 SDRAM" ; +case ARCH_EXID_SAMA5D27C_D5M : +return "SAMA5D27 512M bits DDR2 SDRAM" ; +case ARCH_EXID_SAMA5D27C_D1G : +return "SAMA5D27 1G bits DDR2 SDRAM" ; +case ARCH_EXID_SAMA5D28C_D1G : +return "SAMA5D28 1G bits DDR2 SDRAM" ; + } + } +return "Unknown CPU type" ; }
arch/arm/mach-at91/include/mach/sama5d2.h +6 -1
@@ -222,7 +222,11 @@#define ARCH_EXID_SAMA5D28CU 0x00000010#define ARCH_EXID_SAMA5D28CN 0x00000020 -#define cpu_is_sama5d2 () (get_chip_id() == ARCH_ID_SAMA5D2) +#define ARCH_ID_SAMA5D2_SIP 0x8a5c08c2 +#define ARCH_EXID_SAMA5D225C_D1M 0x00000053 +#define ARCH_EXID_SAMA5D27C_D5M 0x00000032 +#define ARCH_EXID_SAMA5D27C_D1G 0x00000033 +#define ARCH_EXID_SAMA5D28C_D1G 0x00000013/* PIT Timer(PIT_PIIR) */ #define CONFIG_SYS_TIMER_COUNTER 0xf804803c
@@ -233,6 +237,7 @@#ifndef __ASSEMBLY__unsigned int get_chip_id (void );unsigned int get_extension_chip_id (void ); +int cpu_is_sama5d2 (void );unsigned int has_lcdc (void );char *get_cpu_name (void );#endif
Signature · 1 line
2.13.0
PATCH v2 6/6 board: atmel: Add SAMA5D27 SOM1 EK board
In reply to Wenyou YangFrom: Wenyou Yang <[email protected]>
The SAMA5D27-SiP (System in Package) integrates the SAMA5D2 with 1Gbit DDR2-SDRAM in a single package.
The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and Mac-address EEPROM.
---
Changes in v2:
- Add the reviewed-by tag.
- Add the help in Kconfig to describe the board and peripherals.
- Add the code to display the company's logo and board information.
- Replace the code to set the ethernet mac address with the common code from the board/atmel/common folder.
arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d27_som1_ek.dts | 215 ++++++++++++++++++++++++ arch/arm/dts/sama5d2.dtsi | 20 +++ arch/arm/dts/sama5d27_som1.dtsi | 159 ++++++++++++++++++ arch/arm/mach-at91/Kconfig | 14 ++ board/atmel/sama5d27_som1_ek/Kconfig | 15 ++ board/atmel/sama5d27_som1_ek/MAINTAINERS | 6 + board/atmel/sama5d27_som1_ek/Makefile | 8 + board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 189 +++++++++++++++++++++ configs/sama5d27_som1_ek_mmc_defconfig | 86 ++++++++++ configs/sama5d27_som1_ek_spiflash_defconfig | 86 ++++++++++ include/configs/sama5d27_som1_ek.h | 95 +++++++++++ 12 files changed, 896 insertions(+) create mode 100644 arch/arm/dts/at91-sama5d27_som1_ek.dts create mode 100644 arch/arm/dts/sama5d27_som1.dtsi create mode 100644 board/atmel/sama5d27_som1_ek/Kconfig create mode 100644 board/atmel/sama5d27_som1_ek/MAINTAINERS create mode 100644 board/atmel/sama5d27_som1_ek/Makefile create mode 100644 board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c create mode 100644 configs/sama5d27_som1_ek_mmc_defconfig create mode 100644 configs/sama5d27_som1_ek_spiflash_defconfig create mode 100644 include/configs/sama5d27_som1_ek.h
arch/arm/dts/Makefile +3 -0
@@ -404,6 +404,9 @@ dtb-$(CONFIG_TARGET_OMAP3_LOGIC) += \ dtb-$(CONFIG_TARGET_SAMA5D2_XPLAINED) += \ at91-sama5d2_xplained.dtb +dtb-$(CONFIG_TARGET_SAMA5D27_SOM1_EK) += \ + at91-sama5d27_som1_ek.dtb + dtb-$(CONFIG_TARGET_SAMA5D3XEK) += \ sama5d31ek.dtb \ sama5d33ek.dtb \
arch/arm/dts/at91-sama5d27_som1_ek.dts new file +215 -0
215 lines not on this page · raw message
arch/arm/dts/sama5d2.dtsi +20 -0
@@ -511,11 +511,13 @@ qspi0_clk: qspi0_clk at 52 { #clock-cells = <0>; reg = <52>; + u-boot,dm-pre-reloc; }; qspi1_clk: qspi1_clk at 53 { #clock-cells = <0>; reg = <53>; + u-boot,dm-pre-reloc; }; };
@@ -602,6 +604,16 @@ status = "disabled"; }; + qspi1: spi at f0024000 { + compatible = "atmel,sama5d2-qspi"; + reg = <0xf0024000 0x100>, <0xd8000000 0x08000000>; + reg-names = "qspi_base", "qspi_mmap"; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&qspi1_clk>; + status = "disabled"; + }; + spi0: spi at f8000000 { compatible = "atmel,at91rm9200-spi"; reg = <0xf8000000 0x100>;
@@ -673,6 +685,14 @@ status = "disabled"; }; + uart3: serial at fc008000 { + compatible = "atmel,at91sam9260-usart"; + reg = <0xfc008000 0x100>; + clocks = <&uart3_clk>; + clock-names = "usart"; + status = "disabled"; + }; + i2c1: i2c at fc028000 { compatible = "atmel,sama5d2-i2c"; reg = <0xfc028000 0x100>;
arch/arm/dts/sama5d27_som1.dtsi new file +159 -0
159 lines not on this page · raw message
arch/arm/mach-at91/Kconfig +14 -0
@@ -100,6 +100,19 @@ config TARGET_SAMA5D2_XPLAINED select BOARD_EARLY_INIT_F select BOARD_LATE_INIT +config TARGET_SAMA5D27_SOM1_EK + bool "SAMA5D27 SOM1 EK board" + select CPU_V7 + select SUPPORT_SPL + select BOARD_EARLY_INIT_F + select BOARD_LATE_INIT + help + The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package), + a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM + 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5 + processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM + in a single package. + config TARGET_SAMA5D3_XPLAINED bool "SAMA5D3 Xplained board" select CPU_V7
@@ -184,6 +197,7 @@ source "board/atmel/at91sam9rlek/Kconfig" source "board/atmel/at91sam9x5ek/Kconfig" source "board/atmel/sama5d2_ptc/Kconfig" source "board/atmel/sama5d2_xplained/Kconfig" +source "board/atmel/sama5d27_som1_ek/Kconfig" source "board/atmel/sama5d3_xplained/Kconfig" source "board/atmel/sama5d3xek/Kconfig" source "board/atmel/sama5d4_xplained/Kconfig"
board/atmel/sama5d27_som1_ek/Kconfig new file +15 -0
@@ -0,0 +1,15 @@ +if TARGET_SAMA5D27_SOM1_EK + +config SYS_BOARD + default "sama5d27_som1_ek" + +config SYS_VENDOR + default "atmel" + +config SYS_SOC + default "at91" + +config SYS_CONFIG_NAME + default "sama5d27_som1_ek" + +endif
board/atmel/sama5d27_som1_ek/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +SAMA5D27 SOM1 EK BOARD +M: Wenyou Yang <[email protected]> +S: Maintained +F: board/atmel/sama5d27_som1_ek/ +F: include/configs/sama5d27_som1_ek.h +F: configs/sama5d27_som1_ek_mmc_defconfig
board/atmel/sama5d27_som1_ek/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# +# Copyright (C) 2017 Microchip Corporation +# Wenyou Yang <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y += sama5d27_som1_ek.o
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c new file +189 -0
189 lines not on this page · raw message
configs/sama5d27_som1_ek_mmc_defconfig new file +86 -0
86 lines not on this page · raw message
configs/sama5d27_som1_ek_spiflash_defconfig new file +86 -0
86 lines not on this page · raw message
include/configs/sama5d27_som1_ek.h new file +95 -0
95 lines not on this page · raw message
Signature · 1 line
2.13.0
Yang
v2 cover board: atmel: Add new board SAMA5D27-SOM1-EK board.
In reply to Wenyou YangHi,
Do you have comments on this patch series?
Best Regards,
Wenyou Yang
Quoted 57 lines · Wenyou Yang
The SAMA5D27-SOM1-EK board embeds a SAMA5D27 SOM1 module, which includes a SAMA5D27-SiP chip and QSPI flash, Phy and MAC EEPROM. The SAMA5D27 SiP integrates the SAMA5D2 with 1Gbit DDR2-SDRAM in a single package. It is based on
1./ [PATCH v2 0/8] sf: improve support of (Q)SPI flash memories https://lists.denx.de/pipermail/u-boot/2017-July/298806.html 2./ [PATCH v2 0/3] board: atmel: Set the ethernet mac address from eeprom https://lists.denx.de/pipermail/u-boot/2017-July/300527.html 3./ [PATCH 0/7] board: atmel: Convert to support DM_VIDEO https://lists.denx.de/pipermail/u-boot/2017-July/300533.htmlChanges in v2:
- Add the reviewed-by tag.
- Add the help inKconfigto describe the board and peripherals.
- Add the code to display the company's logo and board information.
- Replace the code to set the ethernet mac address with the common code from the board/atmel/common folder.Wenyou Yang (6):
ARM: at91: spl: Adjust switching to oscillator for SAMA5D2
ARM: at91: spl: Add mck function to lower rate while switching
ARM: at91: spl: Add boot device for boot from QSPI
ARM: at91: mach: Add missing defines of MPDDRC
ARM: at91: Get the Chip ID of SAMA5D2 SiP
board: atmel: Add SAMA5D27 SOM1 EK boardarch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d27_som1_ek.dts | 215 ++++++++++++++++++++++++ arch/arm/dts/sama5d2.dtsi | 20 +++ arch/arm/dts/sama5d27_som1.dtsi | 159 ++++++++++++++++++ arch/arm/mach-at91/Kconfig | 14 ++ arch/arm/mach-at91/armv7/clock.c | 36 ++++ arch/arm/mach-at91/armv7/sama5d2_devices.c | 26 ++- arch/arm/mach-at91/include/mach/at91_common.h | 1 + arch/arm/mach-at91/include/mach/at91_pmc.h | 2 + arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 4 + arch/arm/mach-at91/include/mach/sama5d2.h | 7 +- arch/arm/mach-at91/spl.c | 2 + arch/arm/mach-at91/spl_atmel.c | 18 +- board/atmel/sama5d27_som1_ek/Kconfig | 15 ++ board/atmel/sama5d27_som1_ek/MAINTAINERS | 6 + board/atmel/sama5d27_som1_ek/Makefile | 8 + board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 189 +++++++++++++++++++++ configs/sama5d27_som1_ek_mmc_defconfig | 86 ++++++++++ configs/sama5d27_som1_ek_spiflash_defconfig | 86 ++++++++++ include/configs/sama5d27_som1_ek.h | 95 +++++++++++ 20 files changed, 988 insertions(+), 4 deletions(-)create mode 100644
arch/arm/dts/at91-sama5d27_som1_ek.dtscreate mode 100644arch/arm/dts/sama5d27_som1.dtsicreate mode 100644 board/atmel/sama5d27_som1_ek/Kconfig create mode 100644 board/atmel/sama5d27_som1_ek/MAINTAINERS create mode 100644 board/atmel/sama5d27_som1_ek/Makefile create mode 100644board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.ccreate mode 100644 configs/sama5d27_som1_ek_mmc_defconfig create mode 100644 configs/sama5d27_som1_ek_spiflash_defconfig create mode 100644include/configs/sama5d27_som1_ek.h
v2 cover board: atmel: Add new board SAMA5D27-SOM1-EK board.
Wenyou wrote...
Quoted 12 lines · Wenyou Yang
Quoted 11 lines
The SAMA5D27-SOM1-EK board embeds a SAMA5D27 SOM1 module, which includes a SAMA5D27-SiP chip and QSPI flash, Phy and MAC EEPROM. The SAMA5D27 SiP integrates the SAMA5D2 with 1Gbit DDR2-SDRAM in a single package. It is based on
1./ [PATCH v2 0/8] sf: improve support of (Q)SPI flash memories
https://lists.denx.de/pipermail/u-boot/2017-July/298806.html
2./ [PATCH v2 0/3] board: atmel: Set the ethernet mac address from
eepromhttps://lists.denx.de/pipermail/u-boot/2017-July/300527.html 3./ [PATCH 0/7] board: atmel: Convert to support DM_VIDEO https://lists.denx.de/pipermail/u-boot/2017-July/300533.html
Do we assume that these aren't now going to make it into 2017.09 and we have to wait for the 2017.12 tagged release?
-Andy.