1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
4 * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
5 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
9 #include "stm32mp157.dtsi"
10 #include "stm32mp15-pinctrl.dtsi"
11 #include "stm32mp15xxac-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/mfd/st,stpmic1.h>
21 device_type = "memory";
22 reg = <0xc0000000 0x40000000>;
25 /* Enpirion EP3A8LQI U2 on the DHCOR */
26 vdd_io: regulator-buck-io {
27 compatible = "regulator-fixed";
28 regulator-name = "buck-io";
29 regulator-min-microvolt = <1800000>;
30 regulator-max-microvolt = <1800000>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&i2c4_pins_a>;
40 i2c-scl-rising-time-ns = <185>;
41 i2c-scl-falling-time-ns = <20>;
43 /delete-property/dmas;
44 /delete-property/dma-names;
47 compatible = "st,stpmic1";
49 interrupts-extended = <&exti 55 IRQ_TYPE_EDGE_FALLING>;
51 #interrupt-cells = <2>;
54 st,main-control-register = <0x04>;
55 st,vin-control-register = <0xc0>;
56 st,usb-control-register = <0x30>;
59 compatible = "st,stpmic1-regulators";
61 ldo1-supply = <&v3v3>;
62 ldo2-supply = <&v3v3>;
63 ldo3-supply = <&vdd_ddr>;
64 ldo5-supply = <&v3v3>;
65 ldo6-supply = <&v3v3>;
66 pwr_sw1-supply = <&bst_out>;
67 pwr_sw2-supply = <&bst_out>;
70 regulator-name = "vddcore";
71 regulator-min-microvolt = <800000>;
72 regulator-max-microvolt = <1350000>;
74 regulator-initial-mode = <0>;
75 regulator-over-current-protection;
79 regulator-name = "vdd_ddr";
80 regulator-min-microvolt = <1350000>;
81 regulator-max-microvolt = <1350000>;
83 regulator-initial-mode = <0>;
84 regulator-over-current-protection;
88 regulator-name = "vdd";
89 regulator-min-microvolt = <2900000>;
90 regulator-max-microvolt = <2900000>;
93 regulator-initial-mode = <0>;
94 regulator-over-current-protection;
98 regulator-name = "v3v3";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
102 regulator-over-current-protection;
103 regulator-initial-mode = <0>;
107 regulator-name = "vdda";
108 regulator-min-microvolt = <2900000>;
109 regulator-max-microvolt = <2900000>;
110 interrupts = <IT_CURLIM_LDO1 0>;
111 interrupt-parent = <&pmic>;
115 regulator-name = "v2v8";
116 regulator-min-microvolt = <2800000>;
117 regulator-max-microvolt = <2800000>;
118 interrupts = <IT_CURLIM_LDO2 0>;
119 interrupt-parent = <&pmic>;
123 regulator-name = "vtt_ddr";
124 regulator-min-microvolt = <500000>;
125 regulator-max-microvolt = <750000>;
127 regulator-over-current-protection;
131 regulator-name = "vdd_usb";
132 regulator-min-microvolt = <3300000>;
133 regulator-max-microvolt = <3300000>;
134 interrupts = <IT_CURLIM_LDO4 0>;
135 interrupt-parent = <&pmic>;
139 regulator-name = "vdd_sd";
140 regulator-min-microvolt = <2900000>;
141 regulator-max-microvolt = <2900000>;
142 interrupts = <IT_CURLIM_LDO5 0>;
143 interrupt-parent = <&pmic>;
148 regulator-name = "v1v8";
149 regulator-min-microvolt = <1800000>;
150 regulator-max-microvolt = <1800000>;
151 interrupts = <IT_CURLIM_LDO6 0>;
152 interrupt-parent = <&pmic>;
153 regulator-enable-ramp-delay = <300000>;
157 regulator-name = "vref_ddr";
159 regulator-over-current-protection;
163 regulator-name = "bst_out";
164 interrupts = <IT_OCP_BOOST 0>;
165 interrupt-parent = <&pmic>;
169 regulator-name = "vbus_otg";
170 interrupts = <IT_OCP_OTG 0>;
171 interrupt-parent = <&pmic>;
172 regulator-active-discharge = <1>;
176 regulator-name = "vbus_sw";
177 interrupts = <IT_OCP_SWOUT 0>;
178 interrupt-parent = <&pmic>;
179 regulator-active-discharge = <1>;
184 compatible = "st,stpmic1-onkey";
185 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
186 interrupt-names = "onkey-falling", "onkey-rising";
191 compatible = "st,stpmic1-wdt";
203 vdd-supply = <&vdd_io>;
204 vdd_3v3_usbfs-supply = <&vdd_usb>;
208 pinctrl-names = "default", "sleep";
209 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a>;
210 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a>;
211 reg = <0x58003000 0x1000>, <0x70000000 0x200000>;
212 #address-cells = <1>;
216 flash0: spi-flash@0 {
217 compatible = "jedec,spi-nor";
219 spi-rx-bus-width = <4>;
220 spi-max-frequency = <108000000>;
221 #address-cells = <1>;