Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | &tlmm_pinmux { |
| 4 | sdc4_gpios: sdc4-gpios { |
| 5 | pios { |
| 6 | pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68"; |
| 7 | function = "sdc4"; |
| 8 | }; |
| 9 | }; |
| 10 | |
| 11 | sdcc1_pins: sdcc1-pin-active { |
| 12 | clk { |
| 13 | pins = "sdc1_clk"; |
| 14 | drive-strengh = <16>; |
| 15 | bias-disable; |
| 16 | }; |
| 17 | |
| 18 | cmd { |
| 19 | pins = "sdc1_cmd"; |
| 20 | drive-strengh = <10>; |
| 21 | bias-pull-up; |
| 22 | }; |
| 23 | |
| 24 | data { |
| 25 | pins = "sdc1_data"; |
| 26 | drive-strengh = <10>; |
| 27 | bias-pull-up; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | sdcc3_pins: sdcc3-pin-active { |
| 32 | clk { |
| 33 | pins = "sdc3_clk"; |
| 34 | drive-strengh = <8>; |
| 35 | bias-disable; |
| 36 | }; |
| 37 | |
| 38 | cmd { |
| 39 | pins = "sdc3_cmd"; |
| 40 | drive-strengh = <8>; |
| 41 | bias-pull-up; |
| 42 | }; |
| 43 | |
| 44 | data { |
| 45 | pins = "sdc3_data"; |
| 46 | drive-strengh = <8>; |
| 47 | bias-pull-up; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | ps_hold: ps_hold { |
| 52 | mux { |
| 53 | pins = "gpio78"; |
| 54 | function = "ps_hold"; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | i2c1_pins: i2c1 { |
| 59 | mux { |
| 60 | pins = "gpio20", "gpio21"; |
| 61 | function = "gsbi1"; |
| 62 | }; |
| 63 | |
| 64 | pinconf { |
| 65 | pins = "gpio20", "gpio21"; |
| 66 | drive-strength = <16>; |
| 67 | bias-disable; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | i2c1_pins_sleep: i2c1_pins_sleep { |
| 72 | mux { |
| 73 | pins = "gpio20", "gpio21"; |
| 74 | function = "gpio"; |
| 75 | }; |
| 76 | pinconf { |
| 77 | pins = "gpio20", "gpio21"; |
| 78 | drive-strength = <2>; |
| 79 | bias-disable; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | gsbi1_uart_2pins: gsbi1_uart_2pins { |
| 84 | mux { |
| 85 | pins = "gpio18", "gpio19"; |
| 86 | function = "gsbi1"; |
| 87 | }; |
| 88 | }; |
| 89 | |
| 90 | gsbi1_uart_4pins: gsbi1_uart_4pins { |
| 91 | mux { |
| 92 | pins = "gpio18", "gpio19", "gpio20", "gpio21"; |
| 93 | function = "gsbi1"; |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | i2c2_pins: i2c2 { |
| 98 | mux { |
| 99 | pins = "gpio24", "gpio25"; |
| 100 | function = "gsbi2"; |
| 101 | }; |
| 102 | |
| 103 | pinconf { |
| 104 | pins = "gpio24", "gpio25"; |
| 105 | drive-strength = <16>; |
| 106 | bias-disable; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | i2c2_pins_sleep: i2c2_pins_sleep { |
| 111 | mux { |
| 112 | pins = "gpio24", "gpio25"; |
| 113 | function = "gpio"; |
| 114 | }; |
| 115 | |
| 116 | pinconf { |
| 117 | pins = "gpio24", "gpio25"; |
| 118 | drive-strength = <2>; |
| 119 | bias-disable; |
| 120 | }; |
| 121 | }; |
| 122 | |
| 123 | i2c3_pins: i2c3 { |
| 124 | mux { |
| 125 | pins = "gpio8", "gpio9"; |
| 126 | function = "gsbi3"; |
| 127 | }; |
| 128 | |
| 129 | pinconf { |
| 130 | pins = "gpio8", "gpio9"; |
| 131 | drive-strength = <16>; |
| 132 | bias-disable; |
| 133 | }; |
| 134 | }; |
| 135 | |
| 136 | i2c3_pins_sleep: i2c3_pins_sleep { |
| 137 | mux { |
| 138 | pins = "gpio8", "gpio9"; |
| 139 | function = "gpio"; |
| 140 | }; |
| 141 | pinconf { |
| 142 | pins = "gpio8", "gpio9"; |
| 143 | drive-strength = <2>; |
| 144 | bias-disable; |
| 145 | }; |
| 146 | }; |
| 147 | |
| 148 | i2c4_pins: i2c4 { |
| 149 | mux { |
| 150 | pins = "gpio12", "gpio13"; |
| 151 | function = "gsbi4"; |
| 152 | }; |
| 153 | |
| 154 | pinconf { |
| 155 | pins = "gpio12", "gpio13"; |
| 156 | drive-strength = <16>; |
| 157 | bias-disable; |
| 158 | }; |
| 159 | }; |
| 160 | |
| 161 | i2c4_pins_sleep: i2c4_pins_sleep { |
| 162 | mux { |
| 163 | pins = "gpio12", "gpio13"; |
| 164 | function = "gpio"; |
| 165 | }; |
| 166 | pinconf { |
| 167 | pins = "gpio12", "gpio13"; |
| 168 | drive-strength = <2>; |
| 169 | bias-disable; |
| 170 | }; |
| 171 | }; |
| 172 | |
| 173 | spi5_default: spi5_default { |
| 174 | pinmux { |
| 175 | pins = "gpio51", "gpio52", "gpio54"; |
| 176 | function = "gsbi5"; |
| 177 | }; |
| 178 | |
| 179 | pinmux_cs { |
| 180 | function = "gpio"; |
| 181 | pins = "gpio53"; |
| 182 | }; |
| 183 | |
| 184 | pinconf { |
| 185 | pins = "gpio51", "gpio52", "gpio54"; |
| 186 | drive-strength = <16>; |
| 187 | bias-disable; |
| 188 | }; |
| 189 | |
| 190 | pinconf_cs { |
| 191 | pins = "gpio53"; |
| 192 | drive-strength = <16>; |
| 193 | bias-disable; |
| 194 | output-high; |
| 195 | }; |
| 196 | }; |
| 197 | |
| 198 | spi5_sleep: spi5_sleep { |
| 199 | pinmux { |
| 200 | function = "gpio"; |
| 201 | pins = "gpio51", "gpio52", "gpio53", "gpio54"; |
| 202 | }; |
| 203 | |
| 204 | pinconf { |
| 205 | pins = "gpio51", "gpio52", "gpio53", "gpio54"; |
| 206 | drive-strength = <2>; |
| 207 | bias-pull-down; |
| 208 | }; |
| 209 | }; |
| 210 | |
| 211 | i2c6_pins: i2c6 { |
| 212 | mux { |
| 213 | pins = "gpio16", "gpio17"; |
| 214 | function = "gsbi6"; |
| 215 | }; |
| 216 | |
| 217 | pinconf { |
| 218 | pins = "gpio16", "gpio17"; |
| 219 | drive-strength = <16>; |
| 220 | bias-disable; |
| 221 | }; |
| 222 | }; |
| 223 | |
| 224 | i2c6_pins_sleep: i2c6_pins_sleep { |
| 225 | mux { |
| 226 | pins = "gpio16", "gpio17"; |
| 227 | function = "gpio"; |
| 228 | }; |
| 229 | pinconf { |
| 230 | pins = "gpio16", "gpio17"; |
| 231 | drive-strength = <2>; |
| 232 | bias-disable; |
| 233 | }; |
| 234 | }; |
| 235 | |
| 236 | gsbi4_uart_pin_a: gsbi4-uart-pin-active-state { |
| 237 | rx-pins { |
| 238 | pins = "gpio11"; |
| 239 | function = "gsbi4"; |
| 240 | drive-strength = <2>; |
| 241 | bias-disable; |
| 242 | }; |
| 243 | |
| 244 | tx-pins { |
| 245 | pins = "gpio10"; |
| 246 | function = "gsbi4"; |
| 247 | drive-strength = <4>; |
| 248 | bias-disable; |
| 249 | }; |
| 250 | }; |
| 251 | |
| 252 | gsbi6_uart_2pins: gsbi6_uart_2pins { |
| 253 | mux { |
| 254 | pins = "gpio14", "gpio15"; |
| 255 | function = "gsbi6"; |
| 256 | }; |
| 257 | }; |
| 258 | |
| 259 | gsbi6_uart_4pins: gsbi6_uart_4pins { |
| 260 | mux { |
| 261 | pins = "gpio14", "gpio15", "gpio16", "gpio17"; |
| 262 | function = "gsbi6"; |
| 263 | }; |
| 264 | }; |
| 265 | |
| 266 | gsbi7_uart_2pins: gsbi7_uart_2pins { |
| 267 | mux { |
| 268 | pins = "gpio82", "gpio83"; |
| 269 | function = "gsbi7"; |
| 270 | }; |
| 271 | }; |
| 272 | |
| 273 | gsbi7_uart_4pins: gsbi7_uart_4pins { |
| 274 | mux { |
| 275 | pins = "gpio82", "gpio83", "gpio84", "gpio85"; |
| 276 | function = "gsbi7"; |
| 277 | }; |
| 278 | }; |
| 279 | |
| 280 | i2c7_pins: i2c7 { |
| 281 | mux { |
| 282 | pins = "gpio84", "gpio85"; |
| 283 | function = "gsbi7"; |
| 284 | }; |
| 285 | |
| 286 | pinconf { |
| 287 | pins = "gpio84", "gpio85"; |
| 288 | drive-strength = <16>; |
| 289 | bias-disable; |
| 290 | }; |
| 291 | }; |
| 292 | |
| 293 | i2c7_pins_sleep: i2c7_pins_sleep { |
| 294 | mux { |
| 295 | pins = "gpio84", "gpio85"; |
| 296 | function = "gpio"; |
| 297 | }; |
| 298 | pinconf { |
| 299 | pins = "gpio84", "gpio85"; |
| 300 | drive-strength = <2>; |
| 301 | bias-disable; |
| 302 | }; |
| 303 | }; |
| 304 | |
| 305 | riva_fm_pin_a: riva-fm-active { |
| 306 | pins = "gpio14", "gpio15"; |
| 307 | function = "riva_fm"; |
| 308 | }; |
| 309 | |
| 310 | riva_bt_pin_a: riva-bt-active { |
| 311 | pins = "gpio16", "gpio17"; |
| 312 | function = "riva_bt"; |
| 313 | }; |
| 314 | |
| 315 | riva_wlan_pin_a: riva-wlan-active { |
| 316 | pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68"; |
| 317 | function = "riva_wlan"; |
| 318 | |
| 319 | drive-strength = <6>; |
| 320 | bias-pull-down; |
| 321 | }; |
| 322 | |
| 323 | hdmi_pinctrl: hdmi-pinctrl { |
| 324 | mux { |
| 325 | pins = "gpio70", "gpio71", "gpio72"; |
| 326 | function = "hdmi"; |
| 327 | }; |
| 328 | |
| 329 | pinconf_ddc { |
| 330 | pins = "gpio70", "gpio71"; |
| 331 | bias-pull-up; |
| 332 | drive-strength = <2>; |
| 333 | }; |
| 334 | |
| 335 | pinconf_hpd { |
| 336 | pins = "gpio72"; |
| 337 | bias-pull-down; |
| 338 | drive-strength = <16>; |
| 339 | }; |
| 340 | }; |
| 341 | }; |