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>
8 #include "stm32mp15-pinctrl.dtsi"
9 #include "stm32mp15xxac-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/mfd/st,stpmic1.h>
19 device_type = "memory";
20 reg = <0xc0000000 0x40000000>;
25 pinctrl-names = "default";
26 pinctrl-0 = <&i2c4_pins_a>;
27 i2c-scl-rising-time-ns = <185>;
28 i2c-scl-falling-time-ns = <20>;
30 /delete-property/dmas;
31 /delete-property/dma-names;
34 compatible = "st,stpmic1";
36 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
38 #interrupt-cells = <2>;
42 compatible = "st,stpmic1-regulators";
44 ldo1-supply = <&v3v3>;
45 ldo2-supply = <&v3v3>;
46 ldo3-supply = <&vdd_ddr>;
47 ldo5-supply = <&v3v3>;
48 ldo6-supply = <&v3v3>;
49 pwr_sw1-supply = <&bst_out>;
50 pwr_sw2-supply = <&bst_out>;
53 regulator-name = "vddcore";
54 regulator-min-microvolt = <1200000>;
55 regulator-max-microvolt = <1350000>;
57 regulator-initial-mode = <0>;
58 regulator-over-current-protection;
62 regulator-name = "vdd_ddr";
63 regulator-min-microvolt = <1350000>;
64 regulator-max-microvolt = <1350000>;
66 regulator-initial-mode = <0>;
67 regulator-over-current-protection;
71 regulator-name = "vdd";
72 regulator-min-microvolt = <2900000>;
73 regulator-max-microvolt = <2900000>;
75 regulator-initial-mode = <0>;
76 regulator-over-current-protection;
80 regulator-name = "v3v3";
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
84 regulator-over-current-protection;
85 regulator-initial-mode = <0>;
89 regulator-name = "vdda";
90 regulator-min-microvolt = <2900000>;
91 regulator-max-microvolt = <2900000>;
92 interrupts = <IT_CURLIM_LDO1 0>;
96 regulator-name = "v2v8";
97 regulator-min-microvolt = <2800000>;
98 regulator-max-microvolt = <2800000>;
99 interrupts = <IT_CURLIM_LDO2 0>;
103 regulator-name = "vtt_ddr";
104 regulator-min-microvolt = <500000>;
105 regulator-max-microvolt = <750000>;
107 regulator-over-current-protection;
111 regulator-name = "vdd_usb";
112 interrupts = <IT_CURLIM_LDO4 0>;
116 regulator-name = "vdd_sd";
117 regulator-min-microvolt = <2900000>;
118 regulator-max-microvolt = <2900000>;
119 interrupts = <IT_CURLIM_LDO5 0>;
124 regulator-name = "v1v8";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
127 interrupts = <IT_CURLIM_LDO6 0>;
128 regulator-enable-ramp-delay = <300000>;
132 regulator-name = "vref_ddr";
137 regulator-name = "bst_out";
138 interrupts = <IT_OCP_BOOST 0>;
142 regulator-name = "vbus_otg";
143 interrupts = <IT_OCP_OTG 0>;
144 regulator-active-discharge = <1>;
148 regulator-name = "vbus_sw";
149 interrupts = <IT_OCP_SWOUT 0>;
150 regulator-active-discharge = <1>;
155 compatible = "st,stpmic1-onkey";
156 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
157 interrupt-names = "onkey-falling", "onkey-rising";
162 compatible = "st,stpmic1-wdt";
168 compatible = "atmel,24c02";
181 vdd_3v3_usbfs-supply = <&vdd_usb>;
185 pinctrl-names = "default", "sleep";
186 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a>;
187 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a>;
188 reg = <0x58003000 0x1000>, <0x70000000 0x200000>;
189 #address-cells = <1>;
193 flash0: spi-flash@0 {
194 compatible = "jedec,spi-nor";
196 spi-rx-bus-width = <4>;
197 spi-max-frequency = <108000000>;
198 #address-cells = <1>;