-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
TonyHan11
wants to merge
9
commits into
zephyrproject-rtos:main
Choose a base branch
from
TonyHan11:sama7d65
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,186
−19
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
233871d
west.yml: Update west.yml for Microchip sama7d65 hal
TonyHan11 680ebad
soc: microchip: sam: optimize clock name for sama75 programmable clock
TonyHan11 6b8caa8
soc: microchip: sam: optimize array size for sama7g5 registered clocks
TonyHan11 1b7fa70
soc: microchip: add new soc sama7d65
TonyHan11 54e2cd2
soc: microchip: sam: register clocks for sama7d65
TonyHan11 052eb01
include: dt-bindings: sam_pmc: add PMC clocks for SAMA7D65
TonyHan11 3d0faa5
dts: microchip: add the DTSI file for sama7d65
TonyHan11 6154c28
boards: microchip: add new board sama7d65 Curiosity Kit
TonyHan11 3032456
boards: microchip: sam: add device-tree file for sama7d65_curiosity
TonyHan11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
boards/microchip/sam/sama7d65_curiosity/Kconfig.sama7d65_curiosity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 added
BIN
+55.3 KB
boards/microchip/sam/sama7d65_curiosity/doc/img/sama7d65_curiosity.webp
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
||
- 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
64
boards/microchip/sam/sama7d65_curiosity/sama7d65_curiosity.dts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
boards/microchip/sam/sama7d65_curiosity/sama7d65_curiosity.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
9 changes: 9 additions & 0 deletions
9
boards/microchip/sam/sama7d65_curiosity/sama7d65_curiosity_defconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.