From: Claudiu Beznea Date: Mon, 11 Oct 2021 08:47:24 +0000 (+0300) Subject: at91: add support for sama5d27-wlsom1-ek board X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=60f52f9b0d9dba7bcaec0be110178f0e3eadceb9;p=openwrt%2Fstaging%2Fjow.git at91: add support for sama5d27-wlsom1-ek board 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 --- diff --git a/package/boot/at91bootstrap/Makefile b/package/boot/at91bootstrap/Makefile index 56e14c5770..8711acd286 100644 --- a/package/boot/at91bootstrap/Makefile +++ b/package/boot/at91bootstrap/Makefile @@ -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 @@ -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 diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile index 822d71f796..3262da4cbe 100644 --- a/package/boot/uboot-at91/Makefile +++ b/package/boot/uboot-at91/Makefile @@ -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 @@ -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 diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk index ae34943321..9078db525f 100644 --- a/target/linux/at91/image/sama5.mk +++ b/target/linux/at91/image/sama5.mk @@ -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