1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2/* 3 * Copyright (C) STMicroelectronics 2025 - All Rights Reserved 4 * Author: Amelie Delaunay <amelie.delaunay@foss.st.com> for STMicroelectronics. 5 */ 6 7/dts-v1/; 8 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/input/input.h> 11#include <dt-bindings/leds/common.h> 12#include "stm32mp235.dtsi" 13#include "stm32mp23xf.dtsi" 14#include "stm32mp25-pinctrl.dtsi" 15#include "stm32mp25xxak-pinctrl.dtsi" 16 17/ { 18 model = "STMicroelectronics STM32MP235F-DK Discovery Board"; 19 compatible = "st,stm32mp235f-dk", "st,stm32mp235"; 20 21 aliases { 22 serial0 = &usart2; 23 }; 24 25 chosen { 26 stdout-path = "serial0:115200n8"; 27 }; 28 29 gpio-keys { 30 compatible = "gpio-keys"; 31 32 button-user-1 { 33 label = "User-1"; 34 linux,code = <BTN_1>; 35 gpios = <&gpioc 5 GPIO_ACTIVE_HIGH>; 36 }; 37 38 button-user-2 { 39 label = "User-2"; 40 linux,code = <BTN_2>; 41 gpios = <&gpioc 11 GPIO_ACTIVE_HIGH>; 42 }; 43 }; 44 45 gpio-leds { 46 compatible = "gpio-leds"; 47 48 led-blue { 49 function = LED_FUNCTION_HEARTBEAT; 50 color = <LED_COLOR_ID_BLUE>; 51 gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>; 52 linux,default-trigger = "heartbeat"; 53 default-state = "off"; 54 }; 55 }; 56 57 memory@80000000 { 58 device_type = "memory"; 59 reg = <0x0 0x80000000 0x1 0x0>; 60 }; 61 62 reserved-memory { 63 #address-cells = <2>; 64 #size-cells = <2>; 65 ranges; 66 67 fw@80000000 { 68 compatible = "shared-dma-pool"; 69 reg = <0x0 0x80000000 0x0 0x4000000>; 70 no-map; 71 }; 72 }; 73}; 74 75&arm_wdt { 76 timeout-sec = <32>; 77 status = "okay"; 78}; 79 80&scmi_regu { 81 scmi_vddio1: regulator@0 { 82 regulator-min-microvolt = <1800000>; 83 regulator-max-microvolt = <3300000>; 84 }; 85 scmi_vdd_sdcard: regulator@23 { 86 reg = <VOLTD_SCMI_STPMIC2_LDO7>; 87 regulator-name = "vdd_sdcard"; 88 }; 89}; 90 91&sdmmc1 { 92 pinctrl-names = "default", "opendrain", "sleep"; 93 pinctrl-0 = <&sdmmc1_b4_pins_a>; 94 pinctrl-1 = <&sdmmc1_b4_od_pins_a>; 95 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; 96 cd-gpios = <&gpiod 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 97 disable-wp; 98 st,neg-edge; 99 bus-width = <4>; 100 vmmc-supply = <&scmi_vdd_sdcard>; 101 vqmmc-supply = <&scmi_vddio1>; 102 status = "okay"; 103}; 104 105&usart2 { 106 pinctrl-names = "default", "idle", "sleep"; 107 pinctrl-0 = <&usart2_pins_a>; 108 pinctrl-1 = <&usart2_idle_pins_a>; 109 pinctrl-2 = <&usart2_sleep_pins_a>; 110 /delete-property/dmas; 111 /delete-property/dma-names; 112 status = "okay"; 113}; 114