blob: 5d5e35dee9e8d745d16fcb37c81f427068f9ad55 [file] [log] [blame]
Alexandre Torgue00510af2021-11-18 12:26:49 +01001// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
2/*
Yann Gautier4abeb0e2024-01-04 18:53:09 +01003 * Copyright (C) 2023-2024, STMicroelectronics - All Rights Reserved
Alexandre Torgue00510af2021-11-18 12:26:49 +01004 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
5 */
6
7/dts-v1/;
8
Yann Gautier0ff7a172022-11-03 17:25:40 +01009#include <dt-bindings/clock/stm32mp25-clksrc.h>
Alexandre Torgue00510af2021-11-18 12:26:49 +010010#include "stm32mp257.dtsi"
11#include "stm32mp25xf.dtsi"
Yann Gautier0ff7a172022-11-03 17:25:40 +010012#include "stm32mp257f-ev1-ca35tdcid-rcc.dtsi"
Yann Gautier5ada0952023-09-22 13:56:17 +020013#include "stm32mp25-ddr4-2x16Gbits-2x16bits-1200MHz.dtsi"
Alexandre Torgue00510af2021-11-18 12:26:49 +010014#include "stm32mp25-pinctrl.dtsi"
15#include "stm32mp25xxai-pinctrl.dtsi"
16
17/ {
18 model = "STMicroelectronics STM32MP257F-EV1 Evaluation Board";
19 compatible = "st,stm32mp257f-ev1", "st,stm32mp257";
20
21 aliases {
22 serial0 = &usart2;
23 };
24
25 chosen {
26 stdout-path = "serial0:115200n8";
27 };
28
29 memory@80000000 {
30 device_type = "memory";
Yann Gautierc55e2ee2023-10-18 14:17:04 +020031 reg = <0x0 0x80000000 0x1 0x0>;
Alexandre Torgue00510af2021-11-18 12:26:49 +010032 };
33};
34
Yann Gautier4abeb0e2024-01-04 18:53:09 +010035&bsec {
36 board_id: board-id@3d8 {
37 reg = <0x3d8 0x4>;
38 };
39};
40
Patrick Delaunay90ac9422024-01-19 10:56:17 +010041&ddr {
42 vdd-supply = <&vdd_ddr>;
43 vtt-supply = <&vtt_ddr>;
44 vpp-supply = <&vpp_ddr>;
45 vref-supply = <&vref_ddr>;
46};
47
Pascal Paillet1ad775f2022-12-15 17:45:35 +010048&i2c7 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&i2c7_pins_a>;
51 i2c-scl-rising-time-ns = <185>;
52 i2c-scl-falling-time-ns = <20>;
53 clock-frequency = <400000>;
54 status = "okay";
55 #address-cells = <1>;
56 #size-cells = <0>;
57
58 pmic2: stpmic@33 {
59 compatible = "st,stpmic2";
60 reg = <0x33>;
61 status = "okay";
62
63 regulators {
64 compatible = "st,stpmic2-regulators";
65
66 vddcpu: buck1 {
67 regulator-name = "vddcpu";
68 regulator-min-microvolt = <800000>;
69 regulator-max-microvolt = <910000>;
70 regulator-always-on;
71 };
72 vddcore: buck2 {
73 regulator-name = "vddcore";
74 regulator-min-microvolt = <820000>;
75 regulator-max-microvolt = <820000>;
76 regulator-always-on;
77 };
78 vddgpu: buck3 {
79 regulator-name = "vddgpu";
80 regulator-min-microvolt = <800000>;
81 regulator-max-microvolt = <900000>;
82 regulator-always-on;
83 };
84 vddio_pmic: buck4 {
85 regulator-name = "vddio_pmic";
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
88 regulator-always-on;
89 };
90 v1v8: buck5 {
91 regulator-name = "v1v8";
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
94 regulator-always-on;
95 };
96 vdd_ddr: buck6 {
97 regulator-name = "vdd_ddr";
98 regulator-min-microvolt = <1200000>;
99 regulator-max-microvolt = <1200000>;
100 };
101 v3v3: buck7 {
102 regulator-name = "v3v3";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
105 regulator-always-on;
106 };
107 vdda1v8_aon: ldo1 {
108 regulator-name = "vdda1v8_aon";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
111 regulator-always-on;
112 };
113 vdd_emmc: ldo2 {
114 regulator-name = "vdd_emmc";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
117 regulator-always-on;
118 };
119 vtt_ddr: ldo3 {
120 regulator-name = "vtt_ddr";
121 st,regulator-sink-source;
122 };
123 vdd3v3_usb: ldo4 {
124 regulator-name = "vdd3v3_usb";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
127 regulator-always-on;
128 };
129 vpp_ddr: ldo5 {
130 regulator-name = "vpp_ddr";
131 regulator-min-microvolt = <2500000>;
132 regulator-max-microvolt = <2500000>;
133 regulator-enable-ramp-delay = <1000>;
134 };
135 vdd_sdcard: ldo7 {
136 regulator-name = "vdd_sdcard";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
139 regulator-always-on;
140 };
141 vddio_sdcard: ldo8 {
142 regulator-name = "vddio_sdcard";
143 st,regulator-bypass-microvolt = <3300000>;
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <3300000>;
146 regulator-always-on;
147 };
148 vref_ddr: refddr {
149 regulator-name = "vref_ddr";
150 };
151 };
152 };
153};
154
155&pwr {
156 vddio1: vddio1 {
157 vddio1-supply = <&vddio_sdcard>;
158 };
159 vddio2: vddio2 {
160 vddio2-supply = <&v1v8>;
161 };
162 vddio3: vddio3 {
163 vddio3-supply = <&vddio_pmic>;
164 };
165 vddio4: vddio4 {
166 vddio4-supply = <&vddio_pmic>;
167 };
168 vddio: vddio {
169 vdd-supply = <&vddio_pmic>;
170 };
171};
172
Yann Gautierb4397d02024-05-21 11:18:52 +0200173&sdmmc1 {
174 pinctrl-names = "default";
175 pinctrl-0 = <&sdmmc1_b4_pins_a>;
176 st,neg-edge;
177 bus-width = <4>;
178 status = "okay";
179};
180
181&sdmmc2 {
182 pinctrl-names = "default";
183 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
184 non-removable;
185 no-sd;
186 no-sdio;
187 st,neg-edge;
188 bus-width = <8>;
189 status = "okay";
190};
191
Alexandre Torgue00510af2021-11-18 12:26:49 +0100192&usart2 {
193 pinctrl-names = "default";
194 pinctrl-0 = <&usart2_pins_a>;
195 status = "okay";
196};