Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

103 lines
1.8 KiB

/*
* 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/sama7g5-pinctrl.h>
#include <microchip/sam/sama7g5.dtsi>
/ {
model = "SAMA7G54-EK board";
compatible = "microchip,sama7g5ek", "microchip,sama7g5", "microchip,sama7";
chosen {
zephyr,sram = &ddram;
zephyr,console = &usart3;
zephyr,shell-uart = &usart3;
};
clocks {
main_xtal {
clock-frequency = <DT_FREQ_M(24)>;
};
slow_xtal {
clock-frequency = <32768>;
};
};
ddram: ddram@60000000 {
compatible = "ddram";
reg = <0x60000000 DT_SIZE_M(512)>;
};
};
&flx3 {
mchp,flexcom-mode = <SAM_FLEXCOM_MODE_USART>;
status = "okay";
usart3: serial@200 {
current-speed = <115200>;
pinctrl-0 = <&pinctrl_flx3_default>;
pinctrl-names = "default";
status = "okay";
};
};
&flx8 {
mchp,flexcom-mode = <SAM_FLEXCOM_MODE_TWI>;
status = "okay";
i2c8: i2c8@600 {
pinctrl-0 = <&pinctrl_i2c8_default>;
pinctrl-names = "default";
status = "okay";
eeprom0: eeprom0@52 {
compatible = "atmel,24mac02e4", "atmel,at24";
reg = <0x52>;
address-width = <8>;
pagesize = <16>;
size = <256>;
timeout = <5>;
status = "okay";
};
eeprom1: eeprom1@53 {
compatible = "atmel,24mac02e4", "atmel,at24";
reg = <0x53>;
address-width = <8>;
pagesize = <16>;
size = <256>;
timeout = <5>;
status = "okay";
};
};
};
&pinctrl {
pinctrl_flx3_default: flx3_default {
group1 {
pinmux = <PIN_PD16__FLEXCOM3_IO0>,
<PIN_PD17__FLEXCOM3_IO1>;
bias-pull-up;
};
};
pinctrl_i2c8_default: i2c8_default {
group1 {
pinmux = <PIN_PC14__FLEXCOM8_IO0>,
<PIN_PC13__FLEXCOM8_IO1>;
bias-disable;
};
};
};
&pit64b0 {
clock-frequency = <DT_FREQ_M(10)>;
};