// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * at91-sama7d65_curiosity.dts - Device Tree file for SAMA7D65 Curiosity board * * Copyright (c) 2024 Microchip Technology Inc. and its subsidiaries * * Author: Romain Sioen * */ /dts-v1/; #include "sama7d65-pinfunc.h" #include "sama7d65.dtsi" #include #include / { model = "Microchip SAMA7D65 Curiosity"; compatible = "microchip,sama7d65-curiosity", "microchip,sama7d65", "microchip,sama7d6", "microchip,sama7"; aliases { serial0 = &uart6; }; chosen { stdout-path = "serial0:115200n8"; }; memory@60000000 { device_type = "memory"; reg = <0x60000000 0x40000000>; }; reg_5v: regulator-5v { compatible = "regulator-fixed"; regulator-name = "5V_MAIN"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; }; }; &dma0 { status = "okay"; }; &dma1 { status = "okay"; }; &dma2 { status = "okay"; }; &flx6 { atmel,flexcom-mode = ; status = "okay"; }; &uart6 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart6_default>; status = "okay"; }; &flx10 { atmel,flexcom-mode = ; status = "okay"; }; &gmac0 { #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gmac0_default &pinctrl_gmac0_mdio_default &pinctrl_gmac0_txck_default &pinctrl_gmac0_phy_irq>; phy-mode = "rgmii-id"; nvmem-cells = <&eeprom0_eui48>; nvmem-cell-names = "mac-address"; status = "okay"; ethernet-phy@7 { reg = <0x7>; interrupt-parent = <&pioa>; interrupts = ; }; }; &i2c10 { dmas = <0>, <0>; i2c-analog-filter; i2c-digital-filter; i2c-digital-filter-width-ns = <35>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c10_default>; status = "okay"; power-monitor@10 { compatible = "microchip,pac1934"; reg = <0x10>; #address-cells = <1>; #size-cells = <0>; channel@1 { reg = <0x1>; shunt-resistor-micro-ohms = <47000>; label = "VDD3V3"; }; channel@2 { reg = <0x2>; shunt-resistor-micro-ohms = <47000>; label = "VDDIODDR"; }; channel@3 { reg = <0x3>; shunt-resistor-micro-ohms = <47000>; label = "VDDCORE"; }; channel@4 { reg = <0x4>; shunt-resistor-micro-ohms = <47000>; label = "VDDCPU"; }; }; pmic@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; lvin-supply = <®_5v>; pvin1-supply = <®_5v>; pvin2-supply = <®_5v>; pvin3-supply = <®_5v>; pvin4-supply = <®_5v>; status = "okay"; regulators { vdd_3v3: VDD_IO { regulator-name = "VDD_IO"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-initial-mode = <2>; regulator-allowed-modes = <2>, <4>; regulator-always-on; regulator-state-standby { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; regulator-mode = <4>; }; regulator-state-mem { regulator-off-in-suspend; regulator-mode = <4>; }; }; vddioddr: VDD_DDR { regulator-name = "VDD_DDR"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; regulator-initial-mode = <2>; regulator-allowed-modes = <2>, <4>; regulator-always-on; regulator-state-standby { regulator-on-in-suspend; regulator-suspend-microvolt = <1350000>; regulator-mode = <4>; }; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1350000>; regulator-mode = <4>; }; }; vddcore: VDD_CORE { regulator-name = "VDD_CORE"; regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1050000>; regulator-initial-mode = <2>; regulator-allowed-modes = <2>, <4>; regulator-always-on; regulator-state-standby { regulator-on-in-suspend; regulator-suspend-microvolt = <1050000>; regulator-mode = <4>; }; regulator-state-mem { regulator-off-in-suspend; regulator-mode = <4>; }; }; vddcpu: VDD_OTHER { regulator-name = "VDD_OTHER"; regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1250000>; regulator-initial-mode = <2>; regulator-allowed-modes = <2>, <4>; regulator-ramp-delay = <3125>; regulator-always-on; regulator-state-standby { regulator-on-in-suspend; regulator-suspend-microvolt = <1050000>; regulator-mode = <4>; }; regulator-state-mem { regulator-off-in-suspend; regulator-mode = <4>; }; }; vldo1: LDO1 { regulator-name = "LDO1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-state-standby { regulator-suspend-microvolt = <1800000>; regulator-on-in-suspend; }; regulator-state-mem { regulator-off-in-suspend; }; }; vldo2: LDO2 { regulator-name = "LDO2"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <3700000>; regulator-state-standby { regulator-on-in-suspend; }; regulator-state-mem { regulator-off-in-suspend; }; }; }; }; eeprom0: eeprom@51 { compatible = "microchip,24aa025e48"; reg = <0x51>; size = <256>; pagesize = <16>; vcc-supply = <&vdd_3v3>; nvmem-layout { compatible = "fixed-layout"; #address-cells = <1>; #size-cells = <1>; eeprom0_eui48: eui48@fa { reg = <0xfa 0x6>; }; }; }; }; &main_xtal { clock-frequency = <24000000>; }; &pioa { pinctrl_gmac0_default: gmac0-default { pinmux = , , , , , , , , , , ; slew-rate = <0>; bias-disable; }; pinctrl_gmac0_mdio_default: gmac0-mdio-default { pinmux = , ; bias-disable; }; pinctrl_gmac0_phy_irq: gmac0-phy-irq { pinmux = ; bias-disable; }; pinctrl_gmac0_txck_default: gmac0-txck-default { pinmux = ; slew-rate = <0>; bias-pull-up; }; pinctrl_i2c10_default: i2c10-default{ pinmux = , ; bias-pull-up; }; pinctrl_sdmmc1_default: sdmmc1-default { cmd-data { pinmux = , , , , ; slew-rate = <0>; bias-disable; }; ck-cd-rstn-vddsel { pinmux = , , , , ; slew-rate = <0>; bias-disable; }; }; pinctrl_uart6_default: uart6-default { pinmux = , ; bias-disable; }; }; &rtt { atmel,rtt-rtc-time-reg = <&gpbr 0x0>; }; &sdmmc1 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "okay"; }; &shdwc { debounce-delay-us = <976>; status = "okay"; input@0 { reg = <0>; }; }; &slow_xtal { clock-frequency = <32768>; };