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>;
27 pinctrl-names = "default";
28 pinctrl-0 = <&i2c4_pins_a>;
29 i2c-scl-rising-time-ns = <185>;
30 i2c-scl-falling-time-ns = <20>;
32 /delete-property/dmas;
33 /delete-property/dma-names;
36 compatible = "st,stpmic1";
38 interrupts-extended = <&exti 55 IRQ_TYPE_EDGE_FALLING>;
40 #interrupt-cells = <2>;
44 compatible = "st,stpmic1-regulators";
46 ldo1-supply = <&v3v3>;
47 ldo2-supply = <&v3v3>;
48 ldo3-supply = <&vdd_ddr>;
49 ldo5-supply = <&v3v3>;
50 ldo6-supply = <&v3v3>;
51 pwr_sw1-supply = <&bst_out>;
52 pwr_sw2-supply = <&bst_out>;
55 regulator-name = "vddcore";
56 regulator-min-microvolt = <800000>;
57 regulator-max-microvolt = <1350000>;
59 regulator-initial-mode = <0>;
60 regulator-over-current-protection;
64 regulator-name = "vdd_ddr";
65 regulator-min-microvolt = <1350000>;
66 regulator-max-microvolt = <1350000>;
68 regulator-initial-mode = <0>;
69 regulator-over-current-protection;
73 regulator-name = "vdd";
74 regulator-min-microvolt = <2900000>;
75 regulator-max-microvolt = <2900000>;
77 regulator-initial-mode = <0>;
78 regulator-over-current-protection;
82 regulator-name = "v3v3";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
86 regulator-over-current-protection;
87 regulator-initial-mode = <0>;
91 regulator-name = "vdda";
92 regulator-min-microvolt = <2900000>;
93 regulator-max-microvolt = <2900000>;
94 interrupts = <IT_CURLIM_LDO1 0>;
95 interrupt-parent = <&pmic>;
99 regulator-name = "v2v8";
100 regulator-min-microvolt = <2800000>;
101 regulator-max-microvolt = <2800000>;
102 interrupts = <IT_CURLIM_LDO2 0>;
103 interrupt-parent = <&pmic>;
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 interrupts = <IT_CURLIM_LDO4 0>;
117 interrupt-parent = <&pmic>;
121 regulator-name = "vdd_sd";
122 regulator-min-microvolt = <2900000>;
123 regulator-max-microvolt = <2900000>;
124 interrupts = <IT_CURLIM_LDO5 0>;
125 interrupt-parent = <&pmic>;
130 regulator-name = "v1v8";
131 regulator-min-microvolt = <1800000>;
132 regulator-max-microvolt = <1800000>;
133 interrupts = <IT_CURLIM_LDO6 0>;
134 interrupt-parent = <&pmic>;
135 regulator-enable-ramp-delay = <300000>;
139 regulator-name = "vref_ddr";
144 regulator-name = "bst_out";
145 interrupts = <IT_OCP_BOOST 0>;
146 interrupt-parent = <&pmic>;
150 regulator-name = "vbus_otg";
151 interrupts = <IT_OCP_OTG 0>;
152 interrupt-parent = <&pmic>;
153 regulator-active-discharge = <1>;
157 regulator-name = "vbus_sw";
158 interrupts = <IT_OCP_SWOUT 0>;
159 interrupt-parent = <&pmic>;
160 regulator-active-discharge = <1>;
165 compatible = "st,stpmic1-onkey";
166 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
167 interrupt-names = "onkey-falling", "onkey-rising";
172 compatible = "st,stpmic1-wdt";
185 vdd_3v3_usbfs-supply = <&vdd_usb>;
189 pinctrl-names = "default", "sleep";
190 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a>;
191 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a>;
192 reg = <0x58003000 0x1000>, <0x70000000 0x200000>;
193 #address-cells = <1>;
197 flash0: spi-flash@0 {
198 compatible = "jedec,spi-nor";
200 spi-rx-bus-width = <4>;
201 spi-max-frequency = <108000000>;
202 #address-cells = <1>;