1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 4f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/dts-v1/; 8f126890aSEmmanuel Vadot 9*84943d6fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 10f126890aSEmmanuel Vadot#include "stm32mp257.dtsi" 11f126890aSEmmanuel Vadot#include "stm32mp25xf.dtsi" 12f126890aSEmmanuel Vadot#include "stm32mp25-pinctrl.dtsi" 13f126890aSEmmanuel Vadot#include "stm32mp25xxai-pinctrl.dtsi" 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot/ { 16f126890aSEmmanuel Vadot model = "STMicroelectronics STM32MP257F-EV1 Evaluation Board"; 17f126890aSEmmanuel Vadot compatible = "st,stm32mp257f-ev1", "st,stm32mp257"; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot aliases { 20f126890aSEmmanuel Vadot serial0 = &usart2; 21f126890aSEmmanuel Vadot }; 22f126890aSEmmanuel Vadot 23f126890aSEmmanuel Vadot chosen { 24f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 25f126890aSEmmanuel Vadot }; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot memory@80000000 { 28f126890aSEmmanuel Vadot device_type = "memory"; 29f126890aSEmmanuel Vadot reg = <0x0 0x80000000 0x1 0x0>; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot reserved-memory { 33f126890aSEmmanuel Vadot #address-cells = <2>; 34f126890aSEmmanuel Vadot #size-cells = <2>; 35f126890aSEmmanuel Vadot ranges; 36f126890aSEmmanuel Vadot 37f126890aSEmmanuel Vadot fw@80000000 { 38f126890aSEmmanuel Vadot compatible = "shared-dma-pool"; 39f126890aSEmmanuel Vadot reg = <0x0 0x80000000 0x0 0x4000000>; 40f126890aSEmmanuel Vadot no-map; 41f126890aSEmmanuel Vadot }; 42f126890aSEmmanuel Vadot }; 43*84943d6fSEmmanuel Vadot 44*84943d6fSEmmanuel Vadot vdd_sdcard: vdd-sdcard { 45*84943d6fSEmmanuel Vadot compatible = "regulator-fixed"; 46*84943d6fSEmmanuel Vadot regulator-name = "vdd_sdcard"; 47*84943d6fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 48*84943d6fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 49*84943d6fSEmmanuel Vadot regulator-always-on; 50*84943d6fSEmmanuel Vadot }; 51*84943d6fSEmmanuel Vadot}; 52*84943d6fSEmmanuel Vadot 53*84943d6fSEmmanuel Vadot&arm_wdt { 54*84943d6fSEmmanuel Vadot timeout-sec = <32>; 55*84943d6fSEmmanuel Vadot status = "okay"; 56*84943d6fSEmmanuel Vadot}; 57*84943d6fSEmmanuel Vadot 58*84943d6fSEmmanuel Vadot&sdmmc1 { 59*84943d6fSEmmanuel Vadot pinctrl-names = "default", "opendrain", "sleep"; 60*84943d6fSEmmanuel Vadot pinctrl-0 = <&sdmmc1_b4_pins_a>; 61*84943d6fSEmmanuel Vadot pinctrl-1 = <&sdmmc1_b4_od_pins_a>; 62*84943d6fSEmmanuel Vadot pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; 63*84943d6fSEmmanuel Vadot cd-gpios = <&gpiod 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 64*84943d6fSEmmanuel Vadot disable-wp; 65*84943d6fSEmmanuel Vadot st,neg-edge; 66*84943d6fSEmmanuel Vadot bus-width = <4>; 67*84943d6fSEmmanuel Vadot vmmc-supply = <&vdd_sdcard>; 68*84943d6fSEmmanuel Vadot status = "okay"; 69f126890aSEmmanuel Vadot}; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot&usart2 { 72f126890aSEmmanuel Vadot pinctrl-names = "default", "idle", "sleep"; 73f126890aSEmmanuel Vadot pinctrl-0 = <&usart2_pins_a>; 74f126890aSEmmanuel Vadot pinctrl-1 = <&usart2_idle_pins_a>; 75f126890aSEmmanuel Vadot pinctrl-2 = <&usart2_sleep_pins_a>; 76f126890aSEmmanuel Vadot status = "okay"; 77f126890aSEmmanuel Vadot}; 78