2020-03-10 09:56:38 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
|
|
/*
|
|
|
|
* sama7g5ek.dts - Device Tree file for SAMA7G5 EK
|
|
|
|
* SAMA7G5 Evaluation Kit
|
|
|
|
*
|
|
|
|
* Copyright (c) 2020, Microchip Technology Inc.
|
|
|
|
* 2020, Eugen Hristev <eugen.hristev@microchip.com>
|
|
|
|
* 2020, Claudiu Beznea <claudiu.beznea@microchip.com>
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sama7g5.dtsi"
|
|
|
|
#include "sama7g5-pinfunc.h"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Microchip SAMA7G5 Evaluation Kit";
|
|
|
|
compatible = "microchip,sama7g5ek", "microchip,sama7g54", "microchip,sama7g5", "microchip,sama7";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2020-06-02 12:19:19 +00:00
|
|
|
clocks {
|
|
|
|
slow_xtal: slow_xtal {
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
|
|
|
|
main_xtal: main_xtal {
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-03-10 09:56:38 +00:00
|
|
|
ahb {
|
|
|
|
|
|
|
|
apb {
|
|
|
|
sdmmc1: sdio-host@e1208000 {
|
|
|
|
bus-width = <4>;
|
2020-06-04 07:38:49 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_sdmmc1_cmd_data_default
|
|
|
|
&pinctrl_sdmmc1_ck_cd_rstn_vddsel_default>;
|
2020-03-10 09:56:38 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart0: serial@e1824200 {
|
2020-06-04 07:38:49 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_flx3_default>;
|
2020-03-10 09:56:38 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2020-06-04 07:38:49 +00:00
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
pinctrl_flx3_default: flx3_default {
|
|
|
|
pinmux = <PIN_PD16__FLEXCOM3_IO0>,
|
|
|
|
<PIN_PD17__FLEXCOM3_IO1>;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_sdmmc1_cmd_data_default: sdmmc1_cmd_data_default {
|
|
|
|
pinmux = <PIN_PB29__SDMMC1_CMD>,
|
|
|
|
<PIN_PB31__SDMMC1_DAT0>,
|
|
|
|
<PIN_PC0__SDMMC1_DAT1>,
|
|
|
|
<PIN_PC1__SDMMC1_DAT2>,
|
|
|
|
<PIN_PC2__SDMMC1_DAT3>;
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_sdmmc1_ck_cd_rstn_vddsel_default: sdmmc1_ck_cd_rstn_vddsel_default {
|
|
|
|
pinmux = <PIN_PB30__SDMMC1_CK>,
|
|
|
|
<PIN_PB28__SDMMC1_RSTN>,
|
|
|
|
<PIN_PC5__SDMMC1_1V8SEL>,
|
|
|
|
<PIN_PC4__SDMMC1_CD>;
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
};
|