1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
4 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include "stm32mp135.dtsi"
13 #include "stm32mp13xf.dtsi"
14 #include "stm32mp13-pinctrl.dtsi"
17 model = "STMicroelectronics STM32MP135F-DK Discovery Board";
18 compatible = "st,stm32mp135f-dk", "st,stm32mp135";
25 device_type = "memory";
26 reg = <0xc0000000 0x20000000>;
30 compatible = "gpio-keys";
35 gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
40 compatible = "gpio-leds";
43 function = LED_FUNCTION_HEARTBEAT;
44 color = <LED_COLOR_ID_BLUE>;
45 gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "heartbeat";
47 default-state = "off";
52 compatible = "regulator-fixed";
53 regulator-name = "vdd_sd";
54 regulator-min-microvolt = <2900000>;
55 regulator-max-microvolt = <2900000>;
70 pinctrl-names = "default", "opendrain", "sleep";
71 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>;
72 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_clk_pins_a>;
73 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
78 vmmc-supply = <&vdd_sd>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&uart4_pins_a>;