~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/st/stm32mp157c-odyssey-som.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/st/stm32mp157c-odyssey-som.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/st/stm32mp157c-odyssey-som.dtsi (Architecture alpha)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3      1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
  2 /*                                                  2 /*
  3  * Copyright (C) 2020 Marcin Sloniewski <marcin      3  * Copyright (C) 2020 Marcin Sloniewski <marcin.sloniewski@gmail.com>.
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include "stm32mp157.dtsi"                          8 #include "stm32mp157.dtsi"
  9 #include "stm32mp15xc.dtsi"                         9 #include "stm32mp15xc.dtsi"
 10 #include "stm32mp15-pinctrl.dtsi"                  10 #include "stm32mp15-pinctrl.dtsi"
 11 #include "stm32mp15xxac-pinctrl.dtsi"              11 #include "stm32mp15xxac-pinctrl.dtsi"
 12 #include <dt-bindings/gpio/gpio.h>                 12 #include <dt-bindings/gpio/gpio.h>
 13 #include <dt-bindings/leds/common.h>               13 #include <dt-bindings/leds/common.h>
 14 #include <dt-bindings/mfd/st,stpmic1.h>            14 #include <dt-bindings/mfd/st,stpmic1.h>
 15                                                    15 
 16 / {                                                16 / {
 17         model = "Seeed Studio Odyssey-STM32MP1     17         model = "Seeed Studio Odyssey-STM32MP157C SOM";
 18         compatible = "seeed,stm32mp157c-odysse     18         compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157";
 19                                                    19 
 20         memory@c0000000 {                          20         memory@c0000000 {
 21                 device_type = "memory";            21                 device_type = "memory";
 22                 reg = <0xc0000000 0x20000000>;     22                 reg = <0xc0000000 0x20000000>;
 23         };                                         23         };
 24                                                    24 
 25         reserved-memory {                          25         reserved-memory {
 26                 #address-cells = <1>;              26                 #address-cells = <1>;
 27                 #size-cells = <1>;                 27                 #size-cells = <1>;
 28                 ranges;                            28                 ranges;
 29                                                    29 
 30                 mcuram2: mcuram2@10000000 {        30                 mcuram2: mcuram2@10000000 {
 31                         compatible = "shared-d     31                         compatible = "shared-dma-pool";
 32                         reg = <0x10000000 0x40     32                         reg = <0x10000000 0x40000>;
 33                         no-map;                    33                         no-map;
 34                 };                                 34                 };
 35                                                    35 
 36                 vdev0vring0: vdev0vring0@10040     36                 vdev0vring0: vdev0vring0@10040000 {
 37                         compatible = "shared-d     37                         compatible = "shared-dma-pool";
 38                         reg = <0x10040000 0x10     38                         reg = <0x10040000 0x1000>;
 39                         no-map;                    39                         no-map;
 40                 };                                 40                 };
 41                                                    41 
 42                 vdev0vring1: vdev0vring1@10041     42                 vdev0vring1: vdev0vring1@10041000 {
 43                         compatible = "shared-d     43                         compatible = "shared-dma-pool";
 44                         reg = <0x10041000 0x10     44                         reg = <0x10041000 0x1000>;
 45                         no-map;                    45                         no-map;
 46                 };                                 46                 };
 47                                                    47 
 48                 vdev0buffer: vdev0buffer@10042     48                 vdev0buffer: vdev0buffer@10042000 {
 49                         compatible = "shared-d     49                         compatible = "shared-dma-pool";
 50                         reg = <0x10042000 0x40     50                         reg = <0x10042000 0x4000>;
 51                         no-map;                    51                         no-map;
 52                 };                                 52                 };
 53                                                    53 
 54                 mcuram: mcuram@30000000 {          54                 mcuram: mcuram@30000000 {
 55                         compatible = "shared-d     55                         compatible = "shared-dma-pool";
 56                         reg = <0x30000000 0x40     56                         reg = <0x30000000 0x40000>;
 57                         no-map;                    57                         no-map;
 58                 };                                 58                 };
 59                                                    59 
 60                 retram: retram@38000000 {          60                 retram: retram@38000000 {
 61                         compatible = "shared-d     61                         compatible = "shared-dma-pool";
 62                         reg = <0x38000000 0x10     62                         reg = <0x38000000 0x10000>;
 63                         no-map;                    63                         no-map;
 64                 };                                 64                 };
 65         };                                         65         };
 66                                                    66 
 67         led {                                      67         led {
 68                 compatible = "gpio-leds";          68                 compatible = "gpio-leds";
 69                 led-blue {                         69                 led-blue {
 70                         color = <LED_COLOR_ID_     70                         color = <LED_COLOR_ID_BLUE>;
 71                         function = LED_FUNCTIO     71                         function = LED_FUNCTION_HEARTBEAT;
 72                         gpios = <&gpiog 3 GPIO     72                         gpios = <&gpiog 3 GPIO_ACTIVE_HIGH>;
 73                         linux,default-trigger      73                         linux,default-trigger = "heartbeat";
 74                 };                                 74                 };
 75         };                                         75         };
 76 };                                                 76 };
 77                                                    77 
 78 &i2c2 {                                            78 &i2c2 {
 79         pinctrl-names = "default";                 79         pinctrl-names = "default";
 80         pinctrl-0 = <&i2c2_pins_a>;                80         pinctrl-0 = <&i2c2_pins_a>;
 81         i2c-scl-rising-time-ns = <185>;            81         i2c-scl-rising-time-ns = <185>;
 82         i2c-scl-falling-time-ns = <20>;            82         i2c-scl-falling-time-ns = <20>;
 83         status = "okay";                           83         status = "okay";
 84         /* spare dmas for other usage */           84         /* spare dmas for other usage */
 85         /delete-property/dmas;                     85         /delete-property/dmas;
 86         /delete-property/dma-names;                86         /delete-property/dma-names;
 87                                                    87 
 88         pmic: stpmic@33 {                          88         pmic: stpmic@33 {
 89                 compatible = "st,stpmic1";         89                 compatible = "st,stpmic1";
 90                 reg = <0x33>;                      90                 reg = <0x33>;
 91                 interrupts-extended = <&gpioa      91                 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
 92                 interrupt-controller;              92                 interrupt-controller;
 93                 #interrupt-cells = <2>;            93                 #interrupt-cells = <2>;
 94                                                    94 
 95                 regulators {                       95                 regulators {
 96                         compatible = "st,stpmi     96                         compatible = "st,stpmic1-regulators";
 97                         ldo1-supply = <&v3v3>;     97                         ldo1-supply = <&v3v3>;
 98                         ldo3-supply = <&vdd_dd     98                         ldo3-supply = <&vdd_ddr>;
 99                         ldo6-supply = <&v3v3>;     99                         ldo6-supply = <&v3v3>;
100                         pwr_sw1-supply = <&bst    100                         pwr_sw1-supply = <&bst_out>;
101                         pwr_sw2-supply = <&bst    101                         pwr_sw2-supply = <&bst_out>;
102                                                   102 
103                         vddcore: buck1 {          103                         vddcore: buck1 {
104                                 regulator-name    104                                 regulator-name = "vddcore";
105                                 regulator-min-    105                                 regulator-min-microvolt = <800000>;
106                                 regulator-max-    106                                 regulator-max-microvolt = <1350000>;
107                                 regulator-alwa    107                                 regulator-always-on;
108                                 regulator-init    108                                 regulator-initial-mode = <0>;
109                                 regulator-over    109                                 regulator-over-current-protection;
110                         };                        110                         };
111                                                   111 
112                         vdd_ddr: buck2 {          112                         vdd_ddr: buck2 {
113                                 regulator-name    113                                 regulator-name = "vdd_ddr";
114                                 regulator-min-    114                                 regulator-min-microvolt = <1350000>;
115                                 regulator-max-    115                                 regulator-max-microvolt = <1350000>;
116                                 regulator-alwa    116                                 regulator-always-on;
117                                 regulator-init    117                                 regulator-initial-mode = <0>;
118                                 regulator-over    118                                 regulator-over-current-protection;
119                         };                        119                         };
120                                                   120 
121                         vdd: buck3 {              121                         vdd: buck3 {
122                                 regulator-name    122                                 regulator-name = "vdd";
123                                 regulator-min-    123                                 regulator-min-microvolt = <3300000>;
124                                 regulator-max-    124                                 regulator-max-microvolt = <3300000>;
125                                 regulator-alwa    125                                 regulator-always-on;
126                                 st,mask-reset;    126                                 st,mask-reset;
127                                 regulator-init    127                                 regulator-initial-mode = <0>;
128                                 regulator-over    128                                 regulator-over-current-protection;
129                         };                        129                         };
130                                                   130 
131                         v3v3: buck4 {             131                         v3v3: buck4 {
132                                 regulator-name    132                                 regulator-name = "v3v3";
133                                 regulator-min-    133                                 regulator-min-microvolt = <3300000>;
134                                 regulator-max-    134                                 regulator-max-microvolt = <3300000>;
135                                 regulator-alwa    135                                 regulator-always-on;
136                                 regulator-over    136                                 regulator-over-current-protection;
137                                 regulator-init    137                                 regulator-initial-mode = <0>;
138                         };                        138                         };
139                                                   139 
140                         v1v8_audio: ldo1 {        140                         v1v8_audio: ldo1 {
141                                 regulator-name    141                                 regulator-name = "v1v8_audio";
142                                 regulator-min-    142                                 regulator-min-microvolt = <1800000>;
143                                 regulator-max-    143                                 regulator-max-microvolt = <1800000>;
144                                 regulator-alwa    144                                 regulator-always-on;
145                                 interrupts = <    145                                 interrupts = <IT_CURLIM_LDO1 0>;
146                         };                        146                         };
147                                                   147 
148                         v3v3_hdmi: ldo2 {         148                         v3v3_hdmi: ldo2 {
149                                 regulator-name    149                                 regulator-name = "v3v3_hdmi";
150                                 regulator-min-    150                                 regulator-min-microvolt = <3300000>;
151                                 regulator-max-    151                                 regulator-max-microvolt = <3300000>;
152                                 regulator-alwa    152                                 regulator-always-on;
153                                 interrupts = <    153                                 interrupts = <IT_CURLIM_LDO2 0>;
154                         };                        154                         };
155                                                   155 
156                         vtt_ddr: ldo3 {           156                         vtt_ddr: ldo3 {
157                                 regulator-name    157                                 regulator-name = "vtt_ddr";
158                                 regulator-min-    158                                 regulator-min-microvolt = <500000>;
159                                 regulator-max-    159                                 regulator-max-microvolt = <750000>;
160                                 regulator-alwa    160                                 regulator-always-on;
161                                 regulator-over    161                                 regulator-over-current-protection;
162                         };                        162                         };
163                                                   163 
164                         vdd_usb: ldo4 {           164                         vdd_usb: ldo4 {
165                                 regulator-name    165                                 regulator-name = "vdd_usb";
166                                 interrupts = <    166                                 interrupts = <IT_CURLIM_LDO4 0>;
167                         };                        167                         };
168                                                   168 
169                         vdda: ldo5 {              169                         vdda: ldo5 {
170                                 regulator-name    170                                 regulator-name = "vdda";
171                                 regulator-min-    171                                 regulator-min-microvolt = <2900000>;
172                                 regulator-max-    172                                 regulator-max-microvolt = <2900000>;
173                                 interrupts = <    173                                 interrupts = <IT_CURLIM_LDO5 0>;
174                                 regulator-boot    174                                 regulator-boot-on;
175                         };                        175                         };
176                                                   176 
177                         v1v2_hdmi: ldo6 {         177                         v1v2_hdmi: ldo6 {
178                                 regulator-name    178                                 regulator-name = "v1v2_hdmi";
179                                 regulator-min-    179                                 regulator-min-microvolt = <1200000>;
180                                 regulator-max-    180                                 regulator-max-microvolt = <1200000>;
181                                 regulator-alwa    181                                 regulator-always-on;
182                                 interrupts = <    182                                 interrupts = <IT_CURLIM_LDO6 0>;
183                         };                        183                         };
184                                                   184 
185                         vref_ddr: vref_ddr {      185                         vref_ddr: vref_ddr {
186                                 regulator-name    186                                 regulator-name = "vref_ddr";
187                                 regulator-alwa    187                                 regulator-always-on;
188                         };                        188                         };
189                                                   189 
190                          bst_out: boost {         190                          bst_out: boost {
191                                 regulator-name    191                                 regulator-name = "bst_out";
192                                 interrupts = <    192                                 interrupts = <IT_OCP_BOOST 0>;
193                          };                       193                          };
194                                                   194 
195                         vbus_otg: pwr_sw1 {       195                         vbus_otg: pwr_sw1 {
196                                 regulator-name    196                                 regulator-name = "vbus_otg";
197                                 interrupts = <    197                                 interrupts = <IT_OCP_OTG 0>;
198                          };                       198                          };
199                                                   199 
200                          vbus_sw: pwr_sw2 {       200                          vbus_sw: pwr_sw2 {
201                                 regulator-name    201                                 regulator-name = "vbus_sw";
202                                 interrupts = <    202                                 interrupts = <IT_OCP_SWOUT 0>;
203                                 regulator-acti    203                                 regulator-active-discharge = <1>;
204                          };                       204                          };
205                 };                                205                 };
206                                                   206 
207                 onkey {                           207                 onkey {
208                         compatible = "st,stpmi    208                         compatible = "st,stpmic1-onkey";
209                         interrupts = <IT_PONKE    209                         interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
210                         interrupt-names = "onk    210                         interrupt-names = "onkey-falling", "onkey-rising";
211                         power-off-time-sec = <    211                         power-off-time-sec = <10>;
212                 };                                212                 };
213                                                   213 
214                 watchdog {                        214                 watchdog {
215                         compatible = "st,stpmi    215                         compatible = "st,stpmic1-wdt";
216                         status = "disabled";      216                         status = "disabled";
217                 };                                217                 };
218         };                                        218         };
219 };                                                219 };
220                                                   220 
221 &ipcc {                                           221 &ipcc {
222         status = "okay";                          222         status = "okay";
223 };                                                223 };
224                                                   224 
225 &iwdg2 {                                          225 &iwdg2 {
226         timeout-sec = <32>;                       226         timeout-sec = <32>;
227         status = "okay";                          227         status = "okay";
228 };                                                228 };
229                                                   229 
230 &m4_rproc {                                       230 &m4_rproc {
231         memory-region = <&retram>, <&mcuram>,     231         memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
232                         <&vdev0vring1>, <&vdev    232                         <&vdev0vring1>, <&vdev0buffer>;
233         mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc     233         mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>, <&ipcc 3>;
234         mbox-names = "vq0", "vq1", "shutdown",    234         mbox-names = "vq0", "vq1", "shutdown", "detach";
235         interrupt-parent = <&exti>;               235         interrupt-parent = <&exti>;
236         interrupts = <68 1>;                      236         interrupts = <68 1>;
237         status = "okay";                          237         status = "okay";
238 };                                                238 };
239                                                   239 
240 &rng1 {                                           240 &rng1 {
241         status = "okay";                          241         status = "okay";
242 };                                                242 };
243                                                   243 
244 &rtc {                                            244 &rtc {
245         status = "okay";                          245         status = "okay";
246 };                                                246 };
247                                                   247 
248 &sdmmc2 {                                         248 &sdmmc2 {
249         pinctrl-names = "default", "opendrain"    249         pinctrl-names = "default", "opendrain", "sleep";
250         pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2    250         pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_d>;
251         pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdm    251         pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_d>;
252         pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &    252         pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_d>;
253         non-removable;                            253         non-removable;
254         no-sd;                                    254         no-sd;
255         no-sdio;                                  255         no-sdio;
256         st,neg-edge;                              256         st,neg-edge;
257         bus-width = <8>;                          257         bus-width = <8>;
258         vmmc-supply = <&v3v3>;                    258         vmmc-supply = <&v3v3>;
259         vqmmc-supply = <&vdd>;                    259         vqmmc-supply = <&vdd>;
260         mmc-ddr-3_3v;                             260         mmc-ddr-3_3v;
261         status = "okay";                          261         status = "okay";
262 };                                                262 };
263                                                   263 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php