Skip to content

Commit

Permalink
at91: add support for sama5d27-wlsom1-ek board
Browse files Browse the repository at this point in the history
Add support for SAMA5D27 WLSOM1-EK board.

Hardware:
- SIP: SAMA5D27C-LD2G-CU including SAMA5D27 MPU and 2Gbit LPDDR2-SDRAM
- MMC: one standard SD card interface
- Flash: 64 Mb serial quad I/O flash memory (SST26VF064BEUIT-104I/MF)
	 with embedded EUI-48 and EUI-64 MAC addresses
- USB: one USB device, one USB host one HSIC interface
- Ethernet: 1x10/100Mbps port
- WiFi/BT: IEEE 802.11 b/g/n Wi-Fi plus Bluetooth (Wi-Fi/BT) module
	   (ATWILC3000-MR110UA)
- Crypto: one ATECC608B-TNGTLS secure element
- Video: one LCD RGB 18-bit interface, one ISC 12-bit camera interface
- Debug port: one JTAG interface, one UART interface, one WILC UART
              interface
- Leds: one RGB LED
- Buttons: start, reset, wakeup, user buttons
- Expansion: one tamper connector, one mikrobus interface, 2 XPRO PTC
             connector
- Power managament: PMIC (MCP16502)

Flashing:
- follow procedure at [1]

[1] https://www.linux4sam.org/bin/view/Linux4SAM/Sama5d27WLSom1EKMainPage#Create_a_SD_card_with_the_demo

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
  • Loading branch information
claudiubeznea authored and hauke committed Oct 24, 2021
1 parent 8b7e577 commit 60f52f9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
14 changes: 14 additions & 0 deletions package/boot/at91bootstrap/Makefile
Expand Up @@ -118,6 +118,18 @@ define AT91Bootstrap/sama5d27_som1_ekqspi_uboot
BUILD_DEVICES:=microchip_sama5d27-som1-ek
endef

define AT91Bootstrap/sama5d27_wlsom1_eksd_uboot
TITLE:=AT91Bootstrap for SAMA5D27 WLSOM1 Ek (SDcard0)
BUILD_SUBTARGET:=sama5
BUILD_DEVICES:=microchip_sama5d27-wlsom1-ek
endef

define AT91Bootstrap/sama5d27_wlsom1_ekdf_qspi_uboot
TITLE:=AT91Bootstrap for SAMA5D27 WLSOM1 Ek (QSPI Flash)
BUILD_SUBTARGET:=sama5
BUILD_DEVICES:=microchip_sama5d27-wlsom1-ek
endef

define AT91Bootstrap/sama5d2_ptc_eknf_uboot
TITLE:=AT91Bootstrap for SAMA5D2 PTC EK (Nand Flash)
BUILD_SUBTARGET:=sama5
Expand Down Expand Up @@ -145,6 +157,8 @@ AT91BOOTSTRAP_TARGETS := \
sama5d4_xplainedsd_uboot_secure \
sama5d27_som1_eksd1_uboot \
sama5d27_som1_ekqspi_uboot \
sama5d27_wlsom1_eksd_uboot \
sama5d27_wlsom1_ekdf_qspi_uboot \
sama5d2_ptc_eknf_uboot \
sama5d2_ptc_eksd_uboot

Expand Down
14 changes: 14 additions & 0 deletions package/boot/uboot-at91/Makefile
Expand Up @@ -107,6 +107,18 @@ define U-Boot/sama5d27_som1_ek_qspiflash
BUILD_DEVICES:=microchip_sama5d27-som1-ek
endef

define U-Boot/sama5d27_wlsom1_ek_mmc
NAME:=SAMA5D27 WLSOM1 Ek (SDCard)
BUILD_SUBTARGET:=sama5
BUILD_DEVICES:=microchip_sama5d27-wlsom1-ek
endef

define U-Boot/sama5d27_wlsom1_ek_qspiflash
NAME:=SAMA5D27 WLSOM1 Ek (QSPI Flash)
BUILD_SUBTARGET:=sama5
BUILD_DEVICES:=microchip_sama5d27-wlsom1-ek
endef

define U-Boot/sama5d2_ptc_ek_nandflash
NAME:=SAMA5D2 PTC Ek (Nand Flash)
BUILD_SUBTARGET:=sama5
Expand All @@ -133,6 +145,8 @@ UBOOT_TARGETS := \
sama5d4_xplained_nandflash\
sama5d27_som1_ek_mmc1 \
sama5d27_som1_ek_qspiflash \
sama5d27_wlsom1_ek_mmc \
sama5d27_wlsom1_ek_qspiflash \
sama5d2_ptc_ek_nandflash \
sama5d2_ptc_ek_mmc

Expand Down
11 changes: 11 additions & 0 deletions target/linux/at91/image/sama5.mk
Expand Up @@ -87,6 +87,17 @@ define Device/microchip_sama5d27-som1-ek
endef
TARGET_DEVICES += microchip_sama5d27-som1-ek

define Device/microchip_sama5d27-wlsom1-ek
$(Device/evaluation-dtb)
DEVICE_VENDOR := Microchip
DEVICE_MODEL := SAMA5D27 WSOM1 Ek
DEVICE_DTS := at91-sama5d27_wlsom1_ek
SUPPORTED_DEVICES := microchip,sama5d27-wlsom1-ek
KERNEL_SIZE := 6144k
$(Device/evaluation-sdimage)
endef
TARGET_DEVICES += microchip_sama5d27-wlsom1-ek

define Device/microchip_sama5d2-ptc-ek
$(Device/evaluation-dtb)
DEVICE_VENDOR := Microchip
Expand Down

0 comments on commit 60f52f9

Please sign in to comment.