1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * sama7g5ek.dts - Device Tree file for SAMA7G5 EK
4 * SAMA7G5 Evaluation Kit
6 * Copyright (c) 2020, Microchip Technology Inc.
7 * 2020, Eugen Hristev <eugen.hristev@microchip.com>
8 * 2020, Claudiu Beznea <claudiu.beznea@microchip.com>
11 #include "sama7g5.dtsi"
12 #include "sama7g5-pinfunc.h"
15 model = "Microchip SAMA7G5 Evaluation Kit";
16 compatible = "microchip,sama7g5ek", "microchip,sama7g54", "microchip,sama7g5", "microchip,sama7";
23 stdout-path = "serial0:115200n8";
27 slow_xtal: slow_xtal {
28 clock-frequency = <32768>;
31 main_xtal: main_xtal {
32 clock-frequency = <24000000>;
39 sdmmc1: sdio-host@e1208000 {
41 pinctrl-names = "default";
42 pinctrl-0 = <&pinctrl_sdmmc1_cmd_data_default
43 &pinctrl_sdmmc1_ck_cd_rstn_vddsel_default>;
47 uart0: serial@e1824200 {
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_flx3_default>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_gmac0_default>;
61 phy-mode = "rgmii-id";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_gmac1_default>;
83 pinctrl_flx3_default: flx3_default {
84 pinmux = <PIN_PD16__FLEXCOM3_IO0>,
85 <PIN_PD17__FLEXCOM3_IO1>;
89 pinctrl_sdmmc1_cmd_data_default: sdmmc1_cmd_data_default {
90 pinmux = <PIN_PB29__SDMMC1_CMD>,
91 <PIN_PB31__SDMMC1_DAT0>,
92 <PIN_PC0__SDMMC1_DAT1>,
93 <PIN_PC1__SDMMC1_DAT2>,
94 <PIN_PC2__SDMMC1_DAT3>;
98 pinctrl_sdmmc1_ck_cd_rstn_vddsel_default: sdmmc1_ck_cd_rstn_vddsel_default {
99 pinmux = <PIN_PB30__SDMMC1_CK>,
100 <PIN_PB28__SDMMC1_RSTN>,
101 <PIN_PC5__SDMMC1_1V8SEL>,
102 <PIN_PC4__SDMMC1_CD>;
106 pinctrl_gmac0_default: gmac0_default {
107 pinmux = <PIN_PA16__G0_TX0>,
121 <PIN_PA25__G0_125CK>;
125 pinctrl_gmac1_default: gmac1_default {
126 pinmux = <PIN_PD30__G1_TXCK>,