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