1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017-2019 - All Rights Reserved
4 * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
8 #include "stm32mp157c.dtsi"
9 #include "stm32mp157caa-pinctrl.dtsi"
12 model = "STMicroelectronics STM32MP157C eval daughter";
13 compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
16 stdout-path = "serial0:115200n8";
29 pinctrl-names = "default";
30 pinctrl-0 = <&i2c4_pins_a>;
31 i2c-scl-rising-time-ns = <185>;
32 i2c-scl-falling-time-ns = <20>;
36 compatible = "st,stpmic1";
38 interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>;
40 #interrupt-cells = <2>;
43 st,main-control-register = <0x04>;
44 st,vin-control-register = <0xc0>;
45 st,usb-control-register = <0x20>;
48 compatible = "st,stpmic1-regulators";
50 ldo1-supply = <&v3v3>;
51 ldo2-supply = <&v3v3>;
52 ldo3-supply = <&vdd_ddr>;
53 ldo5-supply = <&v3v3>;
54 ldo6-supply = <&v3v3>;
57 regulator-name = "vddcore";
58 regulator-min-microvolt = <1200000>;
59 regulator-max-microvolt = <1350000>;
61 regulator-initial-mode = <0>;
62 regulator-over-current-protection;
66 regulator-name = "vdd_ddr";
67 regulator-min-microvolt = <1350000>;
68 regulator-max-microvolt = <1350000>;
70 regulator-initial-mode = <0>;
71 regulator-over-current-protection;
75 regulator-name = "vdd";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
80 regulator-initial-mode = <0>;
81 regulator-over-current-protection;
85 regulator-name = "v3v3";
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
89 regulator-over-current-protection;
90 regulator-initial-mode = <0>;
94 regulator-name = "vdda";
95 regulator-min-microvolt = <2900000>;
96 regulator-max-microvolt = <2900000>;
100 regulator-name = "v2v8";
101 regulator-min-microvolt = <2800000>;
102 regulator-max-microvolt = <2800000>;
106 regulator-name = "vtt_ddr";
107 regulator-min-microvolt = <500000>;
108 regulator-max-microvolt = <750000>;
110 regulator-over-current-protection;
114 regulator-name = "vdd_usb";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
120 regulator-name = "vdd_sd";
121 regulator-min-microvolt = <2900000>;
122 regulator-max-microvolt = <2900000>;
127 regulator-name = "v1v8";
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <1800000>;
133 regulator-name = "vref_ddr";
135 regulator-over-current-protection;
161 pinctrl-names = "default";
162 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
168 vmmc-supply = <&vdd_sd>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
185 vmmc-supply = <&v3v3>;
186 vqmmc-supply = <&v3v3>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&uart4_pins_a>;
198 #include <dt-bindings/clock/stm32mp1-clksrc.h>
199 #include "stm32mp15-ddr3-2x4Gb-1066-binG.dtsi"
200 #include "stm32mp157c-security.dtsi"
222 secure-status = "disabled";
287 /* VCO = 1300.0 MHz => P = 650 (CPU) */
289 cfg = < 2 80 0 0 0 PQR(1,0,0) >;
293 /* VCO = 1066.0 MHz => P = 266 (AXI), Q = 533 (GPU), R = 533 (DDR) */
295 cfg = < 2 65 1 0 0 PQR(1,1,1) >;
299 /* VCO = 417.8 MHz => P = 209, Q = 24, R = 11 */
301 cfg = < 1 33 1 16 36 PQR(1,1,1) >;
305 /* VCO = 594.0 MHz => P = 99, Q = 74, R = 74 */
307 cfg = < 3 98 5 7 7 PQR(1,1,1) >;
312 board_id: board_id@ec {
315 secure-status = "okay";