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>;
33 pinctrl-names = "default";
34 pinctrl-0 = <&i2c4_pins_a>;
35 i2c-scl-rising-time-ns = <185>;
36 i2c-scl-falling-time-ns = <20>;
38 /delete-property/dmas;
39 /delete-property/dma-names;
42 compatible = "st,stpmic1";
44 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
46 #interrupt-cells = <2>;
50 compatible = "st,stpmic1-regulators";
52 ldo1-supply = <&v3v3>;
53 ldo2-supply = <&v3v3>;
54 ldo3-supply = <&vdd_ddr>;
55 ldo5-supply = <&v3v3>;
56 ldo6-supply = <&v3v3>;
57 pwr_sw1-supply = <&bst_out>;
58 pwr_sw2-supply = <&bst_out>;
61 regulator-name = "vddcore";
62 regulator-min-microvolt = <1200000>;
63 regulator-max-microvolt = <1350000>;
65 regulator-initial-mode = <0>;
66 regulator-over-current-protection;
70 regulator-name = "vdd_ddr";
71 regulator-min-microvolt = <1350000>;
72 regulator-max-microvolt = <1350000>;
74 regulator-initial-mode = <0>;
75 regulator-over-current-protection;
79 regulator-name = "vdd";
80 regulator-min-microvolt = <2900000>;
81 regulator-max-microvolt = <2900000>;
83 regulator-initial-mode = <0>;
84 regulator-over-current-protection;
88 regulator-name = "v3v3";
89 regulator-min-microvolt = <3300000>;
90 regulator-max-microvolt = <3300000>;
92 regulator-over-current-protection;
93 regulator-initial-mode = <0>;
97 regulator-name = "vdda";
98 regulator-min-microvolt = <2900000>;
99 regulator-max-microvolt = <2900000>;
100 interrupts = <IT_CURLIM_LDO1 0>;
104 regulator-name = "v2v8";
105 regulator-min-microvolt = <2800000>;
106 regulator-max-microvolt = <2800000>;
107 interrupts = <IT_CURLIM_LDO2 0>;
111 regulator-name = "vtt_ddr";
112 regulator-min-microvolt = <500000>;
113 regulator-max-microvolt = <750000>;
115 regulator-over-current-protection;
119 regulator-name = "vdd_usb";
120 interrupts = <IT_CURLIM_LDO4 0>;
124 regulator-name = "vdd_sd";
125 regulator-min-microvolt = <2900000>;
126 regulator-max-microvolt = <2900000>;
127 interrupts = <IT_CURLIM_LDO5 0>;
132 regulator-name = "v1v8";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
135 interrupts = <IT_CURLIM_LDO6 0>;
136 regulator-enable-ramp-delay = <300000>;
140 regulator-name = "vref_ddr";
145 regulator-name = "bst_out";
146 interrupts = <IT_OCP_BOOST 0>;
150 regulator-name = "vbus_otg";
151 interrupts = <IT_OCP_OTG 0>;
152 regulator-active-discharge = <1>;
156 regulator-name = "vbus_sw";
157 interrupts = <IT_OCP_SWOUT 0>;
158 regulator-active-discharge = <1>;
163 compatible = "st,stpmic1-onkey";
164 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
165 interrupt-names = "onkey-falling", "onkey-rising";
170 compatible = "st,stpmic1-wdt";
176 compatible = "atmel,24c02";
189 vdd_3v3_usbfs-supply = <&vdd_usb>;
193 pinctrl-names = "default", "sleep";
194 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a>;
195 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a>;
196 reg = <0x58003000 0x1000>, <0x70000000 0x200000>;
197 #address-cells = <1>;
202 compatible = "jedec,spi-nor";
204 spi-rx-bus-width = <4>;
205 spi-max-frequency = <108000000>;
206 #address-cells = <1>;