1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) Arrow Electronics 2019 - All Rights Reserved
4 * Author: Botond Kardos <botond.kardos@arroweurope.com>
6 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
7 * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
12 #include "stm32mp157c.dtsi"
13 #include "stm32mp157cac-pinctrl.dtsi"
16 model = "Arrow Electronics STM32MP157A Avenger96 board";
17 compatible = "st,stm32mp157a-avenger96", "st,stm32mp157";
24 stdout-path = "serial0:115200n8";
30 pinctrl-names = "default";
31 pinctrl-0 = <&i2c4_pins_a>;
32 i2c-scl-rising-time-ns = <185>;
33 i2c-scl-falling-time-ns = <20>;
37 compatible = "st,stpmic1";
39 interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>;
41 #interrupt-cells = <2>;
44 st,main-control-register = <0x04>;
45 st,vin-control-register = <0xc0>;
46 st,usb-control-register = <0x20>;
49 compatible = "st,stpmic1-regulators";
51 ldo1-supply = <&v3v3>;
52 ldo2-supply = <&v3v3>;
53 ldo3-supply = <&vdd_ddr>;
54 ldo5-supply = <&v3v3>;
55 ldo6-supply = <&v3v3>;
58 regulator-name = "vddcore";
59 regulator-min-microvolt = <1200000>;
60 regulator-max-microvolt = <1350000>;
62 regulator-initial-mode = <0>;
63 regulator-over-current-protection;
67 regulator-name = "vdd_ddr";
68 regulator-min-microvolt = <1350000>;
69 regulator-max-microvolt = <1350000>;
71 regulator-initial-mode = <0>;
72 regulator-over-current-protection;
76 regulator-name = "vdd";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
81 regulator-initial-mode = <0>;
82 regulator-over-current-protection;
86 regulator-name = "v3v3";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
90 regulator-over-current-protection;
91 regulator-initial-mode = <0>;
95 regulator-name = "vdda";
96 regulator-min-microvolt = <2900000>;
97 regulator-max-microvolt = <2900000>;
101 regulator-name = "v2v8";
102 regulator-min-microvolt = <2800000>;
103 regulator-max-microvolt = <2800000>;
107 regulator-name = "vtt_ddr";
108 regulator-min-microvolt = <500000>;
109 regulator-max-microvolt = <750000>;
111 regulator-over-current-protection;
115 regulator-name = "vdd_usb";
116 regulator-min-microvolt = <3300000>;
117 regulator-max-microvolt = <3300000>;
121 regulator-name = "vdd_sd";
122 regulator-min-microvolt = <2900000>;
123 regulator-max-microvolt = <2900000>;
128 regulator-name = "v1v8";
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <1800000>;
134 regulator-name = "vref_ddr";
136 regulator-over-current-protection;
156 pinctrl-names = "default";
157 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
163 vmmc-supply = <&vdda>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&uart4_pins_b>;
174 #include <dt-bindings/clock/stm32mp1-clksrc.h>
175 #include "stm32mp15-ddr3-2x4Gb-1066-binG.dtsi"
176 #include "stm32mp157c-security.dtsi"
196 secure-status = "disabled";
261 /* VCO = 1300.0 MHz => P = 650 (CPU) */
263 cfg = < 2 80 0 0 0 PQR(1,0,0) >;
267 /* VCO = 1066.0 MHz => P = 266 (AXI), Q = 533 (GPU), R = 533 (DDR) */
269 cfg = < 2 65 1 0 0 PQR(1,1,1) >;
273 /* VCO = 417.8 MHz => P = 209, Q = 24, R = 11 */
275 cfg = < 1 33 1 16 36 PQR(1,1,1) >;
279 /* VCO = 480.0 MHz => P = 120, Q = 40, R = 96 */
281 cfg = < 1 39 3 11 4 PQR(1,1,1) >;