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";
24 stdout-path = "serial0:115200n8";
28 slow_xtal: slow_xtal {
29 clock-frequency = <32768>;
32 main_xtal: main_xtal {
33 clock-frequency = <24000000>;
40 sdmmc0: sdio-host@e1204000 {
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_sdmmc0_cmd_data_default
45 &pinctrl_sdmmc0_ck_rstn_ds_cd_default>;
49 sdmmc1: sdio-host@e1208000 {
51 pinctrl-names = "default";
52 pinctrl-0 = <&pinctrl_sdmmc1_cmd_data_default
53 &pinctrl_sdmmc1_ck_cd_rstn_vddsel_default>;
57 uart0: serial@e1824200 {
58 pinctrl-names = "default";
59 pinctrl-0 = <&pinctrl_flx3_default>;
67 atmel,flexcom-mode = <3>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_flx1_default>;
77 compatible = "microchip,24aa02e48";
83 compatible = "microchip,24aa02e48";
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_gmac0_default &pinctrl_gmac0_txc_default>;
94 phy-mode = "rgmii-id";
103 #address-cells = <1>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&pinctrl_gmac1_default>;
116 pinctrl_flx1_default: flx1_default {
117 pinmux = <PIN_PC9__FLEXCOM1_IO0>,
118 <PIN_PC10__FLEXCOM1_IO1>;
122 pinctrl_flx3_default: flx3_default {
123 pinmux = <PIN_PD16__FLEXCOM3_IO0>,
124 <PIN_PD17__FLEXCOM3_IO1>;
128 pinctrl_sdmmc0_cmd_data_default: sdmmc0_cmd_data_default {
129 pinmux = <PIN_PA1__SDMMC0_CMD>,
130 <PIN_PA3__SDMMC0_DAT0>,
131 <PIN_PA4__SDMMC0_DAT1>,
132 <PIN_PA5__SDMMC0_DAT2>,
133 <PIN_PA6__SDMMC0_DAT3>,
134 <PIN_PA7__SDMMC0_DAT4>,
135 <PIN_PA8__SDMMC0_DAT5>,
136 <PIN_PA9__SDMMC0_DAT6>,
137 <PIN_PA10__SDMMC0_DAT7>;
141 pinctrl_sdmmc0_ck_rstn_ds_cd_default: sdmmc0_ck_rstn_ds_cd_default {
142 pinmux = <PIN_PA0__SDMMC0_CK>,
143 <PIN_PA2__SDMMC0_RSTN>,
144 <PIN_PA11__SDMMC0_DS>,
145 <PIN_PA14__SDMMC0_CD>;
149 pinctrl_sdmmc1_cmd_data_default: sdmmc1_cmd_data_default {
150 pinmux = <PIN_PB29__SDMMC1_CMD>,
151 <PIN_PB31__SDMMC1_DAT0>,
152 <PIN_PC0__SDMMC1_DAT1>,
153 <PIN_PC1__SDMMC1_DAT2>,
154 <PIN_PC2__SDMMC1_DAT3>;
158 pinctrl_sdmmc1_ck_cd_rstn_vddsel_default: sdmmc1_ck_cd_rstn_vddsel_default {
159 pinmux = <PIN_PB30__SDMMC1_CK>,
160 <PIN_PB28__SDMMC1_RSTN>,
161 <PIN_PC5__SDMMC1_1V8SEL>,
162 <PIN_PC4__SDMMC1_CD>;
166 pinctrl_gmac0_default: gmac0_default {
167 pinmux = <PIN_PA16__G0_TX0>,
180 <PIN_PA25__G0_125CK>;
184 pinctrl_gmac0_txc_default: gmac0_txc_default {
185 pinmux = <PIN_PA24__G0_TXCK>;
189 pinctrl_gmac1_default: gmac1_default {
190 pinmux = <PIN_PD30__G1_TXCK>,