// 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 * 2020, Claudiu Beznea */ /dts-v1/; #include #include "sama7g5.dtsi" #include "sama7g5-pinfunc.h" #include / { model = "Microchip SAMA7G5 Evaluation Kit"; compatible = "microchip,sama7g5ek", "microchip,sama7g54", "microchip,sama7g5", "microchip,sama7"; aliases { serial0 = &uart0; i2c0 = &i2c1; }; chosen { stdout-path = "serial0:115200n8"; }; clocks { slow_xtal: slow_xtal { clock-frequency = <32768>; }; main_xtal: main_xtal { clock-frequency = <24000000>; }; }; ahb { apb { sdmmc0: sdio-host@e1204000 { bus-width = <8>; non-removable; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_cmd_data_default &pinctrl_sdmmc0_ck_rstn_ds_cd_default>; status = "okay"; }; sdmmc1: sdio-host@e1208000 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_cmd_data_default &pinctrl_sdmmc1_ck_cd_rstn_vddsel_default>; status = "okay"; }; uart0: serial@e1824200 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flx3_default>; status = "okay"; }; }; }; }; &qspi0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_qspi>; status = "okay"; flash@0 { #address-cells = <1>; #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <133000000>; spi-tx-bus-width = <8>; spi-rx-bus-width = <8>; m25p,fast-read; }; }; &flx1 { atmel,flexcom-mode = ; status = "okay"; }; &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flx1_default>; status = "okay"; eeprom@52 { compatible = "microchip,24aa02e48"; reg = <0x52>; pagesize = <16>; }; eeprom@53 { compatible = "microchip,24aa02e48"; reg = <0x53>; pagesize = <16>; }; }; &gmac0 { #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gmac0_default &pinctrl_gmac0_txc_default>; phy-mode = "rgmii-id"; status = "okay"; ethernet-phy@7 { reg = <0x7>; }; }; &gmac1 { #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gmac1_default>; phy-mode = "rmii"; status = "okay"; ethernet-phy@0 { reg = <0x0>; }; }; &pinctrl { pinctrl_flx1_default: flx1_default { pinmux = , ; bias-disable; }; pinctrl_flx3_default: flx3_default { pinmux = , ; bias-pull-up; }; pinctrl_qspi: qspi { pinmux = , , , , , , , , , , , , ; bias-disable; slew-rate = <0>; atmel,drive-strength = ; }; pinctrl_sdmmc0_cmd_data_default: sdmmc0_cmd_data_default { pinmux = , , , , , , , , ; bias-pull-up; }; pinctrl_sdmmc0_ck_rstn_ds_cd_default: sdmmc0_ck_rstn_ds_cd_default { pinmux = , , , ; bias-pull-up; }; pinctrl_sdmmc1_cmd_data_default: sdmmc1_cmd_data_default { pinmux = , , , , ; bias-pull-up; }; pinctrl_sdmmc1_ck_cd_rstn_vddsel_default: sdmmc1_ck_cd_rstn_vddsel_default { pinmux = , , , ; bias-pull-up; }; pinctrl_gmac0_default: gmac0_default { pinmux = , , , , , , , , , , , , , ; bias-disable; }; pinctrl_gmac0_txc_default: gmac0_txc_default { pinmux = ; bias-pull-up; }; pinctrl_gmac1_default: gmac1_default { pinmux = , , , , , , , , , ; bias-disable; }; };