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>;
29 pinctrl-names = "default";
30 pinctrl-0 = <&i2c4_pins_a>;
31 i2c-scl-rising-time-ns = <185>;
32 i2c-scl-falling-time-ns = <20>;
34 /delete-property/dmas;
35 /delete-property/dma-names;
38 compatible = "st,stpmic1";
40 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
42 #interrupt-cells = <2>;
46 compatible = "st,stpmic1-regulators";
48 ldo1-supply = <&v3v3>;
49 ldo2-supply = <&v3v3>;
50 ldo3-supply = <&vdd_ddr>;
51 ldo5-supply = <&v3v3>;
52 ldo6-supply = <&v3v3>;
53 pwr_sw1-supply = <&bst_out>;
54 pwr_sw2-supply = <&bst_out>;
57 regulator-name = "vddcore";
58 regulator-min-microvolt = <1200000>;
59 regulator-max-microvolt = <1350000>;
61 regulator-initial-mode = <0>;
62 regulator-over-current-protection;
66 regulator-name = "vdd_ddr";
67 regulator-min-microvolt = <1350000>;
68 regulator-max-microvolt = <1350000>;
70 regulator-initial-mode = <0>;
71 regulator-over-current-protection;
75 regulator-name = "vdd";
76 regulator-min-microvolt = <2900000>;
77 regulator-max-microvolt = <2900000>;
79 regulator-initial-mode = <0>;
80 regulator-over-current-protection;
84 regulator-name = "v3v3";
85 regulator-min-microvolt = <3300000>;
86 regulator-max-microvolt = <3300000>;
88 regulator-over-current-protection;
89 regulator-initial-mode = <0>;
93 regulator-name = "vdda";
94 regulator-min-microvolt = <2900000>;
95 regulator-max-microvolt = <2900000>;
96 interrupts = <IT_CURLIM_LDO1 0>;
100 regulator-name = "v2v8";
101 regulator-min-microvolt = <2800000>;
102 regulator-max-microvolt = <2800000>;
103 interrupts = <IT_CURLIM_LDO2 0>;
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>;
120 regulator-name = "vdd_sd";
121 regulator-min-microvolt = <2900000>;
122 regulator-max-microvolt = <2900000>;
123 interrupts = <IT_CURLIM_LDO5 0>;
128 regulator-name = "v1v8";
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <1800000>;
131 interrupts = <IT_CURLIM_LDO6 0>;
132 regulator-enable-ramp-delay = <300000>;
136 regulator-name = "vref_ddr";
141 regulator-name = "bst_out";
142 interrupts = <IT_OCP_BOOST 0>;
146 regulator-name = "vbus_otg";
147 interrupts = <IT_OCP_OTG 0>;
148 regulator-active-discharge = <1>;
152 regulator-name = "vbus_sw";
153 interrupts = <IT_OCP_SWOUT 0>;
154 regulator-active-discharge = <1>;
159 compatible = "st,stpmic1-onkey";
160 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
161 interrupt-names = "onkey-falling", "onkey-rising";
166 compatible = "st,stpmic1-wdt";
172 compatible = "atmel,24c02";
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>;