blob: 27b7360e5dbaf88dfd051d2dc5b1cc1da8ca0faf [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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
Tom Rini762f85b2024-07-20 11:15:10 -060058&i2c2 {
59 pinctrl-names = "default", "sleep";
60 pinctrl-0 = <&i2c2_pins_a>;
61 pinctrl-1 = <&i2c2_sleep_pins_a>;
62 i2c-scl-rising-time-ns = <100>;
63 i2c-scl-falling-time-ns = <13>;
64 clock-frequency = <400000>;
65 status = "okay";
66};
67
68&i2c8 {
69 pinctrl-names = "default", "sleep";
70 pinctrl-0 = <&i2c8_pins_a>;
71 pinctrl-1 = <&i2c8_sleep_pins_a>;
72 i2c-scl-rising-time-ns = <57>;
73 i2c-scl-falling-time-ns = <7>;
74 clock-frequency = <400000>;
75 status = "disabled";
76};
77
Tom Rini53633a82024-02-29 12:33:36 -050078&sdmmc1 {
79 pinctrl-names = "default", "opendrain", "sleep";
80 pinctrl-0 = <&sdmmc1_b4_pins_a>;
81 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
82 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
83 cd-gpios = <&gpiod 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
84 disable-wp;
85 st,neg-edge;
86 bus-width = <4>;
87 vmmc-supply = <&vdd_sdcard>;
88 status = "okay";
89};
90
Tom Rini762f85b2024-07-20 11:15:10 -060091&spi3 {
92 pinctrl-names = "default", "sleep";
93 pinctrl-0 = <&spi3_pins_a>;
94 pinctrl-1 = <&spi3_sleep_pins_a>;
95 status = "disabled";
96};
97
98&spi8 {
99 pinctrl-names = "default", "sleep";
100 pinctrl-0 = <&spi8_pins_a>;
101 pinctrl-1 = <&spi8_sleep_pins_a>;
102 status = "disabled";
103};
104
Tom Rini53633a82024-02-29 12:33:36 -0500105&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 status = "okay";
111};