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