Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / stm32mp15xx-dhcor-som.dtsi
blob803eb8bc9c85c819d296ca6f59d98411cb151229
1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 /*
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>
6  */
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>
13 / {
14         aliases {
15                 spi0 = &qspi;
16         };
18         memory@c0000000 {
19                 device_type = "memory";
20                 reg = <0xc0000000 0x40000000>;
21         };
24 &dts {
25         status = "okay";
28 &i2c4 {
29         pinctrl-names = "default";
30         pinctrl-0 = <&i2c4_pins_a>;
31         i2c-scl-rising-time-ns = <185>;
32         i2c-scl-falling-time-ns = <20>;
33         status = "okay";
34         /delete-property/dmas;
35         /delete-property/dma-names;
37         pmic: stpmic@33 {
38                 compatible = "st,stpmic1";
39                 reg = <0x33>;
40                 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
41                 interrupt-controller;
42                 #interrupt-cells = <2>;
43                 status = "okay";
45                 regulators {
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>;
56                         vddcore: buck1 {
57                                 regulator-name = "vddcore";
58                                 regulator-min-microvolt = <1200000>;
59                                 regulator-max-microvolt = <1350000>;
60                                 regulator-always-on;
61                                 regulator-initial-mode = <0>;
62                                 regulator-over-current-protection;
63                         };
65                         vdd_ddr: buck2 {
66                                 regulator-name = "vdd_ddr";
67                                 regulator-min-microvolt = <1350000>;
68                                 regulator-max-microvolt = <1350000>;
69                                 regulator-always-on;
70                                 regulator-initial-mode = <0>;
71                                 regulator-over-current-protection;
72                         };
74                         vdd: buck3 {
75                                 regulator-name = "vdd";
76                                 regulator-min-microvolt = <2900000>;
77                                 regulator-max-microvolt = <2900000>;
78                                 regulator-always-on;
79                                 regulator-initial-mode = <0>;
80                                 regulator-over-current-protection;
81                         };
83                         v3v3: buck4 {
84                                 regulator-name = "v3v3";
85                                 regulator-min-microvolt = <3300000>;
86                                 regulator-max-microvolt = <3300000>;
87                                 regulator-always-on;
88                                 regulator-over-current-protection;
89                                 regulator-initial-mode = <0>;
90                         };
92                         vdda: ldo1 {
93                                 regulator-name = "vdda";
94                                 regulator-min-microvolt = <2900000>;
95                                 regulator-max-microvolt = <2900000>;
96                                 interrupts = <IT_CURLIM_LDO1 0>;
97                         };
99                         v2v8: ldo2 {
100                                 regulator-name = "v2v8";
101                                 regulator-min-microvolt = <2800000>;
102                                 regulator-max-microvolt = <2800000>;
103                                 interrupts = <IT_CURLIM_LDO2 0>;
104                         };
106                         vtt_ddr: ldo3 {
107                                 regulator-name = "vtt_ddr";
108                                 regulator-min-microvolt = <500000>;
109                                 regulator-max-microvolt = <750000>;
110                                 regulator-always-on;
111                                 regulator-over-current-protection;
112                         };
114                         vdd_usb: ldo4 {
115                                 regulator-name = "vdd_usb";
116                                 interrupts = <IT_CURLIM_LDO4 0>;
117                         };
119                         vdd_sd: ldo5 {
120                                 regulator-name = "vdd_sd";
121                                 regulator-min-microvolt = <2900000>;
122                                 regulator-max-microvolt = <2900000>;
123                                 interrupts = <IT_CURLIM_LDO5 0>;
124                                 regulator-boot-on;
125                         };
127                         v1v8: ldo6 {
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>;
133                         };
135                         vref_ddr: vref_ddr {
136                                 regulator-name = "vref_ddr";
137                                 regulator-always-on;
138                         };
140                         bst_out: boost {
141                                 regulator-name = "bst_out";
142                                 interrupts = <IT_OCP_BOOST 0>;
143                         };
145                         vbus_otg: pwr_sw1 {
146                                 regulator-name = "vbus_otg";
147                                 interrupts = <IT_OCP_OTG 0>;
148                                 regulator-active-discharge = <1>;
149                         };
151                         vbus_sw: pwr_sw2 {
152                                 regulator-name = "vbus_sw";
153                                 interrupts = <IT_OCP_SWOUT 0>;
154                                 regulator-active-discharge = <1>;
155                         };
156                 };
158                 onkey {
159                         compatible = "st,stpmic1-onkey";
160                         interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
161                         interrupt-names = "onkey-falling", "onkey-rising";
162                         status = "okay";
163                 };
165                 watchdog {
166                         compatible = "st,stpmic1-wdt";
167                         status = "disabled";
168                 };
169         };
171         eeprom@53 {
172                 compatible = "atmel,24c02";
173                 reg = <0x53>;
174                 pagesize = <16>;
175         };
178 &iwdg2 {
179         timeout-sec = <32>;
180         status = "okay";
183 &pwr_regulators {
184         vdd-supply = <&vdd>;
185         vdd_3v3_usbfs-supply = <&vdd_usb>;
188 &qspi {
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>;
194         #size-cells = <0>;
195         status = "okay";
197         flash0: spi-flash@0 {
198                 compatible = "jedec,spi-nor";
199                 reg = <0>;
200                 spi-rx-bus-width = <4>;
201                 spi-max-frequency = <108000000>;
202                 #address-cells = <1>;
203                 #size-cells = <1>;
204         };
207 &rng1 {
208         status = "okay";
211 &rtc {
212         status = "okay";