Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2017 - All Rights Reserved |
| 4 | * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. |
| 5 | */ |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 6 | /dts-v1/; |
| 7 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 8 | #include "stm32mp157.dtsi" |
| 9 | #include "stm32mp15xc.dtsi" |
| 10 | #include "stm32mp15-pinctrl.dtsi" |
| 11 | #include "stm32mp15xxaa-pinctrl.dtsi" |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 12 | #include <dt-bindings/gpio/gpio.h> |
Patrick Delaunay | 91be594 | 2019-02-04 11:26:16 +0100 | [diff] [blame] | 13 | #include <dt-bindings/mfd/st,stpmic1.h> |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 14 | |
| 15 | / { |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 16 | model = "STMicroelectronics STM32MP157C eval daughter"; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 17 | compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; |
| 18 | |
| 19 | chosen { |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 20 | stdout-path = "serial0:115200n8"; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 21 | }; |
| 22 | |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 23 | memory@c0000000 { |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 24 | device_type = "memory"; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 25 | reg = <0xC0000000 0x40000000>; |
| 26 | }; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 27 | |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 28 | reserved-memory { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <1>; |
| 31 | ranges; |
| 32 | |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 33 | mcuram2: mcuram2@10000000 { |
| 34 | compatible = "shared-dma-pool"; |
| 35 | reg = <0x10000000 0x40000>; |
| 36 | no-map; |
| 37 | }; |
| 38 | |
| 39 | vdev0vring0: vdev0vring0@10040000 { |
| 40 | compatible = "shared-dma-pool"; |
| 41 | reg = <0x10040000 0x1000>; |
| 42 | no-map; |
| 43 | }; |
| 44 | |
| 45 | vdev0vring1: vdev0vring1@10041000 { |
| 46 | compatible = "shared-dma-pool"; |
| 47 | reg = <0x10041000 0x1000>; |
| 48 | no-map; |
| 49 | }; |
| 50 | |
| 51 | vdev0buffer: vdev0buffer@10042000 { |
| 52 | compatible = "shared-dma-pool"; |
| 53 | reg = <0x10042000 0x4000>; |
| 54 | no-map; |
| 55 | }; |
| 56 | |
| 57 | mcuram: mcuram@30000000 { |
| 58 | compatible = "shared-dma-pool"; |
| 59 | reg = <0x30000000 0x40000>; |
| 60 | no-map; |
| 61 | }; |
| 62 | |
| 63 | retram: retram@38000000 { |
| 64 | compatible = "shared-dma-pool"; |
| 65 | reg = <0x38000000 0x10000>; |
| 66 | no-map; |
| 67 | }; |
| 68 | |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 69 | gpu_reserved: gpu@e8000000 { |
| 70 | reg = <0xe8000000 0x8000000>; |
| 71 | no-map; |
| 72 | }; |
| 73 | }; |
| 74 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 75 | aliases { |
| 76 | serial0 = &uart4; |
| 77 | }; |
| 78 | |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 79 | sd_switch: regulator-sd_switch { |
| 80 | compatible = "regulator-gpio"; |
| 81 | regulator-name = "sd_switch"; |
| 82 | regulator-min-microvolt = <1800000>; |
| 83 | regulator-max-microvolt = <2900000>; |
| 84 | regulator-type = "voltage"; |
| 85 | regulator-always-on; |
| 86 | |
| 87 | gpios = <&gpiof 14 GPIO_ACTIVE_HIGH>; |
| 88 | gpios-states = <0>; |
Patrick Delaunay | b9c16b7 | 2020-01-28 10:11:00 +0100 | [diff] [blame] | 89 | states = <1800000 0x1>, |
| 90 | <2900000 0x0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 91 | }; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 92 | }; |
| 93 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 94 | &adc { |
| 95 | /* ANA0, ANA1 are dedicated pins and don't need pinctrl: only in6. */ |
| 96 | pinctrl-0 = <&adc1_in6_pins_a>; |
| 97 | pinctrl-names = "default"; |
| 98 | vdd-supply = <&vdd>; |
| 99 | vdda-supply = <&vdda>; |
| 100 | vref-supply = <&vdda>; |
| 101 | status = "disabled"; |
| 102 | adc1: adc@0 { |
| 103 | st,adc-channels = <0 1 6>; |
| 104 | /* 16.5 ck_cycles sampling time */ |
| 105 | st,min-sample-time-nsecs = <400>; |
| 106 | status = "okay"; |
| 107 | }; |
| 108 | }; |
| 109 | |
Patrick Delaunay | b9c16b7 | 2020-01-28 10:11:00 +0100 | [diff] [blame] | 110 | &dac { |
| 111 | pinctrl-names = "default"; |
| 112 | pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>; |
| 113 | vref-supply = <&vdda>; |
| 114 | status = "disabled"; |
| 115 | dac1: dac@1 { |
| 116 | status = "okay"; |
| 117 | }; |
| 118 | dac2: dac@2 { |
| 119 | status = "okay"; |
| 120 | }; |
| 121 | }; |
| 122 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 123 | &dts { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 124 | status = "okay"; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 125 | }; |
| 126 | |
Patrick Delaunay | 708cae7 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 127 | &gpu { |
| 128 | contiguous-area = <&gpu_reserved>; |
| 129 | status = "okay"; |
| 130 | }; |
| 131 | |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 132 | &i2c4 { |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 133 | pinctrl-names = "default", "sleep"; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 134 | pinctrl-0 = <&i2c4_pins_a>; |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 135 | pinctrl-1 = <&i2c4_pins_sleep_a>; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 136 | i2c-scl-rising-time-ns = <185>; |
| 137 | i2c-scl-falling-time-ns = <20>; |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 138 | clock-frequency = <400000>; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 139 | status = "okay"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 140 | /* spare dmas for other usage */ |
| 141 | /delete-property/dmas; |
| 142 | /delete-property/dma-names; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 143 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 144 | pmic: stpmic@33 { |
Patrick Delaunay | d79218f | 2019-02-04 11:26:17 +0100 | [diff] [blame] | 145 | compatible = "st,stpmic1"; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 146 | reg = <0x33>; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 147 | interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 148 | interrupt-controller; |
| 149 | #interrupt-cells = <2>; |
| 150 | status = "okay"; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 151 | |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 152 | regulators { |
Patrick Delaunay | d79218f | 2019-02-04 11:26:17 +0100 | [diff] [blame] | 153 | compatible = "st,stpmic1-regulators"; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 154 | ldo1-supply = <&v3v3>; |
| 155 | ldo2-supply = <&v3v3>; |
| 156 | ldo3-supply = <&vdd_ddr>; |
| 157 | ldo5-supply = <&v3v3>; |
| 158 | ldo6-supply = <&v3v3>; |
| 159 | pwr_sw1-supply = <&bst_out>; |
| 160 | pwr_sw2-supply = <&bst_out>; |
| 161 | |
| 162 | vddcore: buck1 { |
| 163 | regulator-name = "vddcore"; |
Patrick Delaunay | b9c16b7 | 2020-01-28 10:11:00 +0100 | [diff] [blame] | 164 | regulator-min-microvolt = <1200000>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 165 | regulator-max-microvolt = <1350000>; |
| 166 | regulator-always-on; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 167 | regulator-initial-mode = <0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 168 | regulator-over-current-protection; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 169 | }; |
| 170 | |
| 171 | vdd_ddr: buck2 { |
| 172 | regulator-name = "vdd_ddr"; |
| 173 | regulator-min-microvolt = <1350000>; |
| 174 | regulator-max-microvolt = <1350000>; |
| 175 | regulator-always-on; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 176 | regulator-initial-mode = <0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 177 | regulator-over-current-protection; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 178 | }; |
| 179 | |
| 180 | vdd: buck3 { |
| 181 | regulator-name = "vdd"; |
| 182 | regulator-min-microvolt = <3300000>; |
| 183 | regulator-max-microvolt = <3300000>; |
| 184 | regulator-always-on; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 185 | st,mask-reset; |
| 186 | regulator-initial-mode = <0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 187 | regulator-over-current-protection; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 188 | }; |
| 189 | |
| 190 | v3v3: buck4 { |
| 191 | regulator-name = "v3v3"; |
| 192 | regulator-min-microvolt = <3300000>; |
| 193 | regulator-max-microvolt = <3300000>; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 194 | regulator-always-on; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 195 | regulator-over-current-protection; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 196 | regulator-initial-mode = <0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 197 | }; |
| 198 | |
| 199 | vdda: ldo1 { |
| 200 | regulator-name = "vdda"; |
| 201 | regulator-min-microvolt = <2900000>; |
| 202 | regulator-max-microvolt = <2900000>; |
| 203 | interrupts = <IT_CURLIM_LDO1 0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 204 | }; |
| 205 | |
| 206 | v2v8: ldo2 { |
| 207 | regulator-name = "v2v8"; |
| 208 | regulator-min-microvolt = <2800000>; |
| 209 | regulator-max-microvolt = <2800000>; |
| 210 | interrupts = <IT_CURLIM_LDO2 0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 211 | }; |
| 212 | |
| 213 | vtt_ddr: ldo3 { |
| 214 | regulator-name = "vtt_ddr"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 215 | regulator-min-microvolt = <500000>; |
| 216 | regulator-max-microvolt = <750000>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 217 | regulator-always-on; |
| 218 | regulator-over-current-protection; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 219 | }; |
| 220 | |
| 221 | vdd_usb: ldo4 { |
| 222 | regulator-name = "vdd_usb"; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 223 | interrupts = <IT_CURLIM_LDO4 0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 224 | }; |
| 225 | |
| 226 | vdd_sd: ldo5 { |
| 227 | regulator-name = "vdd_sd"; |
| 228 | regulator-min-microvolt = <2900000>; |
| 229 | regulator-max-microvolt = <2900000>; |
| 230 | interrupts = <IT_CURLIM_LDO5 0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 231 | regulator-boot-on; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 232 | }; |
| 233 | |
| 234 | v1v8: ldo6 { |
| 235 | regulator-name = "v1v8"; |
| 236 | regulator-min-microvolt = <1800000>; |
| 237 | regulator-max-microvolt = <1800000>; |
| 238 | interrupts = <IT_CURLIM_LDO6 0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 239 | }; |
| 240 | |
| 241 | vref_ddr: vref_ddr { |
| 242 | regulator-name = "vref_ddr"; |
| 243 | regulator-always-on; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 244 | }; |
| 245 | |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 246 | bst_out: boost { |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 247 | regulator-name = "bst_out"; |
| 248 | interrupts = <IT_OCP_BOOST 0>; |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 249 | }; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 250 | |
| 251 | vbus_otg: pwr_sw1 { |
| 252 | regulator-name = "vbus_otg"; |
| 253 | interrupts = <IT_OCP_OTG 0>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 254 | }; |
| 255 | |
| 256 | vbus_sw: pwr_sw2 { |
| 257 | regulator-name = "vbus_sw"; |
| 258 | interrupts = <IT_OCP_SWOUT 0>; |
Patrick Delaunay | b9c16b7 | 2020-01-28 10:11:00 +0100 | [diff] [blame] | 259 | regulator-active-discharge = <1>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 260 | }; |
| 261 | }; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 262 | |
| 263 | onkey { |
| 264 | compatible = "st,stpmic1-onkey"; |
| 265 | interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>; |
| 266 | interrupt-names = "onkey-falling", "onkey-rising"; |
| 267 | power-off-time-sec = <10>; |
| 268 | status = "okay"; |
| 269 | }; |
| 270 | |
| 271 | watchdog { |
| 272 | compatible = "st,stpmic1-wdt"; |
| 273 | status = "disabled"; |
| 274 | }; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 275 | }; |
| 276 | }; |
| 277 | |
Fabien Dessenne | c2a97d3 | 2019-05-14 11:20:37 +0200 | [diff] [blame] | 278 | &ipcc { |
| 279 | status = "okay"; |
| 280 | }; |
| 281 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 282 | &iwdg2 { |
| 283 | timeout-sec = <32>; |
| 284 | status = "okay"; |
| 285 | }; |
| 286 | |
Patrick Delaunay | 26c24b4 | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 287 | &m4_rproc { |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 288 | memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, |
| 289 | <&vdev0vring1>, <&vdev0buffer>; |
Patrick Delaunay | 26c24b4 | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 290 | mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; |
| 291 | mbox-names = "vq0", "vq1", "shutdown"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 292 | interrupt-parent = <&exti>; |
| 293 | interrupts = <68 1>; |
Patrick Delaunay | 26c24b4 | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 294 | status = "okay"; |
| 295 | }; |
| 296 | |
Patrick Delaunay | 900494d | 2020-01-28 10:10:59 +0100 | [diff] [blame] | 297 | &pwr_regulators { |
| 298 | vdd-supply = <&vdd>; |
| 299 | vdd_3v3_usbfs-supply = <&vdd_usb>; |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 300 | }; |
| 301 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 302 | &rng1 { |
| 303 | status = "okay"; |
| 304 | }; |
| 305 | |
| 306 | &rtc { |
| 307 | status = "okay"; |
| 308 | }; |
| 309 | |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 310 | &sdmmc1 { |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 311 | pinctrl-names = "default", "opendrain", "sleep"; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 312 | pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 313 | pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>; |
| 314 | pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>; |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 315 | cd-gpios = <&gpiog 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |
| 316 | disable-wp; |
Patrice Chotard | 882d72e | 2019-02-12 17:17:58 +0100 | [diff] [blame] | 317 | st,sig-dir; |
| 318 | st,neg-edge; |
| 319 | st,use-ckin; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 320 | bus-width = <4>; |
Patrice Chotard | f6ef229 | 2018-04-26 17:13:11 +0200 | [diff] [blame] | 321 | vmmc-supply = <&vdd_sd>; |
| 322 | vqmmc-supply = <&sd_switch>; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 323 | status = "okay"; |
| 324 | }; |
| 325 | |
Patrick Delaunay | 8d05010 | 2018-03-20 10:54:52 +0100 | [diff] [blame] | 326 | &sdmmc2 { |
Patrick Delaunay | 2b0bbf5 | 2019-11-06 16:16:34 +0100 | [diff] [blame] | 327 | pinctrl-names = "default", "opendrain", "sleep"; |
Patrick Delaunay | 8d05010 | 2018-03-20 10:54:52 +0100 | [diff] [blame] | 328 | pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>; |
Patrick Delaunay | 2b0bbf5 | 2019-11-06 16:16:34 +0100 | [diff] [blame] | 329 | pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>; |
| 330 | pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>; |
Patrick Delaunay | 8d05010 | 2018-03-20 10:54:52 +0100 | [diff] [blame] | 331 | non-removable; |
| 332 | no-sd; |
| 333 | no-sdio; |
Patrice Chotard | 882d72e | 2019-02-12 17:17:58 +0100 | [diff] [blame] | 334 | st,neg-edge; |
Patrick Delaunay | 8d05010 | 2018-03-20 10:54:52 +0100 | [diff] [blame] | 335 | bus-width = <8>; |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 336 | vmmc-supply = <&v3v3>; |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 337 | vqmmc-supply = <&vdd>; |
Patrick Delaunay | 2b0bbf5 | 2019-11-06 16:16:34 +0100 | [diff] [blame] | 338 | mmc-ddr-3_3v; |
Patrick Delaunay | 8d05010 | 2018-03-20 10:54:52 +0100 | [diff] [blame] | 339 | status = "okay"; |
| 340 | }; |
| 341 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 342 | &timers6 { |
| 343 | status = "okay"; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 344 | /* spare dmas for other usage */ |
| 345 | /delete-property/dmas; |
| 346 | /delete-property/dma-names; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 347 | timer@5 { |
| 348 | status = "okay"; |
| 349 | }; |
| 350 | }; |
| 351 | |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 352 | &uart4 { |
| 353 | pinctrl-names = "default"; |
| 354 | pinctrl-0 = <&uart4_pins_a>; |
| 355 | status = "okay"; |
| 356 | }; |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 357 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 358 | &usbotg_hs { |
| 359 | vbus-supply = <&vbus_otg>; |
| 360 | }; |
| 361 | |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 362 | &usbphyc_port0 { |
| 363 | phy-supply = <&vdd_usb>; |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 364 | }; |
| 365 | |
| 366 | &usbphyc_port1 { |
| 367 | phy-supply = <&vdd_usb>; |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 368 | }; |