Skip to content

soc: mchp: Introduce support to SAMA7D65 #93133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
#
# SPDX-License-Identifier: Apache-2.0
#

config BOARD_SAMA7D65_CURIOSITY
select SOC_SAMA7D65
6 changes: 6 additions & 0 deletions boards/microchip/sam/sama7d65_curiosity/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
board:
name: sama7d65_curiosity
full_name: SAMA7D65 Curiosity Kit
vendor: microchip
socs:
- name: sama7d65
Binary file not shown.
109 changes: 109 additions & 0 deletions boards/microchip/sam/sama7d65_curiosity/doc/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
.. zephyr:board:: sama7d65_curiosity

Overview
********

The EV63J76A (SAMA7D65 Curiosity Kit) is a development kit for evaluating and
prototyping with Microchip SAMA7D65 microprocessor (MPU). The SAMA7D65 MPU is a
high-performance ARM Cortex-A7 CPU-based embedded MPU running up to 1GHz.

The board allows evaluation of powerful peripherals for connectivity, audio and
user interface applications, including MIPI-DSI and LVDS w/ 2D graphics, dual
Gigabit Ethernet w/ TSN and CAN-FD. The MPUs offer advanced security functions,
like tamper detection, secure boot, secure key stoarge, TRNG, PUF as well as
higher-performance crypto accelerators for AES and SHA.

The SAMA7D65 series is supported by Microchip MPLAB-X development tools, Harmony
V3, Linux distributions and Microchip Graphic Suite (MGS) for Linux. The
SAMA7D65 is well-suited for industrial and automotive applications with
graphical displays support up to WXGA/720p.

Hardware
********
EV63J76A provides the following hardware components:

- Processor

- Microchip SAMA7D65-V/4HB (SoC 343-ball TFBGA, 14x14 mm, 0.65 mm pitch)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix everywhere - see https://builds.zephyrproject.io/zephyr/pr/93133/docs/boards/microchip/sam/sama7d65_curiosity/doc/index.html

Suggested change
- Microchip SAMA7D65-V/4HB (SoC 343-ball TFBGA, 14x14 mm, 0.65 mm pitch)
- Microchip SAMA7D65-V/4HB (SoC 343-ball TFBGA, 14x14 mm, 0.65 mm pitch)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, thank you very much.


- Memory

- 8 Gb DDR3L (AS4C512M16D3LA-10BIN)
- 64 Mb QSPI NOR Flash with EUI-48 (Microchip SST26VF064BEUI-104I/MF)
- 4Gbit SLC NAND Flash (MX30LF4G28AD-XKI)
- 2Kb EEPROM with EUI-48 (Microchip 24AA025E48)

- SD/MMC

- One SD card socket, 4 bit
- One M.2 Radio Module interface, SDIO I/F

- USB

- One device USB Type-C connector
- Two host USB Type-A connectors (Microchip MIC2026-1YM)

- Ethernet

- One 10/100/1000 RGMII on board
- One 10/100/1000 RGMII SODIMM add-on slot (Microchip LAN8840-V/PSA)

- Display

- One MIPI-DSI 34-pin FPC connector
- One LVDS 30-pin FPC connector

- Debug port

- One UART Debug connector
- One JTAG interface

- User interaction

- One RGB (Red, Green, Blue) LED
- Four push button switches

- CAN-FD

- Three onboard CAN-FD transceivers
- Two interfaces available on mikroBUS slots

- Expansion

- Raspberry Pi 40-pin GPIO connector
- Two mikroBUS™ connectors
- Two PIOBU/System headers

- Power management

- Power Supply Unit (Microchip MCP16502TAB-E/S8B)
- Power Monitoring (Microchip PAC1934)
- Daughter cards power supply (Microchip MIC23450-AAAYML-TR)
- Backup power supply (CR1220 battery holder)

- Board supply

- System 5 VDC from USB Type-C
- System 5 VDC from DC Jack

Supported Features
==================

.. zephyr:board-supported-hw::

Connections and IOs
===================

The `SAMA7D65-Curiosity Kit User Guide`_ has detailed information about board connections.

References
**********

SAMA7D65 Product Page:
https://www.microchip.com/en-us/product/sama7d65

SAMA7D65 Curiosity Kit Page:
https://www.microchip.com/en-us/development-tool/EV63J76A

.. _SAMA7D65-Curiosity Kit User Guide:
https://ww1.microchip.com/downloads/aemDocuments/documents/MPU32/ProductDocuments/UserGuides/SAMA7D65-Curiosity-Kit-User-Guide-DS50003806.pdf
64 changes: 64 additions & 0 deletions boards/microchip/sam/sama7d65_curiosity/sama7d65_curiosity.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/*
* Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
*
* SPDX-License-Identifier: Apache-2.0
*
*/

/dts-v1/;
#include <common/freq.h>
#include <dt-bindings/mfd/mfd_mchp_sam_flexcom.h>
#include <dt-bindings/pinctrl/sama7d65-pinctrl.h>
#include <microchip/sam/sama7d65.dtsi>

/ {
model = "SAMA7D65-Curiosity board";
compatible = "microchip,sama7d65curiosity", "microchip,sama7d6", "microchip,sama7";

chosen {
zephyr,sram = &ddram;
zephyr,console = &uart6;
zephyr,shell-uart = &uart6;
};

clocks {
main_xtal {
clock-frequency = <DT_FREQ_M(24)>;
};

slow_xtal {
clock-frequency = <32768>;
};
};

ddram: ddram@60000000 {
compatible = "ddram";
reg = <0x60000000 DT_SIZE_M(1024)>;
};
};

&flx6 {
mchp,flexcom-mode = <SAM_FLEXCOM_MODE_USART>;
status = "okay";

uart6: serial@200 {
current-speed = <115200>;
pinctrl-0 = <&pinctrl_uart6_default>;
pinctrl-names = "default";
status = "okay";
};
};

&pinctrl {
pinctrl_uart6_default: uart6-default {
group1 {
pinmux = <PIN_PD18__FLEXCOM6_IO0>,
<PIN_PD19__FLEXCOM6_IO1>;
bias-disable;
};
};
};

&pit64b0 {
clock-frequency = <DT_FREQ_M(10)>;
};
14 changes: 14 additions & 0 deletions boards/microchip/sam/sama7d65_curiosity/sama7d65_curiosity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
# SPDX-License-Identifier: Apache-2.0

identifier: sama7d65_curiosity
name: SAMA7D65 Curiosity Kit
type: mcu
arch: arm
toolchain:
- zephyr
ram: 128
supported:
- shell
- uart
vendor: microchip
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
#
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_CLOCK_CONTROL_FIXED_RATE_CLOCK=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
Loading