Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2017 - All Rights Reserved |
| 4 | * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. |
| 5 | */ |
| 6 | #include <dt-bindings/pinctrl/stm32-pinfunc.h> |
| 7 | |
| 8 | &pinctrl { |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 9 | adc1_in6_pins_a: adc1-in6-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 10 | pins { |
| 11 | pinmux = <STM32_PINMUX('F', 12, ANALOG)>; |
| 12 | }; |
| 13 | }; |
| 14 | |
| 15 | adc12_ain_pins_a: adc12-ain-0 { |
| 16 | pins { |
| 17 | pinmux = <STM32_PINMUX('C', 3, ANALOG)>, /* ADC1 in13 */ |
| 18 | <STM32_PINMUX('F', 12, ANALOG)>, /* ADC1 in6 */ |
| 19 | <STM32_PINMUX('F', 13, ANALOG)>, /* ADC2 in2 */ |
| 20 | <STM32_PINMUX('F', 14, ANALOG)>; /* ADC2 in6 */ |
| 21 | }; |
| 22 | }; |
| 23 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 24 | adc12_ain_pins_b: adc12-ain-1 { |
| 25 | pins { |
| 26 | pinmux = <STM32_PINMUX('F', 12, ANALOG)>, /* ADC1 in6 */ |
| 27 | <STM32_PINMUX('F', 13, ANALOG)>; /* ADC2 in2 */ |
| 28 | }; |
| 29 | }; |
| 30 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 31 | adc12_usb_cc_pins_a: adc12-usb-cc-pins-0 { |
| 32 | pins { |
| 33 | pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* ADC12 in18 */ |
| 34 | <STM32_PINMUX('A', 5, ANALOG)>; /* ADC12 in19 */ |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | cec_pins_a: cec-0 { |
| 39 | pins { |
| 40 | pinmux = <STM32_PINMUX('A', 15, AF4)>; |
| 41 | bias-disable; |
| 42 | drive-open-drain; |
| 43 | slew-rate = <0>; |
| 44 | }; |
| 45 | }; |
| 46 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 47 | cec_sleep_pins_a: cec-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 48 | pins { |
| 49 | pinmux = <STM32_PINMUX('A', 15, ANALOG)>; /* HDMI_CEC */ |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | cec_pins_b: cec-1 { |
| 54 | pins { |
| 55 | pinmux = <STM32_PINMUX('B', 6, AF5)>; |
| 56 | bias-disable; |
| 57 | drive-open-drain; |
| 58 | slew-rate = <0>; |
| 59 | }; |
| 60 | }; |
| 61 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 62 | cec_sleep_pins_b: cec-sleep-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 63 | pins { |
| 64 | pinmux = <STM32_PINMUX('B', 6, ANALOG)>; /* HDMI_CEC */ |
| 65 | }; |
| 66 | }; |
| 67 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 68 | dac_ch1_pins_a: dac-ch1-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 69 | pins { |
| 70 | pinmux = <STM32_PINMUX('A', 4, ANALOG)>; |
| 71 | }; |
| 72 | }; |
| 73 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 74 | dac_ch2_pins_a: dac-ch2-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 75 | pins { |
| 76 | pinmux = <STM32_PINMUX('A', 5, ANALOG)>; |
| 77 | }; |
| 78 | }; |
| 79 | |
| 80 | dcmi_pins_a: dcmi-0 { |
| 81 | pins { |
| 82 | pinmux = <STM32_PINMUX('H', 8, AF13)>,/* DCMI_HSYNC */ |
| 83 | <STM32_PINMUX('B', 7, AF13)>,/* DCMI_VSYNC */ |
| 84 | <STM32_PINMUX('A', 6, AF13)>,/* DCMI_PIXCLK */ |
| 85 | <STM32_PINMUX('H', 9, AF13)>,/* DCMI_D0 */ |
| 86 | <STM32_PINMUX('H', 10, AF13)>,/* DCMI_D1 */ |
| 87 | <STM32_PINMUX('H', 11, AF13)>,/* DCMI_D2 */ |
| 88 | <STM32_PINMUX('H', 12, AF13)>,/* DCMI_D3 */ |
| 89 | <STM32_PINMUX('H', 14, AF13)>,/* DCMI_D4 */ |
| 90 | <STM32_PINMUX('I', 4, AF13)>,/* DCMI_D5 */ |
| 91 | <STM32_PINMUX('B', 8, AF13)>,/* DCMI_D6 */ |
| 92 | <STM32_PINMUX('E', 6, AF13)>,/* DCMI_D7 */ |
| 93 | <STM32_PINMUX('I', 1, AF13)>,/* DCMI_D8 */ |
| 94 | <STM32_PINMUX('H', 7, AF13)>,/* DCMI_D9 */ |
| 95 | <STM32_PINMUX('I', 3, AF13)>,/* DCMI_D10 */ |
| 96 | <STM32_PINMUX('H', 15, AF13)>;/* DCMI_D11 */ |
| 97 | bias-disable; |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | dcmi_sleep_pins_a: dcmi-sleep-0 { |
| 102 | pins { |
| 103 | pinmux = <STM32_PINMUX('H', 8, ANALOG)>,/* DCMI_HSYNC */ |
| 104 | <STM32_PINMUX('B', 7, ANALOG)>,/* DCMI_VSYNC */ |
| 105 | <STM32_PINMUX('A', 6, ANALOG)>,/* DCMI_PIXCLK */ |
| 106 | <STM32_PINMUX('H', 9, ANALOG)>,/* DCMI_D0 */ |
| 107 | <STM32_PINMUX('H', 10, ANALOG)>,/* DCMI_D1 */ |
| 108 | <STM32_PINMUX('H', 11, ANALOG)>,/* DCMI_D2 */ |
| 109 | <STM32_PINMUX('H', 12, ANALOG)>,/* DCMI_D3 */ |
| 110 | <STM32_PINMUX('H', 14, ANALOG)>,/* DCMI_D4 */ |
| 111 | <STM32_PINMUX('I', 4, ANALOG)>,/* DCMI_D5 */ |
| 112 | <STM32_PINMUX('B', 8, ANALOG)>,/* DCMI_D6 */ |
| 113 | <STM32_PINMUX('E', 6, ANALOG)>,/* DCMI_D7 */ |
| 114 | <STM32_PINMUX('I', 1, ANALOG)>,/* DCMI_D8 */ |
| 115 | <STM32_PINMUX('H', 7, ANALOG)>,/* DCMI_D9 */ |
| 116 | <STM32_PINMUX('I', 3, ANALOG)>,/* DCMI_D10 */ |
| 117 | <STM32_PINMUX('H', 15, ANALOG)>;/* DCMI_D11 */ |
| 118 | }; |
| 119 | }; |
| 120 | |
| 121 | ethernet0_rgmii_pins_a: rgmii-0 { |
| 122 | pins1 { |
| 123 | pinmux = <STM32_PINMUX('G', 5, AF11)>, /* ETH_RGMII_CLK125 */ |
| 124 | <STM32_PINMUX('G', 4, AF11)>, /* ETH_RGMII_GTX_CLK */ |
| 125 | <STM32_PINMUX('G', 13, AF11)>, /* ETH_RGMII_TXD0 */ |
| 126 | <STM32_PINMUX('G', 14, AF11)>, /* ETH_RGMII_TXD1 */ |
| 127 | <STM32_PINMUX('C', 2, AF11)>, /* ETH_RGMII_TXD2 */ |
| 128 | <STM32_PINMUX('E', 2, AF11)>, /* ETH_RGMII_TXD3 */ |
| 129 | <STM32_PINMUX('B', 11, AF11)>, /* ETH_RGMII_TX_CTL */ |
| 130 | <STM32_PINMUX('C', 1, AF11)>; /* ETH_MDC */ |
| 131 | bias-disable; |
| 132 | drive-push-pull; |
| 133 | slew-rate = <2>; |
| 134 | }; |
| 135 | pins2 { |
| 136 | pinmux = <STM32_PINMUX('A', 2, AF11)>; /* ETH_MDIO */ |
| 137 | bias-disable; |
| 138 | drive-push-pull; |
| 139 | slew-rate = <0>; |
| 140 | }; |
| 141 | pins3 { |
| 142 | pinmux = <STM32_PINMUX('C', 4, AF11)>, /* ETH_RGMII_RXD0 */ |
| 143 | <STM32_PINMUX('C', 5, AF11)>, /* ETH_RGMII_RXD1 */ |
| 144 | <STM32_PINMUX('B', 0, AF11)>, /* ETH_RGMII_RXD2 */ |
| 145 | <STM32_PINMUX('B', 1, AF11)>, /* ETH_RGMII_RXD3 */ |
| 146 | <STM32_PINMUX('A', 1, AF11)>, /* ETH_RGMII_RX_CLK */ |
| 147 | <STM32_PINMUX('A', 7, AF11)>; /* ETH_RGMII_RX_CTL */ |
| 148 | bias-disable; |
| 149 | }; |
| 150 | }; |
| 151 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 152 | ethernet0_rgmii_sleep_pins_a: rgmii-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 153 | pins1 { |
| 154 | pinmux = <STM32_PINMUX('G', 5, ANALOG)>, /* ETH_RGMII_CLK125 */ |
| 155 | <STM32_PINMUX('G', 4, ANALOG)>, /* ETH_RGMII_GTX_CLK */ |
| 156 | <STM32_PINMUX('G', 13, ANALOG)>, /* ETH_RGMII_TXD0 */ |
| 157 | <STM32_PINMUX('G', 14, ANALOG)>, /* ETH_RGMII_TXD1 */ |
| 158 | <STM32_PINMUX('C', 2, ANALOG)>, /* ETH_RGMII_TXD2 */ |
| 159 | <STM32_PINMUX('E', 2, ANALOG)>, /* ETH_RGMII_TXD3 */ |
| 160 | <STM32_PINMUX('B', 11, ANALOG)>, /* ETH_RGMII_TX_CTL */ |
| 161 | <STM32_PINMUX('A', 2, ANALOG)>, /* ETH_MDIO */ |
| 162 | <STM32_PINMUX('C', 1, ANALOG)>, /* ETH_MDC */ |
| 163 | <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RGMII_RXD0 */ |
| 164 | <STM32_PINMUX('C', 5, ANALOG)>, /* ETH_RGMII_RXD1 */ |
| 165 | <STM32_PINMUX('B', 0, ANALOG)>, /* ETH_RGMII_RXD2 */ |
| 166 | <STM32_PINMUX('B', 1, ANALOG)>, /* ETH_RGMII_RXD3 */ |
| 167 | <STM32_PINMUX('A', 1, ANALOG)>, /* ETH_RGMII_RX_CLK */ |
| 168 | <STM32_PINMUX('A', 7, ANALOG)>; /* ETH_RGMII_RX_CTL */ |
| 169 | }; |
| 170 | }; |
| 171 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 172 | ethernet0_rgmii_pins_b: rgmii-1 { |
| 173 | pins1 { |
| 174 | pinmux = <STM32_PINMUX('G', 5, AF11)>, /* ETH_RGMII_CLK125 */ |
| 175 | <STM32_PINMUX('G', 4, AF11)>, /* ETH_RGMII_GTX_CLK */ |
| 176 | <STM32_PINMUX('G', 13, AF11)>, /* ETH_RGMII_TXD0 */ |
| 177 | <STM32_PINMUX('G', 14, AF11)>, /* ETH_RGMII_TXD1 */ |
| 178 | <STM32_PINMUX('C', 2, AF11)>, /* ETH_RGMII_TXD2 */ |
| 179 | <STM32_PINMUX('E', 2, AF11)>, /* ETH_RGMII_TXD3 */ |
| 180 | <STM32_PINMUX('B', 11, AF11)>, /* ETH_RGMII_TX_CTL */ |
| 181 | <STM32_PINMUX('C', 1, AF11)>; /* ETH_MDC */ |
| 182 | bias-disable; |
| 183 | drive-push-pull; |
| 184 | slew-rate = <2>; |
| 185 | }; |
| 186 | pins2 { |
| 187 | pinmux = <STM32_PINMUX('A', 2, AF11)>; /* ETH_MDIO */ |
| 188 | bias-disable; |
| 189 | drive-push-pull; |
| 190 | slew-rate = <0>; |
| 191 | }; |
| 192 | pins3 { |
| 193 | pinmux = <STM32_PINMUX('C', 4, AF11)>, /* ETH_RGMII_RXD0 */ |
| 194 | <STM32_PINMUX('C', 5, AF11)>, /* ETH_RGMII_RXD1 */ |
| 195 | <STM32_PINMUX('H', 6, AF11)>, /* ETH_RGMII_RXD2 */ |
| 196 | <STM32_PINMUX('H', 7, AF11)>, /* ETH_RGMII_RXD3 */ |
| 197 | <STM32_PINMUX('A', 1, AF11)>, /* ETH_RGMII_RX_CLK */ |
| 198 | <STM32_PINMUX('A', 7, AF11)>; /* ETH_RGMII_RX_CTL */ |
| 199 | bias-disable; |
| 200 | }; |
| 201 | }; |
| 202 | |
| 203 | ethernet0_rgmii_sleep_pins_b: rgmii-sleep-1 { |
| 204 | pins1 { |
| 205 | pinmux = <STM32_PINMUX('G', 5, ANALOG)>, /* ETH_RGMII_CLK125 */ |
| 206 | <STM32_PINMUX('G', 4, ANALOG)>, /* ETH_RGMII_GTX_CLK */ |
| 207 | <STM32_PINMUX('G', 13, ANALOG)>, /* ETH_RGMII_TXD0 */ |
| 208 | <STM32_PINMUX('G', 14, ANALOG)>, /* ETH_RGMII_TXD1 */ |
| 209 | <STM32_PINMUX('C', 2, ANALOG)>, /* ETH_RGMII_TXD2 */ |
| 210 | <STM32_PINMUX('E', 2, ANALOG)>, /* ETH_RGMII_TXD3 */ |
| 211 | <STM32_PINMUX('B', 11, ANALOG)>, /* ETH_RGMII_TX_CTL */ |
| 212 | <STM32_PINMUX('C', 1, ANALOG)>, /* ETH_MDC */ |
| 213 | <STM32_PINMUX('A', 2, ANALOG)>, /* ETH_MDIO */ |
| 214 | <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RGMII_RXD0 */ |
| 215 | <STM32_PINMUX('C', 5, ANALOG)>, /* ETH_RGMII_RXD1 */ |
| 216 | <STM32_PINMUX('H', 6, ANALOG)>, /* ETH_RGMII_RXD2 */ |
| 217 | <STM32_PINMUX('H', 7, ANALOG)>, /* ETH_RGMII_RXD3 */ |
| 218 | <STM32_PINMUX('A', 1, ANALOG)>, /* ETH_RGMII_RX_CLK */ |
| 219 | <STM32_PINMUX('A', 7, ANALOG)>; /* ETH_RGMII_RX_CTL */ |
| 220 | }; |
| 221 | }; |
| 222 | |
Patrick Delaunay | 2b2d0b6 | 2020-07-06 13:26:51 +0200 | [diff] [blame] | 223 | ethernet0_rgmii_pins_c: rgmii-2 { |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 224 | pins1 { |
| 225 | pinmux = <STM32_PINMUX('G', 5, AF11)>, /* ETH_RGMII_CLK125 */ |
| 226 | <STM32_PINMUX('G', 4, AF11)>, /* ETH_RGMII_GTX_CLK */ |
| 227 | <STM32_PINMUX('B', 12, AF11)>, /* ETH_RGMII_TXD0 */ |
| 228 | <STM32_PINMUX('G', 14, AF11)>, /* ETH_RGMII_TXD1 */ |
| 229 | <STM32_PINMUX('C', 2, AF11)>, /* ETH_RGMII_TXD2 */ |
| 230 | <STM32_PINMUX('E', 2, AF11)>, /* ETH_RGMII_TXD3 */ |
| 231 | <STM32_PINMUX('G', 11, AF11)>, /* ETH_RGMII_TX_CTL */ |
| 232 | <STM32_PINMUX('C', 1, AF11)>; /* ETH_MDC */ |
| 233 | bias-disable; |
| 234 | drive-push-pull; |
| 235 | slew-rate = <2>; |
| 236 | }; |
| 237 | pins2 { |
| 238 | pinmux = <STM32_PINMUX('A', 2, AF11)>; /* ETH_MDIO */ |
| 239 | bias-disable; |
| 240 | drive-push-pull; |
| 241 | slew-rate = <0>; |
| 242 | }; |
| 243 | pins3 { |
| 244 | pinmux = <STM32_PINMUX('C', 4, AF11)>, /* ETH_RGMII_RXD0 */ |
| 245 | <STM32_PINMUX('C', 5, AF11)>, /* ETH_RGMII_RXD1 */ |
| 246 | <STM32_PINMUX('H', 6, AF11)>, /* ETH_RGMII_RXD2 */ |
| 247 | <STM32_PINMUX('B', 1, AF11)>, /* ETH_RGMII_RXD3 */ |
| 248 | <STM32_PINMUX('A', 1, AF11)>, /* ETH_RGMII_RX_CLK */ |
| 249 | <STM32_PINMUX('A', 7, AF11)>; /* ETH_RGMII_RX_CTL */ |
| 250 | bias-disable; |
| 251 | }; |
| 252 | }; |
| 253 | |
Patrick Delaunay | 2b2d0b6 | 2020-07-06 13:26:51 +0200 | [diff] [blame] | 254 | ethernet0_rgmii_sleep_pins_c: rgmii-sleep-2 { |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 255 | pins1 { |
| 256 | pinmux = <STM32_PINMUX('G', 5, ANALOG)>, /* ETH_RGMII_CLK125 */ |
| 257 | <STM32_PINMUX('G', 4, ANALOG)>, /* ETH_RGMII_GTX_CLK */ |
| 258 | <STM32_PINMUX('B', 12, ANALOG)>, /* ETH_RGMII_TXD0 */ |
| 259 | <STM32_PINMUX('G', 14, ANALOG)>, /* ETH_RGMII_TXD1 */ |
| 260 | <STM32_PINMUX('C', 2, ANALOG)>, /* ETH_RGMII_TXD2 */ |
| 261 | <STM32_PINMUX('E', 2, ANALOG)>, /* ETH_RGMII_TXD3 */ |
| 262 | <STM32_PINMUX('G', 11, ANALOG)>, /* ETH_RGMII_TX_CTL */ |
| 263 | <STM32_PINMUX('A', 2, ANALOG)>, /* ETH_MDIO */ |
| 264 | <STM32_PINMUX('C', 1, ANALOG)>, /* ETH_MDC */ |
| 265 | <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RGMII_RXD0 */ |
| 266 | <STM32_PINMUX('C', 5, ANALOG)>, /* ETH_RGMII_RXD1 */ |
| 267 | <STM32_PINMUX('H', 6, ANALOG)>, /* ETH_RGMII_RXD2 */ |
| 268 | <STM32_PINMUX('B', 1, ANALOG)>, /* ETH_RGMII_RXD3 */ |
| 269 | <STM32_PINMUX('A', 1, ANALOG)>, /* ETH_RGMII_RX_CLK */ |
| 270 | <STM32_PINMUX('A', 7, ANALOG)>; /* ETH_RGMII_RX_CTL */ |
| 271 | }; |
| 272 | }; |
| 273 | |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 274 | ethernet0_rmii_pins_a: rmii-0 { |
| 275 | pins1 { |
| 276 | pinmux = <STM32_PINMUX('G', 13, AF11)>, /* ETH1_RMII_TXD0 */ |
| 277 | <STM32_PINMUX('G', 14, AF11)>, /* ETH1_RMII_TXD1 */ |
| 278 | <STM32_PINMUX('B', 11, AF11)>, /* ETH1_RMII_TX_EN */ |
| 279 | <STM32_PINMUX('A', 1, AF0)>, /* ETH1_RMII_REF_CLK */ |
| 280 | <STM32_PINMUX('A', 2, AF11)>, /* ETH1_MDIO */ |
| 281 | <STM32_PINMUX('C', 1, AF11)>; /* ETH1_MDC */ |
| 282 | bias-disable; |
| 283 | drive-push-pull; |
| 284 | slew-rate = <2>; |
| 285 | }; |
| 286 | pins2 { |
| 287 | pinmux = <STM32_PINMUX('C', 4, AF11)>, /* ETH1_RMII_RXD0 */ |
| 288 | <STM32_PINMUX('C', 5, AF11)>, /* ETH1_RMII_RXD1 */ |
| 289 | <STM32_PINMUX('A', 7, AF11)>; /* ETH1_RMII_CRS_DV */ |
| 290 | bias-disable; |
| 291 | }; |
| 292 | }; |
| 293 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 294 | ethernet0_rmii_sleep_pins_a: rmii-sleep-0 { |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 295 | pins1 { |
| 296 | pinmux = <STM32_PINMUX('G', 13, ANALOG)>, /* ETH1_RMII_TXD0 */ |
| 297 | <STM32_PINMUX('G', 14, ANALOG)>, /* ETH1_RMII_TXD1 */ |
| 298 | <STM32_PINMUX('B', 11, ANALOG)>, /* ETH1_RMII_TX_EN */ |
| 299 | <STM32_PINMUX('A', 2, ANALOG)>, /* ETH1_MDIO */ |
| 300 | <STM32_PINMUX('C', 1, ANALOG)>, /* ETH1_MDC */ |
| 301 | <STM32_PINMUX('C', 4, ANALOG)>, /* ETH1_RMII_RXD0 */ |
| 302 | <STM32_PINMUX('C', 5, ANALOG)>, /* ETH1_RMII_RXD1 */ |
| 303 | <STM32_PINMUX('A', 1, ANALOG)>, /* ETH1_RMII_REF_CLK */ |
| 304 | <STM32_PINMUX('A', 7, ANALOG)>; /* ETH1_RMII_CRS_DV */ |
| 305 | }; |
| 306 | }; |
| 307 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 308 | fmc_pins_a: fmc-0 { |
| 309 | pins1 { |
| 310 | pinmux = <STM32_PINMUX('D', 4, AF12)>, /* FMC_NOE */ |
| 311 | <STM32_PINMUX('D', 5, AF12)>, /* FMC_NWE */ |
| 312 | <STM32_PINMUX('D', 11, AF12)>, /* FMC_A16_FMC_CLE */ |
| 313 | <STM32_PINMUX('D', 12, AF12)>, /* FMC_A17_FMC_ALE */ |
| 314 | <STM32_PINMUX('D', 14, AF12)>, /* FMC_D0 */ |
| 315 | <STM32_PINMUX('D', 15, AF12)>, /* FMC_D1 */ |
| 316 | <STM32_PINMUX('D', 0, AF12)>, /* FMC_D2 */ |
| 317 | <STM32_PINMUX('D', 1, AF12)>, /* FMC_D3 */ |
| 318 | <STM32_PINMUX('E', 7, AF12)>, /* FMC_D4 */ |
| 319 | <STM32_PINMUX('E', 8, AF12)>, /* FMC_D5 */ |
| 320 | <STM32_PINMUX('E', 9, AF12)>, /* FMC_D6 */ |
| 321 | <STM32_PINMUX('E', 10, AF12)>, /* FMC_D7 */ |
| 322 | <STM32_PINMUX('G', 9, AF12)>; /* FMC_NE2_FMC_NCE */ |
| 323 | bias-disable; |
| 324 | drive-push-pull; |
| 325 | slew-rate = <1>; |
| 326 | }; |
| 327 | pins2 { |
| 328 | pinmux = <STM32_PINMUX('D', 6, AF12)>; /* FMC_NWAIT */ |
| 329 | bias-pull-up; |
| 330 | }; |
| 331 | }; |
| 332 | |
| 333 | fmc_sleep_pins_a: fmc-sleep-0 { |
| 334 | pins { |
| 335 | pinmux = <STM32_PINMUX('D', 4, ANALOG)>, /* FMC_NOE */ |
| 336 | <STM32_PINMUX('D', 5, ANALOG)>, /* FMC_NWE */ |
| 337 | <STM32_PINMUX('D', 11, ANALOG)>, /* FMC_A16_FMC_CLE */ |
| 338 | <STM32_PINMUX('D', 12, ANALOG)>, /* FMC_A17_FMC_ALE */ |
| 339 | <STM32_PINMUX('D', 14, ANALOG)>, /* FMC_D0 */ |
| 340 | <STM32_PINMUX('D', 15, ANALOG)>, /* FMC_D1 */ |
| 341 | <STM32_PINMUX('D', 0, ANALOG)>, /* FMC_D2 */ |
| 342 | <STM32_PINMUX('D', 1, ANALOG)>, /* FMC_D3 */ |
| 343 | <STM32_PINMUX('E', 7, ANALOG)>, /* FMC_D4 */ |
| 344 | <STM32_PINMUX('E', 8, ANALOG)>, /* FMC_D5 */ |
| 345 | <STM32_PINMUX('E', 9, ANALOG)>, /* FMC_D6 */ |
| 346 | <STM32_PINMUX('E', 10, ANALOG)>, /* FMC_D7 */ |
| 347 | <STM32_PINMUX('D', 6, ANALOG)>, /* FMC_NWAIT */ |
| 348 | <STM32_PINMUX('G', 9, ANALOG)>; /* FMC_NE2_FMC_NCE */ |
| 349 | }; |
| 350 | }; |
| 351 | |
| 352 | i2c1_pins_a: i2c1-0 { |
| 353 | pins { |
| 354 | pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */ |
| 355 | <STM32_PINMUX('F', 15, AF5)>; /* I2C1_SDA */ |
| 356 | bias-disable; |
| 357 | drive-open-drain; |
| 358 | slew-rate = <0>; |
| 359 | }; |
| 360 | }; |
| 361 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 362 | i2c1_sleep_pins_a: i2c1-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 363 | pins { |
| 364 | pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */ |
| 365 | <STM32_PINMUX('F', 15, ANALOG)>; /* I2C1_SDA */ |
| 366 | }; |
| 367 | }; |
| 368 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 369 | i2c1_pins_b: i2c1-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 370 | pins { |
| 371 | pinmux = <STM32_PINMUX('F', 14, AF5)>, /* I2C1_SCL */ |
| 372 | <STM32_PINMUX('F', 15, AF5)>; /* I2C1_SDA */ |
| 373 | bias-disable; |
| 374 | drive-open-drain; |
| 375 | slew-rate = <0>; |
| 376 | }; |
| 377 | }; |
| 378 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 379 | i2c1_sleep_pins_b: i2c1-sleep-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 380 | pins { |
| 381 | pinmux = <STM32_PINMUX('F', 14, ANALOG)>, /* I2C1_SCL */ |
| 382 | <STM32_PINMUX('F', 15, ANALOG)>; /* I2C1_SDA */ |
| 383 | }; |
| 384 | }; |
| 385 | |
| 386 | i2c2_pins_a: i2c2-0 { |
| 387 | pins { |
| 388 | pinmux = <STM32_PINMUX('H', 4, AF4)>, /* I2C2_SCL */ |
| 389 | <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */ |
| 390 | bias-disable; |
| 391 | drive-open-drain; |
| 392 | slew-rate = <0>; |
| 393 | }; |
| 394 | }; |
| 395 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 396 | i2c2_sleep_pins_a: i2c2-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 397 | pins { |
| 398 | pinmux = <STM32_PINMUX('H', 4, ANALOG)>, /* I2C2_SCL */ |
| 399 | <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */ |
| 400 | }; |
| 401 | }; |
| 402 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 403 | i2c2_pins_b1: i2c2-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 404 | pins { |
| 405 | pinmux = <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */ |
| 406 | bias-disable; |
| 407 | drive-open-drain; |
| 408 | slew-rate = <0>; |
| 409 | }; |
| 410 | }; |
| 411 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 412 | i2c2_sleep_pins_b1: i2c2-sleep-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 413 | pins { |
| 414 | pinmux = <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */ |
| 415 | }; |
| 416 | }; |
| 417 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 418 | i2c2_pins_c: i2c2-2 { |
Marek Vasut | da77909 | 2020-05-26 04:30:21 +0200 | [diff] [blame] | 419 | pins { |
| 420 | pinmux = <STM32_PINMUX('F', 1, AF4)>, /* I2C2_SCL */ |
| 421 | <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */ |
| 422 | bias-disable; |
| 423 | drive-open-drain; |
| 424 | slew-rate = <0>; |
| 425 | }; |
| 426 | }; |
| 427 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 428 | i2c2_pins_sleep_c: i2c2-sleep-2 { |
Marek Vasut | da77909 | 2020-05-26 04:30:21 +0200 | [diff] [blame] | 429 | pins { |
| 430 | pinmux = <STM32_PINMUX('F', 1, ANALOG)>, /* I2C2_SCL */ |
| 431 | <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */ |
| 432 | }; |
| 433 | }; |
| 434 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 435 | i2c5_pins_a: i2c5-0 { |
| 436 | pins { |
| 437 | pinmux = <STM32_PINMUX('A', 11, AF4)>, /* I2C5_SCL */ |
| 438 | <STM32_PINMUX('A', 12, AF4)>; /* I2C5_SDA */ |
| 439 | bias-disable; |
| 440 | drive-open-drain; |
| 441 | slew-rate = <0>; |
| 442 | }; |
| 443 | }; |
| 444 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 445 | i2c5_sleep_pins_a: i2c5-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 446 | pins { |
| 447 | pinmux = <STM32_PINMUX('A', 11, ANALOG)>, /* I2C5_SCL */ |
| 448 | <STM32_PINMUX('A', 12, ANALOG)>; /* I2C5_SDA */ |
| 449 | |
| 450 | }; |
| 451 | }; |
| 452 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 453 | i2c5_pins_b: i2c5-1 { |
| 454 | pins { |
| 455 | pinmux = <STM32_PINMUX('D', 0, AF4)>, /* I2C5_SCL */ |
| 456 | <STM32_PINMUX('D', 1, AF4)>; /* I2C5_SDA */ |
| 457 | bias-disable; |
| 458 | drive-open-drain; |
| 459 | slew-rate = <0>; |
| 460 | }; |
| 461 | }; |
| 462 | |
| 463 | i2c5_sleep_pins_b: i2c5-sleep-1 { |
| 464 | pins { |
| 465 | pinmux = <STM32_PINMUX('D', 0, ANALOG)>, /* I2C5_SCL */ |
| 466 | <STM32_PINMUX('D', 1, ANALOG)>; /* I2C5_SDA */ |
| 467 | }; |
| 468 | }; |
| 469 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 470 | i2s2_pins_a: i2s2-0 { |
| 471 | pins { |
| 472 | pinmux = <STM32_PINMUX('I', 3, AF5)>, /* I2S2_SDO */ |
| 473 | <STM32_PINMUX('B', 9, AF5)>, /* I2S2_WS */ |
| 474 | <STM32_PINMUX('A', 9, AF5)>; /* I2S2_CK */ |
| 475 | slew-rate = <1>; |
| 476 | drive-push-pull; |
| 477 | bias-disable; |
| 478 | }; |
| 479 | }; |
| 480 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 481 | i2s2_sleep_pins_a: i2s2-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 482 | pins { |
| 483 | pinmux = <STM32_PINMUX('I', 3, ANALOG)>, /* I2S2_SDO */ |
| 484 | <STM32_PINMUX('B', 9, ANALOG)>, /* I2S2_WS */ |
| 485 | <STM32_PINMUX('A', 9, ANALOG)>; /* I2S2_CK */ |
| 486 | }; |
| 487 | }; |
| 488 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 489 | ltdc_pins_a: ltdc-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 490 | pins { |
| 491 | pinmux = <STM32_PINMUX('G', 7, AF14)>, /* LCD_CLK */ |
| 492 | <STM32_PINMUX('I', 10, AF14)>, /* LCD_HSYNC */ |
| 493 | <STM32_PINMUX('I', 9, AF14)>, /* LCD_VSYNC */ |
| 494 | <STM32_PINMUX('F', 10, AF14)>, /* LCD_DE */ |
| 495 | <STM32_PINMUX('H', 2, AF14)>, /* LCD_R0 */ |
| 496 | <STM32_PINMUX('H', 3, AF14)>, /* LCD_R1 */ |
| 497 | <STM32_PINMUX('H', 8, AF14)>, /* LCD_R2 */ |
| 498 | <STM32_PINMUX('H', 9, AF14)>, /* LCD_R3 */ |
| 499 | <STM32_PINMUX('H', 10, AF14)>, /* LCD_R4 */ |
| 500 | <STM32_PINMUX('C', 0, AF14)>, /* LCD_R5 */ |
| 501 | <STM32_PINMUX('H', 12, AF14)>, /* LCD_R6 */ |
| 502 | <STM32_PINMUX('E', 15, AF14)>, /* LCD_R7 */ |
| 503 | <STM32_PINMUX('E', 5, AF14)>, /* LCD_G0 */ |
| 504 | <STM32_PINMUX('E', 6, AF14)>, /* LCD_G1 */ |
| 505 | <STM32_PINMUX('H', 13, AF14)>, /* LCD_G2 */ |
| 506 | <STM32_PINMUX('H', 14, AF14)>, /* LCD_G3 */ |
| 507 | <STM32_PINMUX('H', 15, AF14)>, /* LCD_G4 */ |
| 508 | <STM32_PINMUX('I', 0, AF14)>, /* LCD_G5 */ |
| 509 | <STM32_PINMUX('I', 1, AF14)>, /* LCD_G6 */ |
| 510 | <STM32_PINMUX('I', 2, AF14)>, /* LCD_G7 */ |
| 511 | <STM32_PINMUX('D', 9, AF14)>, /* LCD_B0 */ |
| 512 | <STM32_PINMUX('G', 12, AF14)>, /* LCD_B1 */ |
| 513 | <STM32_PINMUX('G', 10, AF14)>, /* LCD_B2 */ |
| 514 | <STM32_PINMUX('D', 10, AF14)>, /* LCD_B3 */ |
| 515 | <STM32_PINMUX('I', 4, AF14)>, /* LCD_B4 */ |
| 516 | <STM32_PINMUX('A', 3, AF14)>, /* LCD_B5 */ |
| 517 | <STM32_PINMUX('B', 8, AF14)>, /* LCD_B6 */ |
| 518 | <STM32_PINMUX('D', 8, AF14)>; /* LCD_B7 */ |
| 519 | bias-disable; |
| 520 | drive-push-pull; |
| 521 | slew-rate = <1>; |
| 522 | }; |
| 523 | }; |
| 524 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 525 | ltdc_sleep_pins_a: ltdc-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 526 | pins { |
| 527 | pinmux = <STM32_PINMUX('G', 7, ANALOG)>, /* LCD_CLK */ |
| 528 | <STM32_PINMUX('I', 10, ANALOG)>, /* LCD_HSYNC */ |
| 529 | <STM32_PINMUX('I', 9, ANALOG)>, /* LCD_VSYNC */ |
| 530 | <STM32_PINMUX('F', 10, ANALOG)>, /* LCD_DE */ |
| 531 | <STM32_PINMUX('H', 2, ANALOG)>, /* LCD_R0 */ |
| 532 | <STM32_PINMUX('H', 3, ANALOG)>, /* LCD_R1 */ |
| 533 | <STM32_PINMUX('H', 8, ANALOG)>, /* LCD_R2 */ |
| 534 | <STM32_PINMUX('H', 9, ANALOG)>, /* LCD_R3 */ |
| 535 | <STM32_PINMUX('H', 10, ANALOG)>, /* LCD_R4 */ |
| 536 | <STM32_PINMUX('C', 0, ANALOG)>, /* LCD_R5 */ |
| 537 | <STM32_PINMUX('H', 12, ANALOG)>, /* LCD_R6 */ |
| 538 | <STM32_PINMUX('E', 15, ANALOG)>, /* LCD_R7 */ |
| 539 | <STM32_PINMUX('E', 5, ANALOG)>, /* LCD_G0 */ |
| 540 | <STM32_PINMUX('E', 6, ANALOG)>, /* LCD_G1 */ |
| 541 | <STM32_PINMUX('H', 13, ANALOG)>, /* LCD_G2 */ |
| 542 | <STM32_PINMUX('H', 14, ANALOG)>, /* LCD_G3 */ |
| 543 | <STM32_PINMUX('H', 15, ANALOG)>, /* LCD_G4 */ |
| 544 | <STM32_PINMUX('I', 0, ANALOG)>, /* LCD_G5 */ |
| 545 | <STM32_PINMUX('I', 1, ANALOG)>, /* LCD_G6 */ |
| 546 | <STM32_PINMUX('I', 2, ANALOG)>, /* LCD_G7 */ |
| 547 | <STM32_PINMUX('D', 9, ANALOG)>, /* LCD_B0 */ |
| 548 | <STM32_PINMUX('G', 12, ANALOG)>, /* LCD_B1 */ |
| 549 | <STM32_PINMUX('G', 10, ANALOG)>, /* LCD_B2 */ |
| 550 | <STM32_PINMUX('D', 10, ANALOG)>, /* LCD_B3 */ |
| 551 | <STM32_PINMUX('I', 4, ANALOG)>, /* LCD_B4 */ |
| 552 | <STM32_PINMUX('A', 3, ANALOG)>, /* LCD_B5 */ |
| 553 | <STM32_PINMUX('B', 8, ANALOG)>, /* LCD_B6 */ |
| 554 | <STM32_PINMUX('D', 8, ANALOG)>; /* LCD_B7 */ |
| 555 | }; |
| 556 | }; |
| 557 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 558 | ltdc_pins_b: ltdc-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 559 | pins { |
| 560 | pinmux = <STM32_PINMUX('I', 14, AF14)>, /* LCD_CLK */ |
| 561 | <STM32_PINMUX('I', 12, AF14)>, /* LCD_HSYNC */ |
| 562 | <STM32_PINMUX('I', 13, AF14)>, /* LCD_VSYNC */ |
| 563 | <STM32_PINMUX('K', 7, AF14)>, /* LCD_DE */ |
| 564 | <STM32_PINMUX('I', 15, AF14)>, /* LCD_R0 */ |
| 565 | <STM32_PINMUX('J', 0, AF14)>, /* LCD_R1 */ |
| 566 | <STM32_PINMUX('J', 1, AF14)>, /* LCD_R2 */ |
| 567 | <STM32_PINMUX('J', 2, AF14)>, /* LCD_R3 */ |
| 568 | <STM32_PINMUX('J', 3, AF14)>, /* LCD_R4 */ |
| 569 | <STM32_PINMUX('J', 4, AF14)>, /* LCD_R5 */ |
| 570 | <STM32_PINMUX('J', 5, AF14)>, /* LCD_R6 */ |
| 571 | <STM32_PINMUX('J', 6, AF14)>, /* LCD_R7 */ |
| 572 | <STM32_PINMUX('J', 7, AF14)>, /* LCD_G0 */ |
| 573 | <STM32_PINMUX('J', 8, AF14)>, /* LCD_G1 */ |
| 574 | <STM32_PINMUX('J', 9, AF14)>, /* LCD_G2 */ |
| 575 | <STM32_PINMUX('J', 10, AF14)>, /* LCD_G3 */ |
| 576 | <STM32_PINMUX('J', 11, AF14)>, /* LCD_G4 */ |
| 577 | <STM32_PINMUX('K', 0, AF14)>, /* LCD_G5 */ |
| 578 | <STM32_PINMUX('K', 1, AF14)>, /* LCD_G6 */ |
| 579 | <STM32_PINMUX('K', 2, AF14)>, /* LCD_G7 */ |
| 580 | <STM32_PINMUX('J', 12, AF14)>, /* LCD_B0 */ |
| 581 | <STM32_PINMUX('J', 13, AF14)>, /* LCD_B1 */ |
| 582 | <STM32_PINMUX('J', 14, AF14)>, /* LCD_B2 */ |
| 583 | <STM32_PINMUX('J', 15, AF14)>, /* LCD_B3 */ |
| 584 | <STM32_PINMUX('K', 3, AF14)>, /* LCD_B4 */ |
| 585 | <STM32_PINMUX('K', 4, AF14)>, /* LCD_B5 */ |
| 586 | <STM32_PINMUX('K', 5, AF14)>, /* LCD_B6 */ |
| 587 | <STM32_PINMUX('K', 6, AF14)>; /* LCD_B7 */ |
| 588 | bias-disable; |
| 589 | drive-push-pull; |
| 590 | slew-rate = <1>; |
| 591 | }; |
| 592 | }; |
| 593 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 594 | ltdc_sleep_pins_b: ltdc-sleep-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 595 | pins { |
| 596 | pinmux = <STM32_PINMUX('I', 14, ANALOG)>, /* LCD_CLK */ |
| 597 | <STM32_PINMUX('I', 12, ANALOG)>, /* LCD_HSYNC */ |
| 598 | <STM32_PINMUX('I', 13, ANALOG)>, /* LCD_VSYNC */ |
| 599 | <STM32_PINMUX('K', 7, ANALOG)>, /* LCD_DE */ |
| 600 | <STM32_PINMUX('I', 15, ANALOG)>, /* LCD_R0 */ |
| 601 | <STM32_PINMUX('J', 0, ANALOG)>, /* LCD_R1 */ |
| 602 | <STM32_PINMUX('J', 1, ANALOG)>, /* LCD_R2 */ |
| 603 | <STM32_PINMUX('J', 2, ANALOG)>, /* LCD_R3 */ |
| 604 | <STM32_PINMUX('J', 3, ANALOG)>, /* LCD_R4 */ |
| 605 | <STM32_PINMUX('J', 4, ANALOG)>, /* LCD_R5 */ |
| 606 | <STM32_PINMUX('J', 5, ANALOG)>, /* LCD_R6 */ |
| 607 | <STM32_PINMUX('J', 6, ANALOG)>, /* LCD_R7 */ |
| 608 | <STM32_PINMUX('J', 7, ANALOG)>, /* LCD_G0 */ |
| 609 | <STM32_PINMUX('J', 8, ANALOG)>, /* LCD_G1 */ |
| 610 | <STM32_PINMUX('J', 9, ANALOG)>, /* LCD_G2 */ |
| 611 | <STM32_PINMUX('J', 10, ANALOG)>, /* LCD_G3 */ |
| 612 | <STM32_PINMUX('J', 11, ANALOG)>, /* LCD_G4 */ |
| 613 | <STM32_PINMUX('K', 0, ANALOG)>, /* LCD_G5 */ |
| 614 | <STM32_PINMUX('K', 1, ANALOG)>, /* LCD_G6 */ |
| 615 | <STM32_PINMUX('K', 2, ANALOG)>, /* LCD_G7 */ |
| 616 | <STM32_PINMUX('J', 12, ANALOG)>, /* LCD_B0 */ |
| 617 | <STM32_PINMUX('J', 13, ANALOG)>, /* LCD_B1 */ |
| 618 | <STM32_PINMUX('J', 14, ANALOG)>, /* LCD_B2 */ |
| 619 | <STM32_PINMUX('J', 15, ANALOG)>, /* LCD_B3 */ |
| 620 | <STM32_PINMUX('K', 3, ANALOG)>, /* LCD_B4 */ |
| 621 | <STM32_PINMUX('K', 4, ANALOG)>, /* LCD_B5 */ |
| 622 | <STM32_PINMUX('K', 5, ANALOG)>, /* LCD_B6 */ |
| 623 | <STM32_PINMUX('K', 6, ANALOG)>; /* LCD_B7 */ |
| 624 | }; |
| 625 | }; |
| 626 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 627 | ltdc_pins_c: ltdc-2 { |
| 628 | pins1 { |
| 629 | pinmux = <STM32_PINMUX('B', 1, AF9)>, /* LTDC_R6 */ |
| 630 | <STM32_PINMUX('B', 9, AF14)>, /* LTDC_B7 */ |
| 631 | <STM32_PINMUX('C', 0, AF14)>, /* LTDC_R5 */ |
| 632 | <STM32_PINMUX('D', 3, AF14)>, /* LTDC_G7 */ |
| 633 | <STM32_PINMUX('D', 6, AF14)>, /* LTDC_B2 */ |
| 634 | <STM32_PINMUX('D', 10, AF14)>, /* LTDC_B3 */ |
| 635 | <STM32_PINMUX('E', 11, AF14)>, /* LTDC_G3 */ |
| 636 | <STM32_PINMUX('E', 12, AF14)>, /* LTDC_B4 */ |
| 637 | <STM32_PINMUX('E', 13, AF14)>, /* LTDC_DE */ |
| 638 | <STM32_PINMUX('E', 15, AF14)>, /* LTDC_R7 */ |
| 639 | <STM32_PINMUX('H', 4, AF9)>, /* LTDC_G5 */ |
| 640 | <STM32_PINMUX('H', 8, AF14)>, /* LTDC_R2 */ |
| 641 | <STM32_PINMUX('H', 9, AF14)>, /* LTDC_R3 */ |
| 642 | <STM32_PINMUX('H', 10, AF14)>, /* LTDC_R4 */ |
| 643 | <STM32_PINMUX('H', 13, AF14)>, /* LTDC_G2 */ |
| 644 | <STM32_PINMUX('H', 15, AF14)>, /* LTDC_G4 */ |
| 645 | <STM32_PINMUX('I', 1, AF14)>, /* LTDC_G6 */ |
| 646 | <STM32_PINMUX('I', 5, AF14)>, /* LTDC_B5 */ |
| 647 | <STM32_PINMUX('I', 6, AF14)>, /* LTDC_B6 */ |
| 648 | <STM32_PINMUX('I', 9, AF14)>, /* LTDC_VSYNC */ |
| 649 | <STM32_PINMUX('I', 10, AF14)>; /* LTDC_HSYNC */ |
| 650 | bias-disable; |
| 651 | drive-push-pull; |
| 652 | slew-rate = <0>; |
| 653 | }; |
| 654 | pins2 { |
| 655 | pinmux = <STM32_PINMUX('E', 14, AF14)>; /* LTDC_CLK */ |
| 656 | bias-disable; |
| 657 | drive-push-pull; |
| 658 | slew-rate = <1>; |
| 659 | }; |
| 660 | }; |
| 661 | |
| 662 | ltdc_sleep_pins_c: ltdc-sleep-2 { |
| 663 | pins1 { |
| 664 | pinmux = <STM32_PINMUX('B', 1, ANALOG)>, /* LTDC_R6 */ |
| 665 | <STM32_PINMUX('B', 9, ANALOG)>, /* LTDC_B7 */ |
| 666 | <STM32_PINMUX('C', 0, ANALOG)>, /* LTDC_R5 */ |
| 667 | <STM32_PINMUX('D', 3, ANALOG)>, /* LTDC_G7 */ |
| 668 | <STM32_PINMUX('D', 6, ANALOG)>, /* LTDC_B2 */ |
| 669 | <STM32_PINMUX('D', 10, ANALOG)>, /* LTDC_B3 */ |
| 670 | <STM32_PINMUX('E', 11, ANALOG)>, /* LTDC_G3 */ |
| 671 | <STM32_PINMUX('E', 12, ANALOG)>, /* LTDC_B4 */ |
| 672 | <STM32_PINMUX('E', 13, ANALOG)>, /* LTDC_DE */ |
| 673 | <STM32_PINMUX('E', 15, ANALOG)>, /* LTDC_R7 */ |
| 674 | <STM32_PINMUX('H', 4, ANALOG)>, /* LTDC_G5 */ |
| 675 | <STM32_PINMUX('H', 8, ANALOG)>, /* LTDC_R2 */ |
| 676 | <STM32_PINMUX('H', 9, ANALOG)>, /* LTDC_R3 */ |
| 677 | <STM32_PINMUX('H', 10, ANALOG)>, /* LTDC_R4 */ |
| 678 | <STM32_PINMUX('H', 13, ANALOG)>, /* LTDC_G2 */ |
| 679 | <STM32_PINMUX('H', 15, ANALOG)>, /* LTDC_G4 */ |
| 680 | <STM32_PINMUX('I', 1, ANALOG)>, /* LTDC_G6 */ |
| 681 | <STM32_PINMUX('I', 5, ANALOG)>, /* LTDC_B5 */ |
| 682 | <STM32_PINMUX('I', 6, ANALOG)>, /* LTDC_B6 */ |
| 683 | <STM32_PINMUX('I', 9, ANALOG)>, /* LTDC_VSYNC */ |
| 684 | <STM32_PINMUX('I', 10, ANALOG)>, /* LTDC_HSYNC */ |
| 685 | <STM32_PINMUX('E', 14, ANALOG)>; /* LTDC_CLK */ |
| 686 | }; |
| 687 | }; |
| 688 | |
| 689 | ltdc_pins_d: ltdc-3 { |
| 690 | pins1 { |
| 691 | pinmux = <STM32_PINMUX('G', 7, AF14)>; /* LCD_CLK */ |
| 692 | bias-disable; |
| 693 | drive-push-pull; |
| 694 | slew-rate = <3>; |
| 695 | }; |
| 696 | pins2 { |
| 697 | pinmux = <STM32_PINMUX('I', 10, AF14)>, /* LCD_HSYNC */ |
| 698 | <STM32_PINMUX('I', 9, AF14)>, /* LCD_VSYNC */ |
| 699 | <STM32_PINMUX('E', 13, AF14)>, /* LCD_DE */ |
| 700 | <STM32_PINMUX('G', 13, AF14)>, /* LCD_R0 */ |
| 701 | <STM32_PINMUX('H', 3, AF14)>, /* LCD_R1 */ |
| 702 | <STM32_PINMUX('H', 8, AF14)>, /* LCD_R2 */ |
| 703 | <STM32_PINMUX('H', 9, AF14)>, /* LCD_R3 */ |
| 704 | <STM32_PINMUX('A', 5, AF14)>, /* LCD_R4 */ |
| 705 | <STM32_PINMUX('H', 11, AF14)>, /* LCD_R5 */ |
| 706 | <STM32_PINMUX('H', 12, AF14)>, /* LCD_R6 */ |
| 707 | <STM32_PINMUX('E', 15, AF14)>, /* LCD_R7 */ |
| 708 | <STM32_PINMUX('E', 5, AF14)>, /* LCD_G0 */ |
| 709 | <STM32_PINMUX('B', 0, AF14)>, /* LCD_G1 */ |
| 710 | <STM32_PINMUX('H', 13, AF14)>, /* LCD_G2 */ |
| 711 | <STM32_PINMUX('E', 11, AF14)>, /* LCD_G3 */ |
| 712 | <STM32_PINMUX('H', 15, AF14)>, /* LCD_G4 */ |
| 713 | <STM32_PINMUX('H', 4, AF9)>, /* LCD_G5 */ |
| 714 | <STM32_PINMUX('I', 11, AF9)>, /* LCD_G6 */ |
| 715 | <STM32_PINMUX('G', 8, AF14)>, /* LCD_G7 */ |
| 716 | <STM32_PINMUX('D', 9, AF14)>, /* LCD_B0 */ |
| 717 | <STM32_PINMUX('G', 12, AF14)>, /* LCD_B1 */ |
| 718 | <STM32_PINMUX('G', 10, AF14)>, /* LCD_B2 */ |
| 719 | <STM32_PINMUX('D', 10, AF14)>, /* LCD_B3 */ |
| 720 | <STM32_PINMUX('E', 12, AF14)>, /* LCD_B4 */ |
| 721 | <STM32_PINMUX('A', 3, AF14)>, /* LCD_B5 */ |
| 722 | <STM32_PINMUX('B', 8, AF14)>, /* LCD_B6 */ |
| 723 | <STM32_PINMUX('I', 7, AF14)>; /* LCD_B7 */ |
| 724 | bias-disable; |
| 725 | drive-push-pull; |
| 726 | slew-rate = <2>; |
| 727 | }; |
| 728 | }; |
| 729 | |
| 730 | ltdc_sleep_pins_d: ltdc-sleep-3 { |
| 731 | pins { |
| 732 | pinmux = <STM32_PINMUX('G', 7, ANALOG)>, /* LCD_CLK */ |
| 733 | <STM32_PINMUX('I', 10, ANALOG)>, /* LCD_HSYNC */ |
| 734 | <STM32_PINMUX('I', 9, ANALOG)>, /* LCD_VSYNC */ |
| 735 | <STM32_PINMUX('E', 13, ANALOG)>, /* LCD_DE */ |
| 736 | <STM32_PINMUX('G', 13, ANALOG)>, /* LCD_R0 */ |
| 737 | <STM32_PINMUX('H', 3, ANALOG)>, /* LCD_R1 */ |
| 738 | <STM32_PINMUX('H', 8, ANALOG)>, /* LCD_R2 */ |
| 739 | <STM32_PINMUX('H', 9, ANALOG)>, /* LCD_R3 */ |
| 740 | <STM32_PINMUX('A', 5, ANALOG)>, /* LCD_R4 */ |
| 741 | <STM32_PINMUX('H', 11, ANALOG)>, /* LCD_R5 */ |
| 742 | <STM32_PINMUX('H', 12, ANALOG)>, /* LCD_R6 */ |
| 743 | <STM32_PINMUX('E', 15, ANALOG)>, /* LCD_R7 */ |
| 744 | <STM32_PINMUX('E', 5, ANALOG)>, /* LCD_G0 */ |
| 745 | <STM32_PINMUX('B', 0, ANALOG)>, /* LCD_G1 */ |
| 746 | <STM32_PINMUX('H', 13, ANALOG)>, /* LCD_G2 */ |
| 747 | <STM32_PINMUX('E', 11, ANALOG)>, /* LCD_G3 */ |
| 748 | <STM32_PINMUX('H', 15, ANALOG)>, /* LCD_G4 */ |
| 749 | <STM32_PINMUX('H', 4, ANALOG)>, /* LCD_G5 */ |
| 750 | <STM32_PINMUX('I', 11, ANALOG)>, /* LCD_G6 */ |
| 751 | <STM32_PINMUX('G', 8, ANALOG)>, /* LCD_G7 */ |
| 752 | <STM32_PINMUX('D', 9, ANALOG)>, /* LCD_B0 */ |
| 753 | <STM32_PINMUX('G', 12, ANALOG)>, /* LCD_B1 */ |
| 754 | <STM32_PINMUX('G', 10, ANALOG)>, /* LCD_B2 */ |
| 755 | <STM32_PINMUX('D', 10, ANALOG)>, /* LCD_B3 */ |
| 756 | <STM32_PINMUX('E', 12, ANALOG)>, /* LCD_B4 */ |
| 757 | <STM32_PINMUX('A', 3, ANALOG)>, /* LCD_B5 */ |
| 758 | <STM32_PINMUX('B', 8, ANALOG)>, /* LCD_B6 */ |
| 759 | <STM32_PINMUX('I', 7, ANALOG)>; /* LCD_B7 */ |
| 760 | }; |
| 761 | }; |
| 762 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 763 | m_can1_pins_a: m-can1-0 { |
| 764 | pins1 { |
| 765 | pinmux = <STM32_PINMUX('H', 13, AF9)>; /* CAN1_TX */ |
| 766 | slew-rate = <1>; |
| 767 | drive-push-pull; |
| 768 | bias-disable; |
| 769 | }; |
| 770 | pins2 { |
| 771 | pinmux = <STM32_PINMUX('I', 9, AF9)>; /* CAN1_RX */ |
| 772 | bias-disable; |
| 773 | }; |
| 774 | }; |
| 775 | |
| 776 | m_can1_sleep_pins_a: m_can1-sleep-0 { |
| 777 | pins { |
| 778 | pinmux = <STM32_PINMUX('H', 13, ANALOG)>, /* CAN1_TX */ |
| 779 | <STM32_PINMUX('I', 9, ANALOG)>; /* CAN1_RX */ |
| 780 | }; |
| 781 | }; |
| 782 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 783 | m_can1_pins_b: m-can1-1 { |
| 784 | pins1 { |
| 785 | pinmux = <STM32_PINMUX('A', 12, AF9)>; /* CAN1_TX */ |
| 786 | slew-rate = <1>; |
| 787 | drive-push-pull; |
| 788 | bias-disable; |
| 789 | }; |
| 790 | pins2 { |
| 791 | pinmux = <STM32_PINMUX('A', 11, AF9)>; /* CAN1_RX */ |
| 792 | bias-disable; |
| 793 | }; |
| 794 | }; |
| 795 | |
| 796 | m_can1_sleep_pins_b: m_can1-sleep-1 { |
| 797 | pins { |
| 798 | pinmux = <STM32_PINMUX('A', 12, ANALOG)>, /* CAN1_TX */ |
| 799 | <STM32_PINMUX('A', 11, ANALOG)>; /* CAN1_RX */ |
| 800 | }; |
| 801 | }; |
| 802 | |
| 803 | m_can2_pins_a: m-can2-0 { |
| 804 | pins1 { |
| 805 | pinmux = <STM32_PINMUX('B', 13, AF9)>; /* CAN2_TX */ |
| 806 | slew-rate = <1>; |
| 807 | drive-push-pull; |
| 808 | bias-disable; |
| 809 | }; |
| 810 | pins2 { |
| 811 | pinmux = <STM32_PINMUX('B', 5, AF9)>; /* CAN2_RX */ |
| 812 | bias-disable; |
| 813 | }; |
| 814 | }; |
| 815 | |
| 816 | m_can2_sleep_pins_a: m_can2-sleep-0 { |
| 817 | pins { |
| 818 | pinmux = <STM32_PINMUX('B', 13, ANALOG)>, /* CAN2_TX */ |
| 819 | <STM32_PINMUX('B', 5, ANALOG)>; /* CAN2_RX */ |
| 820 | }; |
| 821 | }; |
| 822 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 823 | pwm1_pins_a: pwm1-0 { |
| 824 | pins { |
| 825 | pinmux = <STM32_PINMUX('E', 9, AF1)>, /* TIM1_CH1 */ |
| 826 | <STM32_PINMUX('E', 11, AF1)>, /* TIM1_CH2 */ |
| 827 | <STM32_PINMUX('E', 14, AF1)>; /* TIM1_CH4 */ |
| 828 | bias-pull-down; |
| 829 | drive-push-pull; |
| 830 | slew-rate = <0>; |
| 831 | }; |
| 832 | }; |
| 833 | |
| 834 | pwm1_sleep_pins_a: pwm1-sleep-0 { |
| 835 | pins { |
| 836 | pinmux = <STM32_PINMUX('E', 9, ANALOG)>, /* TIM1_CH1 */ |
| 837 | <STM32_PINMUX('E', 11, ANALOG)>, /* TIM1_CH2 */ |
| 838 | <STM32_PINMUX('E', 14, ANALOG)>; /* TIM1_CH4 */ |
| 839 | }; |
| 840 | }; |
| 841 | |
| 842 | pwm2_pins_a: pwm2-0 { |
| 843 | pins { |
| 844 | pinmux = <STM32_PINMUX('A', 3, AF1)>; /* TIM2_CH4 */ |
| 845 | bias-pull-down; |
| 846 | drive-push-pull; |
| 847 | slew-rate = <0>; |
| 848 | }; |
| 849 | }; |
| 850 | |
| 851 | pwm2_sleep_pins_a: pwm2-sleep-0 { |
| 852 | pins { |
| 853 | pinmux = <STM32_PINMUX('A', 3, ANALOG)>; /* TIM2_CH4 */ |
| 854 | }; |
| 855 | }; |
| 856 | |
| 857 | pwm3_pins_a: pwm3-0 { |
| 858 | pins { |
| 859 | pinmux = <STM32_PINMUX('C', 7, AF2)>; /* TIM3_CH2 */ |
| 860 | bias-pull-down; |
| 861 | drive-push-pull; |
| 862 | slew-rate = <0>; |
| 863 | }; |
| 864 | }; |
| 865 | |
| 866 | pwm3_sleep_pins_a: pwm3-sleep-0 { |
| 867 | pins { |
| 868 | pinmux = <STM32_PINMUX('C', 7, ANALOG)>; /* TIM3_CH2 */ |
| 869 | }; |
| 870 | }; |
| 871 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 872 | pwm3_pins_b: pwm3-1 { |
| 873 | pins { |
| 874 | pinmux = <STM32_PINMUX('B', 5, AF2)>; /* TIM3_CH2 */ |
| 875 | bias-disable; |
| 876 | drive-push-pull; |
| 877 | slew-rate = <0>; |
| 878 | }; |
| 879 | }; |
| 880 | |
| 881 | pwm3_sleep_pins_b: pwm3-sleep-1 { |
| 882 | pins { |
| 883 | pinmux = <STM32_PINMUX('B', 5, ANALOG)>; /* TIM3_CH2 */ |
| 884 | }; |
| 885 | }; |
| 886 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 887 | pwm4_pins_a: pwm4-0 { |
| 888 | pins { |
| 889 | pinmux = <STM32_PINMUX('D', 14, AF2)>, /* TIM4_CH3 */ |
| 890 | <STM32_PINMUX('D', 15, AF2)>; /* TIM4_CH4 */ |
| 891 | bias-pull-down; |
| 892 | drive-push-pull; |
| 893 | slew-rate = <0>; |
| 894 | }; |
| 895 | }; |
| 896 | |
| 897 | pwm4_sleep_pins_a: pwm4-sleep-0 { |
| 898 | pins { |
| 899 | pinmux = <STM32_PINMUX('D', 14, ANALOG)>, /* TIM4_CH3 */ |
| 900 | <STM32_PINMUX('D', 15, ANALOG)>; /* TIM4_CH4 */ |
| 901 | }; |
| 902 | }; |
| 903 | |
| 904 | pwm4_pins_b: pwm4-1 { |
| 905 | pins { |
| 906 | pinmux = <STM32_PINMUX('D', 13, AF2)>; /* TIM4_CH2 */ |
| 907 | bias-pull-down; |
| 908 | drive-push-pull; |
| 909 | slew-rate = <0>; |
| 910 | }; |
| 911 | }; |
| 912 | |
| 913 | pwm4_sleep_pins_b: pwm4-sleep-1 { |
| 914 | pins { |
| 915 | pinmux = <STM32_PINMUX('D', 13, ANALOG)>; /* TIM4_CH2 */ |
| 916 | }; |
| 917 | }; |
| 918 | |
| 919 | pwm5_pins_a: pwm5-0 { |
| 920 | pins { |
| 921 | pinmux = <STM32_PINMUX('H', 11, AF2)>; /* TIM5_CH2 */ |
| 922 | bias-pull-down; |
| 923 | drive-push-pull; |
| 924 | slew-rate = <0>; |
| 925 | }; |
| 926 | }; |
| 927 | |
| 928 | pwm5_sleep_pins_a: pwm5-sleep-0 { |
| 929 | pins { |
| 930 | pinmux = <STM32_PINMUX('H', 11, ANALOG)>; /* TIM5_CH2 */ |
| 931 | }; |
| 932 | }; |
| 933 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 934 | pwm5_pins_b: pwm5-1 { |
| 935 | pins { |
| 936 | pinmux = <STM32_PINMUX('H', 11, AF2)>, /* TIM5_CH2 */ |
| 937 | <STM32_PINMUX('H', 12, AF2)>, /* TIM5_CH3 */ |
| 938 | <STM32_PINMUX('I', 0, AF2)>; /* TIM5_CH4 */ |
| 939 | bias-disable; |
| 940 | drive-push-pull; |
| 941 | slew-rate = <0>; |
| 942 | }; |
| 943 | }; |
| 944 | |
| 945 | pwm5_sleep_pins_b: pwm5-sleep-1 { |
| 946 | pins { |
| 947 | pinmux = <STM32_PINMUX('H', 11, ANALOG)>, /* TIM5_CH2 */ |
| 948 | <STM32_PINMUX('H', 12, ANALOG)>, /* TIM5_CH3 */ |
| 949 | <STM32_PINMUX('I', 0, ANALOG)>; /* TIM5_CH4 */ |
| 950 | }; |
| 951 | }; |
| 952 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 953 | pwm8_pins_a: pwm8-0 { |
| 954 | pins { |
| 955 | pinmux = <STM32_PINMUX('I', 2, AF3)>; /* TIM8_CH4 */ |
| 956 | bias-pull-down; |
| 957 | drive-push-pull; |
| 958 | slew-rate = <0>; |
| 959 | }; |
| 960 | }; |
| 961 | |
| 962 | pwm8_sleep_pins_a: pwm8-sleep-0 { |
| 963 | pins { |
| 964 | pinmux = <STM32_PINMUX('I', 2, ANALOG)>; /* TIM8_CH4 */ |
| 965 | }; |
| 966 | }; |
| 967 | |
| 968 | pwm12_pins_a: pwm12-0 { |
| 969 | pins { |
| 970 | pinmux = <STM32_PINMUX('H', 6, AF2)>; /* TIM12_CH1 */ |
| 971 | bias-pull-down; |
| 972 | drive-push-pull; |
| 973 | slew-rate = <0>; |
| 974 | }; |
| 975 | }; |
| 976 | |
| 977 | pwm12_sleep_pins_a: pwm12-sleep-0 { |
| 978 | pins { |
| 979 | pinmux = <STM32_PINMUX('H', 6, ANALOG)>; /* TIM12_CH1 */ |
| 980 | }; |
| 981 | }; |
| 982 | |
| 983 | qspi_clk_pins_a: qspi-clk-0 { |
| 984 | pins { |
| 985 | pinmux = <STM32_PINMUX('F', 10, AF9)>; /* QSPI_CLK */ |
| 986 | bias-disable; |
| 987 | drive-push-pull; |
| 988 | slew-rate = <3>; |
| 989 | }; |
| 990 | }; |
| 991 | |
| 992 | qspi_clk_sleep_pins_a: qspi-clk-sleep-0 { |
| 993 | pins { |
| 994 | pinmux = <STM32_PINMUX('F', 10, ANALOG)>; /* QSPI_CLK */ |
| 995 | }; |
| 996 | }; |
| 997 | |
| 998 | qspi_bk1_pins_a: qspi-bk1-0 { |
| 999 | pins1 { |
| 1000 | pinmux = <STM32_PINMUX('F', 8, AF10)>, /* QSPI_BK1_IO0 */ |
| 1001 | <STM32_PINMUX('F', 9, AF10)>, /* QSPI_BK1_IO1 */ |
| 1002 | <STM32_PINMUX('F', 7, AF9)>, /* QSPI_BK1_IO2 */ |
| 1003 | <STM32_PINMUX('F', 6, AF9)>; /* QSPI_BK1_IO3 */ |
| 1004 | bias-disable; |
| 1005 | drive-push-pull; |
| 1006 | slew-rate = <1>; |
| 1007 | }; |
| 1008 | pins2 { |
| 1009 | pinmux = <STM32_PINMUX('B', 6, AF10)>; /* QSPI_BK1_NCS */ |
| 1010 | bias-pull-up; |
| 1011 | drive-push-pull; |
| 1012 | slew-rate = <1>; |
| 1013 | }; |
| 1014 | }; |
| 1015 | |
| 1016 | qspi_bk1_sleep_pins_a: qspi-bk1-sleep-0 { |
| 1017 | pins { |
| 1018 | pinmux = <STM32_PINMUX('F', 8, ANALOG)>, /* QSPI_BK1_IO0 */ |
| 1019 | <STM32_PINMUX('F', 9, ANALOG)>, /* QSPI_BK1_IO1 */ |
| 1020 | <STM32_PINMUX('F', 7, ANALOG)>, /* QSPI_BK1_IO2 */ |
| 1021 | <STM32_PINMUX('F', 6, ANALOG)>, /* QSPI_BK1_IO3 */ |
| 1022 | <STM32_PINMUX('B', 6, ANALOG)>; /* QSPI_BK1_NCS */ |
| 1023 | }; |
| 1024 | }; |
| 1025 | |
| 1026 | qspi_bk2_pins_a: qspi-bk2-0 { |
| 1027 | pins1 { |
| 1028 | pinmux = <STM32_PINMUX('H', 2, AF9)>, /* QSPI_BK2_IO0 */ |
| 1029 | <STM32_PINMUX('H', 3, AF9)>, /* QSPI_BK2_IO1 */ |
| 1030 | <STM32_PINMUX('G', 10, AF11)>, /* QSPI_BK2_IO2 */ |
| 1031 | <STM32_PINMUX('G', 7, AF11)>; /* QSPI_BK2_IO3 */ |
| 1032 | bias-disable; |
| 1033 | drive-push-pull; |
| 1034 | slew-rate = <1>; |
| 1035 | }; |
| 1036 | pins2 { |
| 1037 | pinmux = <STM32_PINMUX('C', 0, AF10)>; /* QSPI_BK2_NCS */ |
| 1038 | bias-pull-up; |
| 1039 | drive-push-pull; |
| 1040 | slew-rate = <1>; |
| 1041 | }; |
| 1042 | }; |
| 1043 | |
| 1044 | qspi_bk2_sleep_pins_a: qspi-bk2-sleep-0 { |
| 1045 | pins { |
| 1046 | pinmux = <STM32_PINMUX('H', 2, ANALOG)>, /* QSPI_BK2_IO0 */ |
| 1047 | <STM32_PINMUX('H', 3, ANALOG)>, /* QSPI_BK2_IO1 */ |
| 1048 | <STM32_PINMUX('G', 10, ANALOG)>, /* QSPI_BK2_IO2 */ |
| 1049 | <STM32_PINMUX('G', 7, ANALOG)>, /* QSPI_BK2_IO3 */ |
| 1050 | <STM32_PINMUX('C', 0, ANALOG)>; /* QSPI_BK2_NCS */ |
| 1051 | }; |
| 1052 | }; |
| 1053 | |
| 1054 | sai2a_pins_a: sai2a-0 { |
| 1055 | pins { |
| 1056 | pinmux = <STM32_PINMUX('I', 5, AF10)>, /* SAI2_SCK_A */ |
| 1057 | <STM32_PINMUX('I', 6, AF10)>, /* SAI2_SD_A */ |
| 1058 | <STM32_PINMUX('I', 7, AF10)>, /* SAI2_FS_A */ |
| 1059 | <STM32_PINMUX('E', 0, AF10)>; /* SAI2_MCLK_A */ |
| 1060 | slew-rate = <0>; |
| 1061 | drive-push-pull; |
| 1062 | bias-disable; |
| 1063 | }; |
| 1064 | }; |
| 1065 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1066 | sai2a_sleep_pins_a: sai2a-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1067 | pins { |
| 1068 | pinmux = <STM32_PINMUX('I', 5, ANALOG)>, /* SAI2_SCK_A */ |
| 1069 | <STM32_PINMUX('I', 6, ANALOG)>, /* SAI2_SD_A */ |
| 1070 | <STM32_PINMUX('I', 7, ANALOG)>, /* SAI2_FS_A */ |
| 1071 | <STM32_PINMUX('E', 0, ANALOG)>; /* SAI2_MCLK_A */ |
| 1072 | }; |
| 1073 | }; |
| 1074 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1075 | sai2a_pins_b: sai2a-1 { |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1076 | pins1 { |
| 1077 | pinmux = <STM32_PINMUX('I', 6, AF10)>, /* SAI2_SD_A */ |
| 1078 | <STM32_PINMUX('I', 7, AF10)>, /* SAI2_FS_A */ |
| 1079 | <STM32_PINMUX('D', 13, AF10)>; /* SAI2_SCK_A */ |
| 1080 | slew-rate = <0>; |
| 1081 | drive-push-pull; |
| 1082 | bias-disable; |
| 1083 | }; |
| 1084 | }; |
| 1085 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1086 | sai2a_sleep_pins_b: sai2a-sleep-1 { |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1087 | pins { |
| 1088 | pinmux = <STM32_PINMUX('I', 6, ANALOG)>, /* SAI2_SD_A */ |
| 1089 | <STM32_PINMUX('I', 7, ANALOG)>, /* SAI2_FS_A */ |
| 1090 | <STM32_PINMUX('D', 13, ANALOG)>; /* SAI2_SCK_A */ |
| 1091 | }; |
| 1092 | }; |
| 1093 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1094 | sai2a_pins_c: sai2a-4 { |
| 1095 | pins { |
| 1096 | pinmux = <STM32_PINMUX('D', 13, AF10)>, /* SAI2_SCK_A */ |
| 1097 | <STM32_PINMUX('D', 11, AF10)>, /* SAI2_SD_A */ |
| 1098 | <STM32_PINMUX('D', 12, AF10)>; /* SAI2_FS_A */ |
| 1099 | slew-rate = <0>; |
| 1100 | drive-push-pull; |
| 1101 | bias-disable; |
| 1102 | }; |
| 1103 | }; |
| 1104 | |
| 1105 | sai2a_sleep_pins_c: sai2a-5 { |
| 1106 | pins { |
| 1107 | pinmux = <STM32_PINMUX('D', 13, ANALOG)>, /* SAI2_SCK_A */ |
| 1108 | <STM32_PINMUX('D', 11, ANALOG)>, /* SAI2_SD_A */ |
| 1109 | <STM32_PINMUX('D', 12, ANALOG)>; /* SAI2_FS_A */ |
| 1110 | }; |
| 1111 | }; |
| 1112 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1113 | sai2b_pins_a: sai2b-0 { |
| 1114 | pins1 { |
| 1115 | pinmux = <STM32_PINMUX('E', 12, AF10)>, /* SAI2_SCK_B */ |
| 1116 | <STM32_PINMUX('E', 13, AF10)>, /* SAI2_FS_B */ |
| 1117 | <STM32_PINMUX('E', 14, AF10)>; /* SAI2_MCLK_B */ |
| 1118 | slew-rate = <0>; |
| 1119 | drive-push-pull; |
| 1120 | bias-disable; |
| 1121 | }; |
| 1122 | pins2 { |
| 1123 | pinmux = <STM32_PINMUX('F', 11, AF10)>; /* SAI2_SD_B */ |
| 1124 | bias-disable; |
| 1125 | }; |
| 1126 | }; |
| 1127 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1128 | sai2b_sleep_pins_a: sai2b-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1129 | pins { |
| 1130 | pinmux = <STM32_PINMUX('F', 11, ANALOG)>, /* SAI2_SD_B */ |
| 1131 | <STM32_PINMUX('E', 12, ANALOG)>, /* SAI2_SCK_B */ |
| 1132 | <STM32_PINMUX('E', 13, ANALOG)>, /* SAI2_FS_B */ |
| 1133 | <STM32_PINMUX('E', 14, ANALOG)>; /* SAI2_MCLK_B */ |
| 1134 | }; |
| 1135 | }; |
| 1136 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1137 | sai2b_pins_b: sai2b-1 { |
| 1138 | pins { |
| 1139 | pinmux = <STM32_PINMUX('F', 11, AF10)>; /* SAI2_SD_B */ |
| 1140 | bias-disable; |
| 1141 | }; |
| 1142 | }; |
| 1143 | |
| 1144 | sai2b_sleep_pins_b: sai2b-sleep-1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1145 | pins { |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1146 | pinmux = <STM32_PINMUX('F', 11, ANALOG)>; /* SAI2_SD_B */ |
| 1147 | }; |
| 1148 | }; |
| 1149 | |
| 1150 | sai2b_pins_c: sai2a-4 { |
| 1151 | pins1 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1152 | pinmux = <STM32_PINMUX('F', 11, AF10)>; /* SAI2_SD_B */ |
| 1153 | bias-disable; |
| 1154 | }; |
| 1155 | }; |
| 1156 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1157 | sai2b_sleep_pins_c: sai2a-sleep-5 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1158 | pins { |
| 1159 | pinmux = <STM32_PINMUX('F', 11, ANALOG)>; /* SAI2_SD_B */ |
| 1160 | }; |
| 1161 | }; |
| 1162 | |
| 1163 | sai4a_pins_a: sai4a-0 { |
| 1164 | pins { |
| 1165 | pinmux = <STM32_PINMUX('B', 5, AF10)>; /* SAI4_SD_A */ |
| 1166 | slew-rate = <0>; |
| 1167 | drive-push-pull; |
| 1168 | bias-disable; |
| 1169 | }; |
| 1170 | }; |
| 1171 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1172 | sai4a_sleep_pins_a: sai4a-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1173 | pins { |
| 1174 | pinmux = <STM32_PINMUX('B', 5, ANALOG)>; /* SAI4_SD_A */ |
| 1175 | }; |
| 1176 | }; |
| 1177 | |
| 1178 | sdmmc1_b4_pins_a: sdmmc1-b4-0 { |
| 1179 | pins1 { |
| 1180 | pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */ |
| 1181 | <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */ |
| 1182 | <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */ |
| 1183 | <STM32_PINMUX('C', 11, AF12)>, /* SDMMC1_D3 */ |
| 1184 | <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */ |
| 1185 | slew-rate = <1>; |
| 1186 | drive-push-pull; |
| 1187 | bias-disable; |
| 1188 | }; |
| 1189 | pins2 { |
| 1190 | pinmux = <STM32_PINMUX('C', 12, AF12)>; /* SDMMC1_CK */ |
| 1191 | slew-rate = <2>; |
| 1192 | drive-push-pull; |
| 1193 | bias-disable; |
| 1194 | }; |
| 1195 | }; |
| 1196 | |
| 1197 | sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 { |
| 1198 | pins1 { |
| 1199 | pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */ |
| 1200 | <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */ |
| 1201 | <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */ |
| 1202 | <STM32_PINMUX('C', 11, AF12)>; /* SDMMC1_D3 */ |
| 1203 | slew-rate = <1>; |
| 1204 | drive-push-pull; |
| 1205 | bias-disable; |
| 1206 | }; |
| 1207 | pins2 { |
| 1208 | pinmux = <STM32_PINMUX('C', 12, AF12)>; /* SDMMC1_CK */ |
| 1209 | slew-rate = <2>; |
| 1210 | drive-push-pull; |
| 1211 | bias-disable; |
| 1212 | }; |
| 1213 | pins3 { |
| 1214 | pinmux = <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */ |
| 1215 | slew-rate = <1>; |
| 1216 | drive-open-drain; |
| 1217 | bias-disable; |
| 1218 | }; |
| 1219 | }; |
| 1220 | |
| 1221 | sdmmc1_b4_sleep_pins_a: sdmmc1-b4-sleep-0 { |
| 1222 | pins { |
| 1223 | pinmux = <STM32_PINMUX('C', 8, ANALOG)>, /* SDMMC1_D0 */ |
| 1224 | <STM32_PINMUX('C', 9, ANALOG)>, /* SDMMC1_D1 */ |
| 1225 | <STM32_PINMUX('C', 10, ANALOG)>, /* SDMMC1_D2 */ |
| 1226 | <STM32_PINMUX('C', 11, ANALOG)>, /* SDMMC1_D3 */ |
| 1227 | <STM32_PINMUX('C', 12, ANALOG)>, /* SDMMC1_CK */ |
| 1228 | <STM32_PINMUX('D', 2, ANALOG)>; /* SDMMC1_CMD */ |
| 1229 | }; |
| 1230 | }; |
| 1231 | |
| 1232 | sdmmc1_dir_pins_a: sdmmc1-dir-0 { |
| 1233 | pins1 { |
| 1234 | pinmux = <STM32_PINMUX('F', 2, AF11)>, /* SDMMC1_D0DIR */ |
| 1235 | <STM32_PINMUX('C', 7, AF8)>, /* SDMMC1_D123DIR */ |
| 1236 | <STM32_PINMUX('B', 9, AF11)>; /* SDMMC1_CDIR */ |
| 1237 | slew-rate = <1>; |
| 1238 | drive-push-pull; |
| 1239 | bias-pull-up; |
| 1240 | }; |
| 1241 | pins2{ |
| 1242 | pinmux = <STM32_PINMUX('E', 4, AF8)>; /* SDMMC1_CKIN */ |
| 1243 | bias-pull-up; |
| 1244 | }; |
| 1245 | }; |
| 1246 | |
| 1247 | sdmmc1_dir_sleep_pins_a: sdmmc1-dir-sleep-0 { |
| 1248 | pins { |
| 1249 | pinmux = <STM32_PINMUX('F', 2, ANALOG)>, /* SDMMC1_D0DIR */ |
| 1250 | <STM32_PINMUX('C', 7, ANALOG)>, /* SDMMC1_D123DIR */ |
| 1251 | <STM32_PINMUX('B', 9, ANALOG)>, /* SDMMC1_CDIR */ |
| 1252 | <STM32_PINMUX('E', 4, ANALOG)>; /* SDMMC1_CKIN */ |
| 1253 | }; |
| 1254 | }; |
| 1255 | |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 1256 | sdmmc1_dir_pins_b: sdmmc1-dir-1 { |
| 1257 | pins1 { |
| 1258 | pinmux = <STM32_PINMUX('F', 2, AF11)>, /* SDMMC1_D0DIR */ |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1259 | <STM32_PINMUX('E', 14, AF11)>, /* SDMMC1_D123DIR */ |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 1260 | <STM32_PINMUX('B', 9, AF11)>; /* SDMMC1_CDIR */ |
| 1261 | slew-rate = <1>; |
| 1262 | drive-push-pull; |
| 1263 | bias-pull-up; |
| 1264 | }; |
| 1265 | pins2{ |
| 1266 | pinmux = <STM32_PINMUX('E', 4, AF8)>; /* SDMMC1_CKIN */ |
| 1267 | bias-pull-up; |
| 1268 | }; |
| 1269 | }; |
| 1270 | |
| 1271 | sdmmc1_dir_sleep_pins_b: sdmmc1-dir-sleep-1 { |
| 1272 | pins { |
| 1273 | pinmux = <STM32_PINMUX('F', 2, ANALOG)>, /* SDMMC1_D0DIR */ |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1274 | <STM32_PINMUX('E', 14, ANALOG)>, /* SDMMC1_D123DIR */ |
| 1275 | <STM32_PINMUX('B', 9, ANALOG)>, /* SDMMC1_CDIR */ |
| 1276 | <STM32_PINMUX('E', 4, ANALOG)>; /* SDMMC1_CKIN */ |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 1277 | }; |
| 1278 | }; |
| 1279 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1280 | sdmmc2_b4_pins_a: sdmmc2-b4-0 { |
| 1281 | pins1 { |
| 1282 | pinmux = <STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */ |
| 1283 | <STM32_PINMUX('B', 15, AF9)>, /* SDMMC2_D1 */ |
| 1284 | <STM32_PINMUX('B', 3, AF9)>, /* SDMMC2_D2 */ |
| 1285 | <STM32_PINMUX('B', 4, AF9)>, /* SDMMC2_D3 */ |
| 1286 | <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */ |
| 1287 | slew-rate = <1>; |
| 1288 | drive-push-pull; |
| 1289 | bias-pull-up; |
| 1290 | }; |
| 1291 | pins2 { |
| 1292 | pinmux = <STM32_PINMUX('E', 3, AF9)>; /* SDMMC2_CK */ |
| 1293 | slew-rate = <2>; |
| 1294 | drive-push-pull; |
| 1295 | bias-pull-up; |
| 1296 | }; |
| 1297 | }; |
| 1298 | |
| 1299 | sdmmc2_b4_od_pins_a: sdmmc2-b4-od-0 { |
| 1300 | pins1 { |
| 1301 | pinmux = <STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */ |
| 1302 | <STM32_PINMUX('B', 15, AF9)>, /* SDMMC2_D1 */ |
| 1303 | <STM32_PINMUX('B', 3, AF9)>, /* SDMMC2_D2 */ |
| 1304 | <STM32_PINMUX('B', 4, AF9)>; /* SDMMC2_D3 */ |
| 1305 | slew-rate = <1>; |
| 1306 | drive-push-pull; |
| 1307 | bias-pull-up; |
| 1308 | }; |
| 1309 | pins2 { |
| 1310 | pinmux = <STM32_PINMUX('E', 3, AF9)>; /* SDMMC2_CK */ |
| 1311 | slew-rate = <2>; |
| 1312 | drive-push-pull; |
| 1313 | bias-pull-up; |
| 1314 | }; |
| 1315 | pins3 { |
| 1316 | pinmux = <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */ |
| 1317 | slew-rate = <1>; |
| 1318 | drive-open-drain; |
| 1319 | bias-pull-up; |
| 1320 | }; |
| 1321 | }; |
| 1322 | |
| 1323 | sdmmc2_b4_sleep_pins_a: sdmmc2-b4-sleep-0 { |
| 1324 | pins { |
| 1325 | pinmux = <STM32_PINMUX('B', 14, ANALOG)>, /* SDMMC2_D0 */ |
| 1326 | <STM32_PINMUX('B', 15, ANALOG)>, /* SDMMC2_D1 */ |
| 1327 | <STM32_PINMUX('B', 3, ANALOG)>, /* SDMMC2_D2 */ |
| 1328 | <STM32_PINMUX('B', 4, ANALOG)>, /* SDMMC2_D3 */ |
| 1329 | <STM32_PINMUX('E', 3, ANALOG)>, /* SDMMC2_CK */ |
| 1330 | <STM32_PINMUX('G', 6, ANALOG)>; /* SDMMC2_CMD */ |
| 1331 | }; |
| 1332 | }; |
| 1333 | |
| 1334 | sdmmc2_b4_pins_b: sdmmc2-b4-1 { |
| 1335 | pins1 { |
| 1336 | pinmux = <STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */ |
| 1337 | <STM32_PINMUX('B', 15, AF9)>, /* SDMMC2_D1 */ |
| 1338 | <STM32_PINMUX('B', 3, AF9)>, /* SDMMC2_D2 */ |
| 1339 | <STM32_PINMUX('B', 4, AF9)>, /* SDMMC2_D3 */ |
| 1340 | <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */ |
| 1341 | slew-rate = <1>; |
| 1342 | drive-push-pull; |
| 1343 | bias-disable; |
| 1344 | }; |
| 1345 | pins2 { |
| 1346 | pinmux = <STM32_PINMUX('E', 3, AF9)>; /* SDMMC2_CK */ |
| 1347 | slew-rate = <2>; |
| 1348 | drive-push-pull; |
| 1349 | bias-disable; |
| 1350 | }; |
| 1351 | }; |
| 1352 | |
| 1353 | sdmmc2_b4_od_pins_b: sdmmc2-b4-od-1 { |
| 1354 | pins1 { |
| 1355 | pinmux = <STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */ |
| 1356 | <STM32_PINMUX('B', 15, AF9)>, /* SDMMC2_D1 */ |
| 1357 | <STM32_PINMUX('B', 3, AF9)>, /* SDMMC2_D2 */ |
| 1358 | <STM32_PINMUX('B', 4, AF9)>; /* SDMMC2_D3 */ |
| 1359 | slew-rate = <1>; |
| 1360 | drive-push-pull; |
| 1361 | bias-disable; |
| 1362 | }; |
| 1363 | pins2 { |
| 1364 | pinmux = <STM32_PINMUX('E', 3, AF9)>; /* SDMMC2_CK */ |
| 1365 | slew-rate = <2>; |
| 1366 | drive-push-pull; |
| 1367 | bias-disable; |
| 1368 | }; |
| 1369 | pins3 { |
| 1370 | pinmux = <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */ |
| 1371 | slew-rate = <1>; |
| 1372 | drive-open-drain; |
| 1373 | bias-disable; |
| 1374 | }; |
| 1375 | }; |
| 1376 | |
| 1377 | sdmmc2_d47_pins_a: sdmmc2-d47-0 { |
| 1378 | pins { |
| 1379 | pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ |
| 1380 | <STM32_PINMUX('A', 9, AF10)>, /* SDMMC2_D5 */ |
| 1381 | <STM32_PINMUX('E', 5, AF9)>, /* SDMMC2_D6 */ |
| 1382 | <STM32_PINMUX('D', 3, AF9)>; /* SDMMC2_D7 */ |
| 1383 | slew-rate = <1>; |
| 1384 | drive-push-pull; |
| 1385 | bias-pull-up; |
| 1386 | }; |
| 1387 | }; |
| 1388 | |
| 1389 | sdmmc2_d47_sleep_pins_a: sdmmc2-d47-sleep-0 { |
| 1390 | pins { |
| 1391 | pinmux = <STM32_PINMUX('A', 8, ANALOG)>, /* SDMMC2_D4 */ |
| 1392 | <STM32_PINMUX('A', 9, ANALOG)>, /* SDMMC2_D5 */ |
| 1393 | <STM32_PINMUX('E', 5, ANALOG)>, /* SDMMC2_D6 */ |
| 1394 | <STM32_PINMUX('D', 3, ANALOG)>; /* SDMMC2_D7 */ |
| 1395 | }; |
| 1396 | }; |
| 1397 | |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 1398 | sdmmc2_d47_pins_b: sdmmc2-d47-1 { |
| 1399 | pins { |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1400 | pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ |
| 1401 | <STM32_PINMUX('A', 9, AF10)>, /* SDMMC2_D5 */ |
| 1402 | <STM32_PINMUX('C', 6, AF10)>, /* SDMMC2_D6 */ |
| 1403 | <STM32_PINMUX('C', 7, AF10)>; /* SDMMC2_D7 */ |
| 1404 | slew-rate = <1>; |
| 1405 | drive-push-pull; |
| 1406 | bias-disable; |
| 1407 | }; |
| 1408 | }; |
| 1409 | |
| 1410 | sdmmc2_d47_sleep_pins_b: sdmmc2-d47-sleep-1 { |
| 1411 | pins { |
| 1412 | pinmux = <STM32_PINMUX('A', 8, ANALOG)>, /* SDMMC2_D4 */ |
| 1413 | <STM32_PINMUX('A', 9, ANALOG)>, /* SDMMC2_D5 */ |
| 1414 | <STM32_PINMUX('C', 6, ANALOG)>, /* SDMMC2_D6 */ |
| 1415 | <STM32_PINMUX('C', 7, ANALOG)>; /* SDMMC2_D7 */ |
| 1416 | }; |
| 1417 | }; |
| 1418 | |
| 1419 | sdmmc2_d47_pins_c: sdmmc2-d47-2 { |
| 1420 | pins { |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 1421 | pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ |
| 1422 | <STM32_PINMUX('A', 15, AF9)>, /* SDMMC2_D5 */ |
| 1423 | <STM32_PINMUX('C', 6, AF10)>, /* SDMMC2_D6 */ |
| 1424 | <STM32_PINMUX('C', 7, AF10)>; /* SDMMC2_D7 */ |
| 1425 | slew-rate = <1>; |
| 1426 | drive-push-pull; |
| 1427 | bias-pull-up; |
| 1428 | }; |
| 1429 | }; |
| 1430 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1431 | sdmmc2_d47_sleep_pins_c: sdmmc2-d47-sleep-2 { |
Patrick Delaunay | 8aee15d | 2020-04-21 12:27:35 +0200 | [diff] [blame] | 1432 | pins { |
| 1433 | pinmux = <STM32_PINMUX('A', 8, ANALOG)>, /* SDMMC2_D4 */ |
| 1434 | <STM32_PINMUX('A', 15, ANALOG)>, /* SDMMC2_D5 */ |
| 1435 | <STM32_PINMUX('C', 6, ANALOG)>, /* SDMMC2_D6 */ |
| 1436 | <STM32_PINMUX('C', 7, ANALOG)>; /* SDMMC2_D7 */ |
| 1437 | }; |
| 1438 | }; |
| 1439 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1440 | sdmmc3_b4_pins_a: sdmmc3-b4-0 { |
| 1441 | pins1 { |
| 1442 | pinmux = <STM32_PINMUX('F', 0, AF9)>, /* SDMMC3_D0 */ |
| 1443 | <STM32_PINMUX('F', 4, AF9)>, /* SDMMC3_D1 */ |
| 1444 | <STM32_PINMUX('F', 5, AF9)>, /* SDMMC3_D2 */ |
| 1445 | <STM32_PINMUX('D', 7, AF10)>, /* SDMMC3_D3 */ |
| 1446 | <STM32_PINMUX('F', 1, AF9)>; /* SDMMC3_CMD */ |
| 1447 | slew-rate = <1>; |
| 1448 | drive-push-pull; |
| 1449 | bias-pull-up; |
| 1450 | }; |
| 1451 | pins2 { |
| 1452 | pinmux = <STM32_PINMUX('G', 15, AF10)>; /* SDMMC3_CK */ |
| 1453 | slew-rate = <2>; |
| 1454 | drive-push-pull; |
| 1455 | bias-pull-up; |
| 1456 | }; |
| 1457 | }; |
| 1458 | |
| 1459 | sdmmc3_b4_od_pins_a: sdmmc3-b4-od-0 { |
| 1460 | pins1 { |
| 1461 | pinmux = <STM32_PINMUX('F', 0, AF9)>, /* SDMMC3_D0 */ |
| 1462 | <STM32_PINMUX('F', 4, AF9)>, /* SDMMC3_D1 */ |
| 1463 | <STM32_PINMUX('F', 5, AF9)>, /* SDMMC3_D2 */ |
| 1464 | <STM32_PINMUX('D', 7, AF10)>; /* SDMMC3_D3 */ |
| 1465 | slew-rate = <1>; |
| 1466 | drive-push-pull; |
| 1467 | bias-pull-up; |
| 1468 | }; |
| 1469 | pins2 { |
| 1470 | pinmux = <STM32_PINMUX('G', 15, AF10)>; /* SDMMC3_CK */ |
| 1471 | slew-rate = <2>; |
| 1472 | drive-push-pull; |
| 1473 | bias-pull-up; |
| 1474 | }; |
| 1475 | pins3 { |
| 1476 | pinmux = <STM32_PINMUX('F', 1, AF9)>; /* SDMMC2_CMD */ |
| 1477 | slew-rate = <1>; |
| 1478 | drive-open-drain; |
| 1479 | bias-pull-up; |
| 1480 | }; |
| 1481 | }; |
| 1482 | |
| 1483 | sdmmc3_b4_sleep_pins_a: sdmmc3-b4-sleep-0 { |
| 1484 | pins { |
| 1485 | pinmux = <STM32_PINMUX('F', 0, ANALOG)>, /* SDMMC3_D0 */ |
| 1486 | <STM32_PINMUX('F', 4, ANALOG)>, /* SDMMC3_D1 */ |
| 1487 | <STM32_PINMUX('F', 5, ANALOG)>, /* SDMMC3_D2 */ |
| 1488 | <STM32_PINMUX('D', 7, ANALOG)>, /* SDMMC3_D3 */ |
| 1489 | <STM32_PINMUX('G', 15, ANALOG)>, /* SDMMC3_CK */ |
| 1490 | <STM32_PINMUX('F', 1, ANALOG)>; /* SDMMC3_CMD */ |
| 1491 | }; |
| 1492 | }; |
| 1493 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1494 | sdmmc3_b4_pins_b: sdmmc3-b4-1 { |
| 1495 | pins1 { |
| 1496 | pinmux = <STM32_PINMUX('F', 0, AF9)>, /* SDMMC3_D0 */ |
| 1497 | <STM32_PINMUX('F', 4, AF9)>, /* SDMMC3_D1 */ |
| 1498 | <STM32_PINMUX('D', 5, AF10)>, /* SDMMC3_D2 */ |
| 1499 | <STM32_PINMUX('D', 7, AF10)>, /* SDMMC3_D3 */ |
| 1500 | <STM32_PINMUX('D', 0, AF10)>; /* SDMMC3_CMD */ |
| 1501 | slew-rate = <1>; |
| 1502 | drive-push-pull; |
| 1503 | bias-pull-up; |
| 1504 | }; |
| 1505 | pins2 { |
| 1506 | pinmux = <STM32_PINMUX('G', 15, AF10)>; /* SDMMC3_CK */ |
| 1507 | slew-rate = <2>; |
| 1508 | drive-push-pull; |
| 1509 | bias-pull-up; |
| 1510 | }; |
| 1511 | }; |
| 1512 | |
| 1513 | sdmmc3_b4_od_pins_b: sdmmc3-b4-od-1 { |
| 1514 | pins1 { |
| 1515 | pinmux = <STM32_PINMUX('F', 0, AF9)>, /* SDMMC3_D0 */ |
| 1516 | <STM32_PINMUX('F', 4, AF9)>, /* SDMMC3_D1 */ |
| 1517 | <STM32_PINMUX('D', 5, AF10)>, /* SDMMC3_D2 */ |
| 1518 | <STM32_PINMUX('D', 7, AF10)>; /* SDMMC3_D3 */ |
| 1519 | slew-rate = <1>; |
| 1520 | drive-push-pull; |
| 1521 | bias-pull-up; |
| 1522 | }; |
| 1523 | pins2 { |
| 1524 | pinmux = <STM32_PINMUX('G', 15, AF10)>; /* SDMMC3_CK */ |
| 1525 | slew-rate = <2>; |
| 1526 | drive-push-pull; |
| 1527 | bias-pull-up; |
| 1528 | }; |
| 1529 | pins3 { |
| 1530 | pinmux = <STM32_PINMUX('D', 0, AF10)>; /* SDMMC2_CMD */ |
| 1531 | slew-rate = <1>; |
| 1532 | drive-open-drain; |
| 1533 | bias-pull-up; |
| 1534 | }; |
| 1535 | }; |
| 1536 | |
| 1537 | sdmmc3_b4_sleep_pins_b: sdmmc3-b4-sleep-1 { |
| 1538 | pins { |
| 1539 | pinmux = <STM32_PINMUX('F', 0, ANALOG)>, /* SDMMC3_D0 */ |
| 1540 | <STM32_PINMUX('F', 4, ANALOG)>, /* SDMMC3_D1 */ |
| 1541 | <STM32_PINMUX('D', 5, ANALOG)>, /* SDMMC3_D2 */ |
| 1542 | <STM32_PINMUX('D', 7, ANALOG)>, /* SDMMC3_D3 */ |
| 1543 | <STM32_PINMUX('G', 15, ANALOG)>, /* SDMMC3_CK */ |
| 1544 | <STM32_PINMUX('D', 0, ANALOG)>; /* SDMMC3_CMD */ |
| 1545 | }; |
| 1546 | }; |
| 1547 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1548 | spdifrx_pins_a: spdifrx-0 { |
| 1549 | pins { |
| 1550 | pinmux = <STM32_PINMUX('G', 12, AF8)>; /* SPDIF_IN1 */ |
| 1551 | bias-disable; |
| 1552 | }; |
| 1553 | }; |
| 1554 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1555 | spdifrx_sleep_pins_a: spdifrx-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1556 | pins { |
| 1557 | pinmux = <STM32_PINMUX('G', 12, ANALOG)>; /* SPDIF_IN1 */ |
| 1558 | }; |
| 1559 | }; |
| 1560 | |
| 1561 | spi2_pins_a: spi2-0 { |
| 1562 | pins1 { |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1563 | pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI1_SCK */ |
| 1564 | <STM32_PINMUX('I', 3, AF5)>; /* SPI1_MOSI */ |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1565 | bias-disable; |
| 1566 | drive-push-pull; |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1567 | slew-rate = <1>; |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1568 | }; |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1569 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1570 | pins2 { |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1571 | pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI1_MISO */ |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1572 | bias-disable; |
| 1573 | }; |
| 1574 | }; |
| 1575 | |
Patrick Delaunay | 551efca | 2020-09-16 10:01:32 +0200 | [diff] [blame^] | 1576 | spi4_pins_a: spi4-0 { |
| 1577 | pins { |
| 1578 | pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */ |
| 1579 | <STM32_PINMUX('E', 6, AF5)>; /* SPI4_MOSI */ |
| 1580 | bias-disable; |
| 1581 | drive-push-pull; |
| 1582 | slew-rate = <1>; |
| 1583 | }; |
| 1584 | pins2 { |
| 1585 | pinmux = <STM32_PINMUX('E', 13, AF5)>; /* SPI4_MISO */ |
| 1586 | bias-disable; |
| 1587 | }; |
| 1588 | }; |
| 1589 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1590 | stusb1600_pins_a: stusb1600-0 { |
| 1591 | pins { |
| 1592 | pinmux = <STM32_PINMUX('I', 11, ANALOG)>; |
| 1593 | bias-pull-up; |
| 1594 | }; |
| 1595 | }; |
| 1596 | |
Patrick Delaunay | 551efca | 2020-09-16 10:01:32 +0200 | [diff] [blame^] | 1597 | uart4_pins_a: uart4-0 { |
| 1598 | pins1 { |
| 1599 | pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ |
| 1600 | bias-disable; |
| 1601 | drive-push-pull; |
| 1602 | slew-rate = <0>; |
| 1603 | }; |
| 1604 | pins2 { |
| 1605 | pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ |
| 1606 | bias-disable; |
| 1607 | }; |
| 1608 | }; |
| 1609 | |
| 1610 | uart4_idle_pins_a: uart4-idle-0 { |
| 1611 | pins1 { |
| 1612 | pinmux = <STM32_PINMUX('G', 11, ANALOG)>; /* UART4_TX */ |
| 1613 | }; |
| 1614 | pins2 { |
| 1615 | pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ |
| 1616 | bias-disable; |
| 1617 | }; |
| 1618 | }; |
| 1619 | |
| 1620 | uart4_sleep_pins_a: uart4-sleep-0 { |
| 1621 | pins { |
| 1622 | pinmux = <STM32_PINMUX('G', 11, ANALOG)>, /* UART4_TX */ |
| 1623 | <STM32_PINMUX('B', 2, ANALOG)>; /* UART4_RX */ |
| 1624 | }; |
| 1625 | }; |
| 1626 | |
| 1627 | uart4_pins_b: uart4-1 { |
| 1628 | pins1 { |
| 1629 | pinmux = <STM32_PINMUX('D', 1, AF8)>; /* UART4_TX */ |
| 1630 | bias-disable; |
| 1631 | drive-push-pull; |
| 1632 | slew-rate = <0>; |
| 1633 | }; |
| 1634 | pins2 { |
| 1635 | pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ |
| 1636 | bias-disable; |
| 1637 | }; |
| 1638 | }; |
| 1639 | |
| 1640 | uart4_pins_c: uart4-2 { |
| 1641 | pins1 { |
| 1642 | pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ |
| 1643 | bias-disable; |
| 1644 | drive-push-pull; |
| 1645 | slew-rate = <0>; |
| 1646 | }; |
| 1647 | pins2 { |
| 1648 | pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ |
| 1649 | bias-disable; |
| 1650 | }; |
| 1651 | }; |
| 1652 | |
| 1653 | uart7_pins_a: uart7-0 { |
| 1654 | pins1 { |
| 1655 | pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART7_TX */ |
| 1656 | bias-disable; |
| 1657 | drive-push-pull; |
| 1658 | slew-rate = <0>; |
| 1659 | }; |
| 1660 | pins2 { |
| 1661 | pinmux = <STM32_PINMUX('E', 7, AF7)>, /* UART7_RX */ |
| 1662 | <STM32_PINMUX('E', 10, AF7)>, /* UART7_CTS */ |
| 1663 | <STM32_PINMUX('E', 9, AF7)>; /* UART7_RTS */ |
| 1664 | bias-disable; |
| 1665 | }; |
| 1666 | }; |
| 1667 | |
| 1668 | uart7_pins_b: uart7-1 { |
| 1669 | pins1 { |
| 1670 | pinmux = <STM32_PINMUX('F', 7, AF7)>; /* UART7_TX */ |
| 1671 | bias-disable; |
| 1672 | drive-push-pull; |
| 1673 | slew-rate = <0>; |
| 1674 | }; |
| 1675 | pins2 { |
| 1676 | pinmux = <STM32_PINMUX('F', 6, AF7)>; /* UART7_RX */ |
| 1677 | bias-disable; |
| 1678 | }; |
| 1679 | }; |
| 1680 | |
| 1681 | uart7_pins_c: uart7-2 { |
| 1682 | pins1 { |
| 1683 | pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART7_TX */ |
| 1684 | bias-disable; |
| 1685 | drive-push-pull; |
| 1686 | slew-rate = <0>; |
| 1687 | }; |
| 1688 | pins2 { |
| 1689 | pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */ |
| 1690 | bias-disable; |
| 1691 | }; |
| 1692 | }; |
| 1693 | |
| 1694 | uart7_idle_pins_c: uart7-idle-2 { |
| 1695 | pins1 { |
| 1696 | pinmux = <STM32_PINMUX('E', 8, ANALOG)>; /* UART7_TX */ |
| 1697 | }; |
| 1698 | pins2 { |
| 1699 | pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */ |
| 1700 | bias-disable; |
| 1701 | }; |
| 1702 | }; |
| 1703 | |
| 1704 | uart7_sleep_pins_c: uart7-sleep-2 { |
| 1705 | pins { |
| 1706 | pinmux = <STM32_PINMUX('E', 8, ANALOG)>, /* UART7_TX */ |
| 1707 | <STM32_PINMUX('E', 7, ANALOG)>; /* UART7_RX */ |
| 1708 | }; |
| 1709 | }; |
| 1710 | |
| 1711 | uart8_pins_a: uart8-0 { |
| 1712 | pins1 { |
| 1713 | pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */ |
| 1714 | bias-disable; |
| 1715 | drive-push-pull; |
| 1716 | slew-rate = <0>; |
| 1717 | }; |
| 1718 | pins2 { |
| 1719 | pinmux = <STM32_PINMUX('E', 0, AF8)>; /* UART8_RX */ |
| 1720 | bias-disable; |
| 1721 | }; |
| 1722 | }; |
| 1723 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1724 | usart2_pins_a: usart2-0 { |
| 1725 | pins1 { |
| 1726 | pinmux = <STM32_PINMUX('F', 5, AF7)>, /* USART2_TX */ |
| 1727 | <STM32_PINMUX('D', 4, AF7)>; /* USART2_RTS */ |
| 1728 | bias-disable; |
| 1729 | drive-push-pull; |
| 1730 | slew-rate = <0>; |
| 1731 | }; |
| 1732 | pins2 { |
| 1733 | pinmux = <STM32_PINMUX('D', 6, AF7)>, /* USART2_RX */ |
| 1734 | <STM32_PINMUX('D', 3, AF7)>; /* USART2_CTS_NSS */ |
| 1735 | bias-disable; |
| 1736 | }; |
| 1737 | }; |
| 1738 | |
| 1739 | usart2_sleep_pins_a: usart2-sleep-0 { |
| 1740 | pins { |
| 1741 | pinmux = <STM32_PINMUX('F', 5, ANALOG)>, /* USART2_TX */ |
| 1742 | <STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */ |
| 1743 | <STM32_PINMUX('D', 6, ANALOG)>, /* USART2_RX */ |
| 1744 | <STM32_PINMUX('D', 3, ANALOG)>; /* USART2_CTS_NSS */ |
| 1745 | }; |
| 1746 | }; |
| 1747 | |
| 1748 | usart2_pins_b: usart2-1 { |
| 1749 | pins1 { |
| 1750 | pinmux = <STM32_PINMUX('F', 5, AF7)>, /* USART2_TX */ |
| 1751 | <STM32_PINMUX('A', 1, AF7)>; /* USART2_RTS */ |
| 1752 | bias-disable; |
| 1753 | drive-push-pull; |
| 1754 | slew-rate = <0>; |
| 1755 | }; |
| 1756 | pins2 { |
| 1757 | pinmux = <STM32_PINMUX('F', 4, AF7)>, /* USART2_RX */ |
| 1758 | <STM32_PINMUX('E', 15, AF7)>; /* USART2_CTS_NSS */ |
| 1759 | bias-disable; |
| 1760 | }; |
| 1761 | }; |
| 1762 | |
| 1763 | usart2_sleep_pins_b: usart2-sleep-1 { |
| 1764 | pins { |
| 1765 | pinmux = <STM32_PINMUX('F', 5, ANALOG)>, /* USART2_TX */ |
| 1766 | <STM32_PINMUX('A', 1, ANALOG)>, /* USART2_RTS */ |
| 1767 | <STM32_PINMUX('F', 4, ANALOG)>, /* USART2_RX */ |
| 1768 | <STM32_PINMUX('E', 15, ANALOG)>; /* USART2_CTS_NSS */ |
| 1769 | }; |
| 1770 | }; |
| 1771 | |
Patrick Delaunay | 551efca | 2020-09-16 10:01:32 +0200 | [diff] [blame^] | 1772 | usart2_pins_c: usart2-2 { |
| 1773 | pins1 { |
| 1774 | pinmux = <STM32_PINMUX('D', 5, AF7)>, /* USART2_TX */ |
| 1775 | <STM32_PINMUX('D', 4, AF7)>; /* USART2_RTS */ |
| 1776 | bias-disable; |
| 1777 | drive-push-pull; |
| 1778 | slew-rate = <3>; |
| 1779 | }; |
| 1780 | pins2 { |
| 1781 | pinmux = <STM32_PINMUX('D', 6, AF7)>, /* USART2_RX */ |
| 1782 | <STM32_PINMUX('D', 3, AF7)>; /* USART2_CTS_NSS */ |
| 1783 | bias-disable; |
| 1784 | }; |
| 1785 | }; |
| 1786 | |
| 1787 | usart2_idle_pins_c: usart2-idle-2 { |
| 1788 | pins1 { |
| 1789 | pinmux = <STM32_PINMUX('D', 5, ANALOG)>, /* USART2_TX */ |
| 1790 | <STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */ |
| 1791 | <STM32_PINMUX('D', 3, ANALOG)>; /* USART2_CTS_NSS */ |
| 1792 | }; |
| 1793 | pins2 { |
| 1794 | pinmux = <STM32_PINMUX('D', 6, AF7)>; /* USART2_RX */ |
| 1795 | bias-disable; |
| 1796 | }; |
| 1797 | }; |
| 1798 | |
| 1799 | usart2_sleep_pins_c: usart2-sleep-2 { |
| 1800 | pins { |
| 1801 | pinmux = <STM32_PINMUX('D', 5, ANALOG)>, /* USART2_TX */ |
| 1802 | <STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */ |
| 1803 | <STM32_PINMUX('D', 6, ANALOG)>, /* USART2_RX */ |
| 1804 | <STM32_PINMUX('D', 3, ANALOG)>; /* USART2_CTS_NSS */ |
| 1805 | }; |
| 1806 | }; |
| 1807 | |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1808 | usart3_pins_a: usart3-0 { |
| 1809 | pins1 { |
| 1810 | pinmux = <STM32_PINMUX('B', 10, AF7)>; /* USART3_TX */ |
| 1811 | bias-disable; |
| 1812 | drive-push-pull; |
| 1813 | slew-rate = <0>; |
| 1814 | }; |
| 1815 | pins2 { |
Patrick Delaunay | 551efca | 2020-09-16 10:01:32 +0200 | [diff] [blame^] | 1816 | pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */ |
| 1817 | bias-disable; |
| 1818 | }; |
| 1819 | }; |
| 1820 | |
| 1821 | usart3_pins_b: usart3-1 { |
| 1822 | pins1 { |
| 1823 | pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */ |
| 1824 | <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */ |
| 1825 | bias-disable; |
| 1826 | drive-push-pull; |
| 1827 | slew-rate = <0>; |
| 1828 | }; |
| 1829 | pins2 { |
| 1830 | pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */ |
| 1831 | <STM32_PINMUX('I', 10, AF8)>; /* USART3_CTS_NSS */ |
| 1832 | bias-disable; |
| 1833 | }; |
| 1834 | }; |
| 1835 | |
| 1836 | usart3_idle_pins_b: usart3-idle-1 { |
| 1837 | pins1 { |
| 1838 | pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ |
| 1839 | <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ |
| 1840 | <STM32_PINMUX('I', 10, ANALOG)>; /* USART3_CTS_NSS */ |
| 1841 | }; |
| 1842 | pins2 { |
| 1843 | pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */ |
| 1844 | bias-disable; |
| 1845 | }; |
| 1846 | }; |
| 1847 | |
| 1848 | usart3_sleep_pins_b: usart3-sleep-1 { |
| 1849 | pins { |
| 1850 | pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ |
| 1851 | <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ |
| 1852 | <STM32_PINMUX('I', 10, ANALOG)>, /* USART3_CTS_NSS */ |
| 1853 | <STM32_PINMUX('B', 12, ANALOG)>; /* USART3_RX */ |
| 1854 | }; |
| 1855 | }; |
| 1856 | |
| 1857 | usart3_pins_c: usart3-2 { |
| 1858 | pins1 { |
| 1859 | pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */ |
| 1860 | <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */ |
| 1861 | bias-disable; |
| 1862 | drive-push-pull; |
| 1863 | slew-rate = <0>; |
| 1864 | }; |
| 1865 | pins2 { |
| 1866 | pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */ |
| 1867 | <STM32_PINMUX('B', 13, AF7)>; /* USART3_CTS_NSS */ |
| 1868 | bias-disable; |
| 1869 | }; |
| 1870 | }; |
| 1871 | |
| 1872 | usart3_idle_pins_c: usart3-idle-2 { |
| 1873 | pins1 { |
| 1874 | pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ |
| 1875 | <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ |
| 1876 | <STM32_PINMUX('B', 13, ANALOG)>; /* USART3_CTS_NSS */ |
| 1877 | }; |
| 1878 | pins2 { |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1879 | pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */ |
| 1880 | bias-disable; |
| 1881 | }; |
| 1882 | }; |
| 1883 | |
Patrick Delaunay | 551efca | 2020-09-16 10:01:32 +0200 | [diff] [blame^] | 1884 | usart3_sleep_pins_c: usart3-sleep-2 { |
| 1885 | pins { |
| 1886 | pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ |
| 1887 | <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ |
| 1888 | <STM32_PINMUX('B', 13, ANALOG)>, /* USART3_CTS_NSS */ |
| 1889 | <STM32_PINMUX('B', 12, ANALOG)>; /* USART3_RX */ |
| 1890 | }; |
| 1891 | }; |
| 1892 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1893 | uart4_pins_a: uart4-0 { |
| 1894 | pins1 { |
| 1895 | pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ |
| 1896 | bias-disable; |
| 1897 | drive-push-pull; |
| 1898 | slew-rate = <0>; |
| 1899 | }; |
| 1900 | pins2 { |
| 1901 | pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ |
| 1902 | bias-disable; |
| 1903 | }; |
| 1904 | }; |
| 1905 | |
| 1906 | uart4_pins_b: uart4-1 { |
| 1907 | pins1 { |
| 1908 | pinmux = <STM32_PINMUX('D', 1, AF8)>; /* UART4_TX */ |
| 1909 | bias-disable; |
| 1910 | drive-push-pull; |
| 1911 | slew-rate = <0>; |
| 1912 | }; |
| 1913 | pins2 { |
| 1914 | pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ |
| 1915 | bias-disable; |
| 1916 | }; |
| 1917 | }; |
| 1918 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1919 | uart4_pins_c: uart4-2 { |
| 1920 | pins1 { |
| 1921 | pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ |
| 1922 | bias-disable; |
| 1923 | drive-push-pull; |
| 1924 | slew-rate = <0>; |
| 1925 | }; |
| 1926 | pins2 { |
| 1927 | pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */ |
| 1928 | bias-disable; |
| 1929 | }; |
| 1930 | }; |
| 1931 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1932 | uart7_pins_a: uart7-0 { |
| 1933 | pins1 { |
| 1934 | pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART4_TX */ |
| 1935 | bias-disable; |
| 1936 | drive-push-pull; |
| 1937 | slew-rate = <0>; |
| 1938 | }; |
| 1939 | pins2 { |
| 1940 | pinmux = <STM32_PINMUX('E', 7, AF7)>, /* UART4_RX */ |
| 1941 | <STM32_PINMUX('E', 10, AF7)>, /* UART4_CTS */ |
| 1942 | <STM32_PINMUX('E', 9, AF7)>; /* UART4_RTS */ |
| 1943 | bias-disable; |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1944 | }; |
| 1945 | }; |
| 1946 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1947 | uart7_pins_b: uart7-1 { |
| 1948 | pins1 { |
| 1949 | pinmux = <STM32_PINMUX('F', 7, AF7)>; /* UART7_TX */ |
| 1950 | bias-disable; |
| 1951 | drive-push-pull; |
| 1952 | slew-rate = <0>; |
| 1953 | }; |
| 1954 | pins2 { |
| 1955 | pinmux = <STM32_PINMUX('F', 6, AF7)>; /* UART7_RX */ |
| 1956 | bias-disable; |
| 1957 | }; |
| 1958 | }; |
| 1959 | |
Patrick Delaunay | df0d20a | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1960 | uart8_pins_a: uart8-0 { |
| 1961 | pins1 { |
| 1962 | pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */ |
| 1963 | bias-disable; |
| 1964 | drive-push-pull; |
| 1965 | slew-rate = <0>; |
| 1966 | }; |
| 1967 | pins2 { |
| 1968 | pinmux = <STM32_PINMUX('E', 0, AF8)>; /* UART8_RX */ |
| 1969 | bias-disable; |
| 1970 | }; |
| 1971 | }; |
| 1972 | |
| 1973 | usbotg_hs_pins_a: usbotg-hs-0 { |
| 1974 | pins { |
| 1975 | pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */ |
| 1976 | }; |
| 1977 | }; |
| 1978 | |
| 1979 | usbotg_fs_dp_dm_pins_a: usbotg-fs-dp-dm-0 { |
| 1980 | pins { |
| 1981 | pinmux = <STM32_PINMUX('A', 11, ANALOG)>, /* OTG_FS_DM */ |
| 1982 | <STM32_PINMUX('A', 12, ANALOG)>; /* OTG_FS_DP */ |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1983 | }; |
| 1984 | }; |
| 1985 | }; |
| 1986 | |
| 1987 | &pinctrl_z { |
| 1988 | i2c2_pins_b2: i2c2-0 { |
| 1989 | pins { |
| 1990 | pinmux = <STM32_PINMUX('Z', 0, AF3)>; /* I2C2_SCL */ |
| 1991 | bias-disable; |
| 1992 | drive-open-drain; |
| 1993 | slew-rate = <0>; |
| 1994 | }; |
| 1995 | }; |
| 1996 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1997 | i2c2_sleep_pins_b2: i2c2-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1998 | pins { |
| 1999 | pinmux = <STM32_PINMUX('Z', 0, ANALOG)>; /* I2C2_SCL */ |
| 2000 | }; |
| 2001 | }; |
| 2002 | |
| 2003 | i2c4_pins_a: i2c4-0 { |
| 2004 | pins { |
| 2005 | pinmux = <STM32_PINMUX('Z', 4, AF6)>, /* I2C4_SCL */ |
| 2006 | <STM32_PINMUX('Z', 5, AF6)>; /* I2C4_SDA */ |
| 2007 | bias-disable; |
| 2008 | drive-open-drain; |
| 2009 | slew-rate = <0>; |
| 2010 | }; |
| 2011 | }; |
| 2012 | |
Patrick Delaunay | cdc2ca1 | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 2013 | i2c4_sleep_pins_a: i2c4-sleep-0 { |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 2014 | pins { |
| 2015 | pinmux = <STM32_PINMUX('Z', 4, ANALOG)>, /* I2C4_SCL */ |
| 2016 | <STM32_PINMUX('Z', 5, ANALOG)>; /* I2C4_SDA */ |
| 2017 | }; |
| 2018 | }; |
| 2019 | |
| 2020 | spi1_pins_a: spi1-0 { |
| 2021 | pins1 { |
| 2022 | pinmux = <STM32_PINMUX('Z', 0, AF5)>, /* SPI1_SCK */ |
| 2023 | <STM32_PINMUX('Z', 2, AF5)>; /* SPI1_MOSI */ |
| 2024 | bias-disable; |
| 2025 | drive-push-pull; |
| 2026 | slew-rate = <1>; |
| 2027 | }; |
| 2028 | |
| 2029 | pins2 { |
| 2030 | pinmux = <STM32_PINMUX('Z', 1, AF5)>; /* SPI1_MISO */ |
| 2031 | bias-disable; |
| 2032 | }; |
| 2033 | }; |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 2034 | }; |