Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2019 - All Rights Reserved |
| 4 | * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics. |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "stm32mp157c.dtsi" |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 10 | #include "stm32mp157xac-pinctrl.dtsi" |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 11 | #include <dt-bindings/gpio/gpio.h> |
| 12 | #include <dt-bindings/mfd/st,stpmic1.h> |
| 13 | |
| 14 | / { |
| 15 | model = "STMicroelectronics STM32MP157A-DK1 Discovery Board"; |
| 16 | compatible = "st,stm32mp157a-dk1", "st,stm32mp157"; |
| 17 | |
| 18 | aliases { |
| 19 | ethernet0 = ðernet0; |
| 20 | serial0 = &uart4; |
| 21 | }; |
| 22 | |
| 23 | chosen { |
| 24 | stdout-path = "serial0:115200n8"; |
| 25 | }; |
| 26 | |
| 27 | memory@c0000000 { |
| 28 | reg = <0xc0000000 0x20000000>; |
| 29 | }; |
| 30 | |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 31 | reserved-memory { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <1>; |
| 34 | ranges; |
| 35 | |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame^] | 36 | mcuram2: mcuram2@10000000 { |
| 37 | compatible = "shared-dma-pool"; |
| 38 | reg = <0x10000000 0x40000>; |
| 39 | no-map; |
| 40 | }; |
| 41 | |
| 42 | vdev0vring0: vdev0vring0@10040000 { |
| 43 | compatible = "shared-dma-pool"; |
| 44 | reg = <0x10040000 0x1000>; |
| 45 | no-map; |
| 46 | }; |
| 47 | |
| 48 | vdev0vring1: vdev0vring1@10041000 { |
| 49 | compatible = "shared-dma-pool"; |
| 50 | reg = <0x10041000 0x1000>; |
| 51 | no-map; |
| 52 | }; |
| 53 | |
| 54 | vdev0buffer: vdev0buffer@10042000 { |
| 55 | compatible = "shared-dma-pool"; |
| 56 | reg = <0x10042000 0x4000>; |
| 57 | no-map; |
| 58 | }; |
| 59 | |
| 60 | mcuram: mcuram@30000000 { |
| 61 | compatible = "shared-dma-pool"; |
| 62 | reg = <0x30000000 0x40000>; |
| 63 | no-map; |
| 64 | }; |
| 65 | |
| 66 | retram: retram@38000000 { |
| 67 | compatible = "shared-dma-pool"; |
| 68 | reg = <0x38000000 0x10000>; |
| 69 | no-map; |
| 70 | }; |
| 71 | |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 72 | gpu_reserved: gpu@d4000000 { |
| 73 | reg = <0xd4000000 0x4000000>; |
| 74 | no-map; |
| 75 | }; |
| 76 | }; |
| 77 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 78 | led { |
| 79 | compatible = "gpio-leds"; |
| 80 | blue { |
| 81 | label = "heartbeat"; |
| 82 | gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; |
| 83 | linux,default-trigger = "heartbeat"; |
| 84 | default-state = "off"; |
| 85 | }; |
| 86 | }; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame^] | 87 | |
| 88 | sound { |
| 89 | compatible = "audio-graph-card"; |
| 90 | label = "STM32MP1-DK"; |
| 91 | routing = |
| 92 | "Playback" , "MCLK", |
| 93 | "Capture" , "MCLK", |
| 94 | "MICL" , "Mic Bias"; |
| 95 | dais = <&sai2a_port &sai2b_port>; |
| 96 | status = "okay"; |
| 97 | }; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 98 | }; |
| 99 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 100 | &cec { |
| 101 | pinctrl-names = "default", "sleep"; |
| 102 | pinctrl-0 = <&cec_pins_b>; |
| 103 | pinctrl-1 = <&cec_pins_sleep_b>; |
| 104 | status = "okay"; |
| 105 | }; |
| 106 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 107 | ðernet0 { |
| 108 | status = "okay"; |
| 109 | pinctrl-0 = <ðernet0_rgmii_pins_a>; |
| 110 | pinctrl-1 = <ðernet0_rgmii_pins_sleep_a>; |
| 111 | pinctrl-names = "default", "sleep"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 112 | phy-mode = "rgmii-id"; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 113 | max-speed = <1000>; |
| 114 | phy-handle = <&phy0>; |
| 115 | |
| 116 | mdio0 { |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <0>; |
| 119 | compatible = "snps,dwmac-mdio"; |
| 120 | phy0: ethernet-phy@0 { |
| 121 | reg = <0>; |
| 122 | }; |
| 123 | }; |
| 124 | }; |
| 125 | |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 126 | &gpu { |
| 127 | contiguous-area = <&gpu_reserved>; |
| 128 | status = "okay"; |
| 129 | }; |
| 130 | |
| 131 | &i2c1 { |
| 132 | pinctrl-names = "default", "sleep"; |
| 133 | pinctrl-0 = <&i2c1_pins_a>; |
| 134 | pinctrl-1 = <&i2c1_pins_sleep_a>; |
| 135 | i2c-scl-rising-time-ns = <100>; |
| 136 | i2c-scl-falling-time-ns = <7>; |
| 137 | status = "okay"; |
| 138 | /delete-property/dmas; |
| 139 | /delete-property/dma-names; |
| 140 | |
| 141 | hdmi-transmitter@39 { |
| 142 | compatible = "sil,sii9022"; |
| 143 | reg = <0x39>; |
| 144 | iovcc-supply = <&v3v3_hdmi>; |
| 145 | cvcc12-supply = <&v1v2_hdmi>; |
| 146 | reset-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>; |
| 147 | interrupts = <1 IRQ_TYPE_EDGE_FALLING>; |
| 148 | interrupt-parent = <&gpiog>; |
| 149 | pinctrl-names = "default", "sleep"; |
| 150 | pinctrl-0 = <<dc_pins_a>; |
| 151 | pinctrl-1 = <<dc_pins_sleep_a>; |
| 152 | status = "okay"; |
| 153 | |
| 154 | ports { |
| 155 | #address-cells = <1>; |
| 156 | #size-cells = <0>; |
| 157 | |
| 158 | port@0 { |
| 159 | reg = <0>; |
| 160 | sii9022_in: endpoint { |
| 161 | remote-endpoint = <<dc_ep0_out>; |
| 162 | }; |
| 163 | }; |
| 164 | }; |
| 165 | }; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame^] | 166 | |
| 167 | cs42l51: cs42l51@4a { |
| 168 | compatible = "cirrus,cs42l51"; |
| 169 | reg = <0x4a>; |
| 170 | #sound-dai-cells = <0>; |
| 171 | VL-supply = <&v3v3>; |
| 172 | VD-supply = <&v1v8_audio>; |
| 173 | VA-supply = <&v1v8_audio>; |
| 174 | VAHP-supply = <&v1v8_audio>; |
| 175 | reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; |
| 176 | clocks = <&sai2a>; |
| 177 | clock-names = "MCLK"; |
| 178 | status = "okay"; |
| 179 | |
| 180 | cs42l51_port: port { |
| 181 | #address-cells = <1>; |
| 182 | #size-cells = <0>; |
| 183 | |
| 184 | cs42l51_tx_endpoint: endpoint@0 { |
| 185 | reg = <0>; |
| 186 | remote-endpoint = <&sai2a_endpoint>; |
| 187 | frame-master; |
| 188 | bitclock-master; |
| 189 | }; |
| 190 | |
| 191 | cs42l51_rx_endpoint: endpoint@1 { |
| 192 | reg = <1>; |
| 193 | remote-endpoint = <&sai2b_endpoint>; |
| 194 | frame-master; |
| 195 | bitclock-master; |
| 196 | }; |
| 197 | }; |
| 198 | }; |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 199 | }; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 200 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 201 | &i2c4 { |
| 202 | pinctrl-names = "default"; |
| 203 | pinctrl-0 = <&i2c4_pins_a>; |
| 204 | i2c-scl-rising-time-ns = <185>; |
| 205 | i2c-scl-falling-time-ns = <20>; |
| 206 | status = "okay"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 207 | /* spare dmas for other usage */ |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 208 | /delete-property/dmas; |
| 209 | /delete-property/dma-names; |
| 210 | |
Patrick Delaunay | 7f3384d | 2019-03-29 15:42:24 +0100 | [diff] [blame] | 211 | typec: stusb1600@28 { |
| 212 | compatible = "st,stusb1600"; |
| 213 | reg = <0x28>; |
| 214 | interrupts = <11 IRQ_TYPE_EDGE_FALLING>; |
| 215 | interrupt-parent = <&gpioi>; |
| 216 | pinctrl-names = "default"; |
| 217 | pinctrl-0 = <&stusb1600_pins_a>; |
| 218 | |
| 219 | status = "okay"; |
| 220 | |
| 221 | typec_con: connector { |
| 222 | compatible = "usb-c-connector"; |
| 223 | label = "USB-C"; |
| 224 | power-role = "sink"; |
| 225 | power-opmode = "default"; |
| 226 | }; |
| 227 | }; |
| 228 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 229 | pmic: stpmic@33 { |
| 230 | compatible = "st,stpmic1"; |
| 231 | reg = <0x33>; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 232 | interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 233 | interrupt-controller; |
| 234 | #interrupt-cells = <2>; |
| 235 | status = "okay"; |
| 236 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 237 | regulators { |
| 238 | compatible = "st,stpmic1-regulators"; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 239 | ldo1-supply = <&v3v3>; |
| 240 | ldo3-supply = <&vdd_ddr>; |
| 241 | ldo6-supply = <&v3v3>; |
| 242 | pwr_sw1-supply = <&bst_out>; |
| 243 | pwr_sw2-supply = <&bst_out>; |
| 244 | |
| 245 | vddcore: buck1 { |
| 246 | regulator-name = "vddcore"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 247 | regulator-min-microvolt = <800000>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 248 | regulator-max-microvolt = <1350000>; |
| 249 | regulator-always-on; |
| 250 | regulator-initial-mode = <0>; |
| 251 | regulator-over-current-protection; |
| 252 | }; |
| 253 | |
| 254 | vdd_ddr: buck2 { |
| 255 | regulator-name = "vdd_ddr"; |
| 256 | regulator-min-microvolt = <1350000>; |
| 257 | regulator-max-microvolt = <1350000>; |
| 258 | regulator-always-on; |
| 259 | regulator-initial-mode = <0>; |
| 260 | regulator-over-current-protection; |
| 261 | }; |
| 262 | |
| 263 | vdd: buck3 { |
| 264 | regulator-name = "vdd"; |
| 265 | regulator-min-microvolt = <3300000>; |
| 266 | regulator-max-microvolt = <3300000>; |
| 267 | regulator-always-on; |
| 268 | st,mask-reset; |
| 269 | regulator-initial-mode = <0>; |
| 270 | regulator-over-current-protection; |
| 271 | }; |
| 272 | |
| 273 | v3v3: buck4 { |
| 274 | regulator-name = "v3v3"; |
| 275 | regulator-min-microvolt = <3300000>; |
| 276 | regulator-max-microvolt = <3300000>; |
| 277 | regulator-always-on; |
| 278 | regulator-over-current-protection; |
| 279 | regulator-initial-mode = <0>; |
| 280 | }; |
| 281 | |
| 282 | v1v8_audio: ldo1 { |
| 283 | regulator-name = "v1v8_audio"; |
| 284 | regulator-min-microvolt = <1800000>; |
| 285 | regulator-max-microvolt = <1800000>; |
| 286 | regulator-always-on; |
| 287 | interrupts = <IT_CURLIM_LDO1 0>; |
| 288 | }; |
| 289 | |
| 290 | v3v3_hdmi: ldo2 { |
| 291 | regulator-name = "v3v3_hdmi"; |
| 292 | regulator-min-microvolt = <3300000>; |
| 293 | regulator-max-microvolt = <3300000>; |
| 294 | regulator-always-on; |
| 295 | interrupts = <IT_CURLIM_LDO2 0>; |
| 296 | }; |
| 297 | |
| 298 | vtt_ddr: ldo3 { |
| 299 | regulator-name = "vtt_ddr"; |
| 300 | regulator-min-microvolt = <500000>; |
| 301 | regulator-max-microvolt = <750000>; |
| 302 | regulator-always-on; |
| 303 | regulator-over-current-protection; |
| 304 | }; |
| 305 | |
| 306 | vdd_usb: ldo4 { |
| 307 | regulator-name = "vdd_usb"; |
| 308 | regulator-min-microvolt = <3300000>; |
| 309 | regulator-max-microvolt = <3300000>; |
| 310 | interrupts = <IT_CURLIM_LDO4 0>; |
| 311 | }; |
| 312 | |
| 313 | vdda: ldo5 { |
| 314 | regulator-name = "vdda"; |
| 315 | regulator-min-microvolt = <2900000>; |
| 316 | regulator-max-microvolt = <2900000>; |
| 317 | interrupts = <IT_CURLIM_LDO5 0>; |
| 318 | regulator-boot-on; |
| 319 | }; |
| 320 | |
| 321 | v1v2_hdmi: ldo6 { |
| 322 | regulator-name = "v1v2_hdmi"; |
| 323 | regulator-min-microvolt = <1200000>; |
| 324 | regulator-max-microvolt = <1200000>; |
| 325 | regulator-always-on; |
| 326 | interrupts = <IT_CURLIM_LDO6 0>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 327 | }; |
| 328 | |
| 329 | vref_ddr: vref_ddr { |
| 330 | regulator-name = "vref_ddr"; |
| 331 | regulator-always-on; |
| 332 | regulator-over-current-protection; |
| 333 | }; |
| 334 | |
| 335 | bst_out: boost { |
| 336 | regulator-name = "bst_out"; |
| 337 | interrupts = <IT_OCP_BOOST 0>; |
| 338 | }; |
| 339 | |
| 340 | vbus_otg: pwr_sw1 { |
| 341 | regulator-name = "vbus_otg"; |
| 342 | interrupts = <IT_OCP_OTG 0>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 343 | }; |
| 344 | |
| 345 | vbus_sw: pwr_sw2 { |
| 346 | regulator-name = "vbus_sw"; |
| 347 | interrupts = <IT_OCP_SWOUT 0>; |
| 348 | regulator-active-discharge; |
| 349 | }; |
| 350 | }; |
| 351 | |
| 352 | onkey { |
| 353 | compatible = "st,stpmic1-onkey"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 354 | interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 355 | interrupt-names = "onkey-falling", "onkey-rising"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 356 | power-off-time-sec = <10>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 357 | status = "okay"; |
| 358 | }; |
| 359 | |
| 360 | watchdog { |
| 361 | compatible = "st,stpmic1-wdt"; |
| 362 | status = "disabled"; |
| 363 | }; |
| 364 | }; |
| 365 | }; |
| 366 | |
Fabien Dessenne | c2a97d3 | 2019-05-14 11:20:37 +0200 | [diff] [blame] | 367 | &ipcc { |
| 368 | status = "okay"; |
| 369 | }; |
| 370 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 371 | &iwdg2 { |
| 372 | timeout-sec = <32>; |
| 373 | status = "okay"; |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 374 | }; |
| 375 | |
| 376 | <dc { |
| 377 | status = "okay"; |
| 378 | |
| 379 | port { |
| 380 | #address-cells = <1>; |
| 381 | #size-cells = <0>; |
| 382 | |
| 383 | ltdc_ep0_out: endpoint@0 { |
| 384 | reg = <0>; |
| 385 | remote-endpoint = <&sii9022_in>; |
| 386 | }; |
| 387 | }; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 388 | }; |
| 389 | |
Patrick Delaunay | 26c24b4 | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 390 | &m4_rproc { |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame^] | 391 | memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, |
| 392 | <&vdev0vring1>, <&vdev0buffer>; |
Patrick Delaunay | 26c24b4 | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 393 | mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; |
| 394 | mbox-names = "vq0", "vq1", "shutdown"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame^] | 395 | interrupt-parent = <&exti>; |
| 396 | interrupts = <68 1>; |
Patrick Delaunay | 26c24b4 | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 397 | status = "okay"; |
| 398 | }; |
| 399 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 400 | &pwr { |
Patrick Delaunay | 6b2baa0 | 2019-07-30 19:16:42 +0200 | [diff] [blame] | 401 | pwr-regulators { |
| 402 | vdd-supply = <&vdd>; |
| 403 | vdd_3v3_usbfs-supply = <&vdd_usb>; |
| 404 | }; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 405 | }; |
| 406 | |
| 407 | &rng1 { |
| 408 | status = "okay"; |
| 409 | }; |
| 410 | |
| 411 | &rtc { |
| 412 | status = "okay"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame^] | 413 | }; |
| 414 | |
| 415 | &sai2 { |
| 416 | clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>; |
| 417 | clock-names = "pclk", "x8k", "x11k"; |
| 418 | pinctrl-names = "default", "sleep"; |
| 419 | pinctrl-0 = <&sai2a_pins_a>, <&sai2b_pins_b>; |
| 420 | pinctrl-1 = <&sai2a_sleep_pins_a>, <&sai2b_sleep_pins_b>; |
| 421 | status = "okay"; |
| 422 | |
| 423 | sai2a: audio-controller@4400b004 { |
| 424 | #clock-cells = <0>; |
| 425 | dma-names = "tx"; |
| 426 | clocks = <&rcc SAI2_K>; |
| 427 | clock-names = "sai_ck"; |
| 428 | status = "okay"; |
| 429 | |
| 430 | sai2a_port: port { |
| 431 | sai2a_endpoint: endpoint { |
| 432 | remote-endpoint = <&cs42l51_tx_endpoint>; |
| 433 | format = "i2s"; |
| 434 | mclk-fs = <256>; |
| 435 | dai-tdm-slot-num = <2>; |
| 436 | dai-tdm-slot-width = <32>; |
| 437 | }; |
| 438 | }; |
| 439 | }; |
| 440 | |
| 441 | sai2b: audio-controller@4400b024 { |
| 442 | dma-names = "rx"; |
| 443 | st,sync = <&sai2a 2>; |
| 444 | clocks = <&rcc SAI2_K>, <&sai2a>; |
| 445 | clock-names = "sai_ck", "MCLK"; |
| 446 | status = "okay"; |
| 447 | |
| 448 | sai2b_port: port { |
| 449 | sai2b_endpoint: endpoint { |
| 450 | remote-endpoint = <&cs42l51_rx_endpoint>; |
| 451 | format = "i2s"; |
| 452 | mclk-fs = <256>; |
| 453 | dai-tdm-slot-num = <2>; |
| 454 | dai-tdm-slot-width = <32>; |
| 455 | }; |
| 456 | }; |
| 457 | }; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 458 | }; |
| 459 | |
| 460 | &sdmmc1 { |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 461 | pinctrl-names = "default", "opendrain", "sleep"; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 462 | pinctrl-0 = <&sdmmc1_b4_pins_a>; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 463 | pinctrl-1 = <&sdmmc1_b4_od_pins_a>; |
| 464 | pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 465 | broken-cd; |
| 466 | st,neg-edge; |
| 467 | bus-width = <4>; |
| 468 | vmmc-supply = <&v3v3>; |
| 469 | status = "okay"; |
| 470 | }; |
| 471 | |
| 472 | &uart4 { |
| 473 | pinctrl-names = "default"; |
| 474 | pinctrl-0 = <&uart4_pins_a>; |
| 475 | status = "okay"; |
| 476 | }; |
| 477 | |
| 478 | &usbh_ehci { |
| 479 | phys = <&usbphyc_port0>; |
| 480 | phy-names = "usb"; |
| 481 | status = "okay"; |
| 482 | }; |
| 483 | |
Patrick Delaunay | 58bc0cd | 2019-03-29 15:42:23 +0100 | [diff] [blame] | 484 | &usbotg_hs { |
| 485 | dr_mode = "peripheral"; |
| 486 | phys = <&usbphyc_port1 0>; |
| 487 | phy-names = "usb2-phy"; |
| 488 | status = "okay"; |
| 489 | }; |
| 490 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 491 | &usbphyc { |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 492 | status = "okay"; |
| 493 | }; |
| 494 | |
Patrick Delaunay | 58bc0cd | 2019-03-29 15:42:23 +0100 | [diff] [blame] | 495 | &usbphyc_port0 { |
| 496 | phy-supply = <&vdd_usb>; |
| 497 | }; |
| 498 | |
| 499 | &usbphyc_port1 { |
| 500 | phy-supply = <&vdd_usb>; |
| 501 | }; |
| 502 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 503 | &vrefbuf { |
| 504 | regulator-min-microvolt = <2500000>; |
| 505 | regulator-max-microvolt = <2500000>; |
| 506 | vdda-supply = <&vdd>; |
| 507 | status = "okay"; |
| 508 | }; |