Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1 | /* |
Maria Yu | f16c160 | 2017-12-22 13:05:17 +0800 | [diff] [blame] | 2 | * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 and |
| 6 | * only version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | &soc { |
| 15 | tlmm: pinctrl@1000000 { |
| 16 | compatible = "qcom,msm8953-pinctrl"; |
| 17 | reg = <0x1000000 0x300000>; |
Raghavendra Kakarla | 6f0efce | 2018-08-14 16:19:14 +0530 | [diff] [blame] | 18 | reg-names = "pinctrl_regs"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 19 | interrupts = <0 208 0>; |
Raju P.L.S.S.S.N | 3f64cd3 | 2017-12-06 19:26:03 +0530 | [diff] [blame] | 20 | interrupts-extended = <&wakegic GIC_SPI 208 IRQ_TYPE_NONE>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 21 | gpio-controller; |
| 22 | #gpio-cells = <2>; |
| 23 | interrupt-controller; |
Raghavendra Kakarla | 168d482 | 2018-03-07 17:30:53 +0530 | [diff] [blame] | 24 | interrupt-parent = <&wakegpio>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 25 | #interrupt-cells = <2>; |
| 26 | |
| 27 | pmx-uartconsole { |
| 28 | uart_console_active: uart_console_active { |
| 29 | mux { |
| 30 | pins = "gpio4", "gpio5"; |
| 31 | function = "blsp_uart2"; |
| 32 | }; |
| 33 | |
| 34 | config { |
| 35 | pins = "gpio4", "gpio5"; |
| 36 | drive-strength = <2>; |
| 37 | bias-disable; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | uart_console_sleep: uart_console_sleep { |
| 42 | mux { |
| 43 | pins = "gpio4", "gpio5"; |
| 44 | function = "blsp_uart2"; |
| 45 | }; |
| 46 | |
| 47 | config { |
| 48 | pins = "gpio4", "gpio5"; |
| 49 | drive-strength = <2>; |
| 50 | bias-pull-down; |
| 51 | }; |
| 52 | }; |
| 53 | |
Maria Yu | f16c160 | 2017-12-22 13:05:17 +0800 | [diff] [blame] | 54 | uart1_console_active: uart1_console_active { |
| 55 | mux { |
| 56 | pins = "gpio20", "gpio21"; |
| 57 | function = "blsp_uart6"; |
| 58 | }; |
| 59 | |
| 60 | config { |
| 61 | pins = "gpio20", "gpio21"; |
| 62 | drive-strength = <2>; |
| 63 | bias-disable; |
| 64 | }; |
| 65 | }; |
| 66 | |
| 67 | uart1_console_sleep: uart1_console_sleep { |
| 68 | mux { |
| 69 | pins = "gpio20", "gpio21"; |
| 70 | function = "blsp_uart6"; |
| 71 | }; |
| 72 | |
| 73 | config { |
| 74 | pins = "gpio20", "gpio21"; |
| 75 | drive-strength = <2>; |
| 76 | bias-pull-down; |
| 77 | }; |
| 78 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 79 | }; |
| 80 | cci { |
| 81 | cci0_active: cci0_active { |
| 82 | /* cci0 active state */ |
| 83 | mux { |
| 84 | /* CLK, DATA */ |
| 85 | pins = "gpio29", "gpio30"; |
| 86 | function = "cci_i2c"; |
| 87 | }; |
| 88 | |
| 89 | config { |
| 90 | pins = "gpio29", "gpio30"; |
| 91 | drive-strength = <2>; /* 2 MA */ |
| 92 | bias-disable; /* No PULL */ |
| 93 | }; |
| 94 | }; |
| 95 | |
| 96 | cci0_suspend: cci0_suspend { |
| 97 | /* cci0 suspended state */ |
| 98 | mux { |
| 99 | /* CLK, DATA */ |
| 100 | pins = "gpio29", "gpio30"; |
| 101 | function = "cci_i2c"; |
| 102 | }; |
| 103 | |
| 104 | config { |
| 105 | pins = "gpio29", "gpio30"; |
| 106 | drive-strength = <2>; /* 2 MA */ |
| 107 | bias-disable; /* No PULL */ |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | cci1_active: cci1_active { |
| 112 | /* cci1 active state */ |
| 113 | mux { |
| 114 | /* CLK, DATA */ |
| 115 | pins = "gpio31", "gpio32"; |
| 116 | function = "cci_i2c"; |
| 117 | }; |
| 118 | |
| 119 | config { |
| 120 | pins = "gpio31", "gpio32"; |
| 121 | drive-strength = <2>; /* 2 MA */ |
| 122 | bias-disable; /* No PULL */ |
| 123 | }; |
| 124 | }; |
| 125 | |
| 126 | cci1_suspend: cci1_suspend { |
| 127 | /* cci1 suspended state */ |
| 128 | mux { |
| 129 | /* CLK, DATA */ |
| 130 | pins = "gpio31", "gpio32"; |
| 131 | function = "cci_i2c"; |
| 132 | }; |
| 133 | |
| 134 | config { |
| 135 | pins = "gpio31", "gpio32"; |
| 136 | drive-strength = <2>; /* 2 MA */ |
| 137 | bias-disable; /* No PULL */ |
| 138 | }; |
| 139 | }; |
| 140 | }; |
| 141 | |
| 142 | /*sensors */ |
| 143 | cam_sensor_mclk0_default: cam_sensor_mclk0_default { |
| 144 | /* MCLK0 */ |
| 145 | mux { |
| 146 | /* CLK, DATA */ |
| 147 | pins = "gpio26"; |
| 148 | function = "cam_mclk"; |
| 149 | }; |
| 150 | |
| 151 | config { |
| 152 | pins = "gpio26"; |
| 153 | bias-disable; /* No PULL */ |
| 154 | drive-strength = <2>; /* 2 MA */ |
| 155 | }; |
| 156 | }; |
| 157 | |
| 158 | cam_sensor_mclk0_sleep: cam_sensor_mclk0_sleep { |
| 159 | /* MCLK0 */ |
| 160 | mux { |
| 161 | /* CLK, DATA */ |
| 162 | pins = "gpio26"; |
| 163 | function = "cam_mclk"; |
| 164 | }; |
| 165 | |
| 166 | config { |
| 167 | pins = "gpio26"; |
| 168 | bias-pull-down; /* PULL DOWN */ |
| 169 | drive-strength = <2>; /* 2 MA */ |
| 170 | }; |
| 171 | }; |
| 172 | |
| 173 | cam_sensor_rear_default: cam_sensor_rear_default { |
| 174 | /* RESET, STANDBY */ |
| 175 | mux { |
| 176 | pins = "gpio40", "gpio39"; |
| 177 | function = "gpio"; |
| 178 | }; |
| 179 | |
| 180 | config { |
| 181 | pins = "gpio40","gpio39"; |
| 182 | bias-disable; /* No PULL */ |
| 183 | drive-strength = <2>; /* 2 MA */ |
| 184 | }; |
| 185 | }; |
| 186 | |
| 187 | cam_sensor_rear_sleep: cam_sensor_rear_sleep { |
| 188 | /* RESET, STANDBY */ |
| 189 | mux { |
| 190 | pins = "gpio40","gpio39"; |
| 191 | function = "gpio"; |
| 192 | }; |
| 193 | |
| 194 | config { |
| 195 | pins = "gpio40","gpio39"; |
| 196 | bias-disable; /* No PULL */ |
| 197 | drive-strength = <2>; /* 2 MA */ |
| 198 | }; |
| 199 | }; |
| 200 | |
Samyukta Mogily | 21f7f41 | 2018-04-03 11:57:12 +0530 | [diff] [blame] | 201 | cam_sensor_ir_cut_default: cam_sensor_ir_cut_default { |
| 202 | /* RESET, STANDBY */ |
| 203 | mux { |
| 204 | pins = "gpio38", "gpio39"; |
| 205 | function = "gpio"; |
| 206 | }; |
| 207 | |
| 208 | config { |
| 209 | pins = "gpio38","gpio39"; |
| 210 | bias-pull-up; /* No PULL */ |
| 211 | drive-strength = <2>; /* 2 MA */ |
| 212 | }; |
| 213 | }; |
| 214 | |
| 215 | cam_sensor_ir_cut_sleep: cam_sensor_ir_cut_sleep { |
| 216 | /* RESET, STANDBY */ |
| 217 | mux { |
| 218 | pins = "gpio38","gpio39"; |
| 219 | function = "gpio"; |
| 220 | }; |
| 221 | |
| 222 | config { |
| 223 | pins = "gpio38","gpio39"; |
| 224 | bias-disable; /* No PULL */ |
| 225 | drive-strength = <2>; /* 2 MA */ |
| 226 | }; |
| 227 | }; |
| 228 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 229 | cam_sensor_rear_vana: cam_sensor_rear_vdig { |
| 230 | /* VDIG */ |
| 231 | mux { |
| 232 | pins = "gpio134"; |
| 233 | function = "gpio"; |
| 234 | }; |
| 235 | |
| 236 | config { |
| 237 | pins = "gpio134"; |
| 238 | bias-disable; /* No PULL */ |
| 239 | drive-strength = <2>; /* 2 MA */ |
| 240 | }; |
| 241 | }; |
| 242 | |
| 243 | cam_sensor_rear_vana_sleep: cam_sensor_rear_vdig_sleep { |
| 244 | /* VDIG */ |
| 245 | mux { |
| 246 | pins = "gpio134"; |
| 247 | function = "gpio"; |
| 248 | }; |
| 249 | |
| 250 | config { |
| 251 | pins = "gpio134"; |
| 252 | bias-disable; /* No PULL */ |
| 253 | drive-strength = <2>; /* 2 MA */ |
| 254 | }; |
| 255 | }; |
| 256 | |
| 257 | cam_sensor_mclk1_default: cam_sensor_mclk1_default { |
| 258 | /* MCLK1 */ |
| 259 | mux { |
| 260 | /* CLK, DATA */ |
| 261 | pins = "gpio27"; |
| 262 | function = "cam_mclk"; |
| 263 | }; |
| 264 | |
| 265 | config { |
| 266 | pins = "gpio27"; |
| 267 | bias-disable; /* No PULL */ |
| 268 | drive-strength = <2>; /* 2 MA */ |
| 269 | }; |
| 270 | }; |
| 271 | |
| 272 | cam_sensor_mclk1_sleep: cam_sensor_mclk1_sleep { |
| 273 | /* MCLK1 */ |
| 274 | mux { |
| 275 | /* CLK, DATA */ |
| 276 | pins = "gpio27"; |
| 277 | function = "cam_mclk"; |
| 278 | }; |
| 279 | |
| 280 | config { |
| 281 | pins = "gpio27"; |
| 282 | bias-pull-down; /* PULL DOWN */ |
| 283 | drive-strength = <2>; /* 2 MA */ |
| 284 | }; |
| 285 | }; |
| 286 | |
| 287 | cam_sensor_front_default: cam_sensor_front_default { |
| 288 | /* RESET, STANDBY */ |
| 289 | mux { |
| 290 | pins = "gpio131","gpio132"; |
| 291 | function = "gpio"; |
| 292 | }; |
| 293 | |
| 294 | config { |
| 295 | pins = "gpio131","gpio132"; |
| 296 | bias-disable; /* No PULL */ |
| 297 | drive-strength = <2>; /* 2 MA */ |
| 298 | }; |
| 299 | }; |
| 300 | |
| 301 | cam_sensor_front_sleep: cam_sensor_front_sleep { |
| 302 | /* RESET, STANDBY */ |
| 303 | mux { |
| 304 | pins = "gpio131","gpio132"; |
| 305 | function = "gpio"; |
| 306 | }; |
| 307 | |
| 308 | config { |
| 309 | pins = "gpio131","gpio132"; |
| 310 | bias-disable; /* No PULL */ |
| 311 | drive-strength = <2>; /* 2 MA */ |
| 312 | }; |
| 313 | }; |
| 314 | |
| 315 | cam_sensor_mclk2_default: cam_sensor_mclk2_default { |
| 316 | /* MCLK2 */ |
| 317 | mux { |
| 318 | /* CLK, DATA */ |
| 319 | pins = "gpio28"; |
| 320 | function = "cam_mclk"; |
| 321 | }; |
| 322 | |
| 323 | config { |
| 324 | pins = "gpio28"; |
| 325 | bias-disable; /* No PULL */ |
| 326 | drive-strength = <2>; /* 2 MA */ |
| 327 | }; |
| 328 | }; |
| 329 | |
| 330 | cam_sensor_mclk2_sleep: cam_sensor_mclk2_sleep { |
| 331 | /* MCLK2 */ |
| 332 | mux { |
| 333 | /* CLK, DATA */ |
| 334 | pins = "gpio28"; |
| 335 | function = "cam_mclk"; |
| 336 | }; |
| 337 | |
| 338 | config { |
| 339 | pins = "gpio28"; |
| 340 | bias-pull-down; /* PULL DOWN */ |
| 341 | drive-strength = <2>; /* 2 MA */ |
| 342 | }; |
| 343 | }; |
| 344 | |
| 345 | cam_sensor_front1_default: cam_sensor_front1_default { |
| 346 | /* RESET, STANDBY */ |
| 347 | mux { |
| 348 | pins = "gpio129", "gpio130"; |
| 349 | function = "gpio"; |
| 350 | }; |
| 351 | |
| 352 | config { |
| 353 | pins = "gpio129", "gpio130"; |
| 354 | bias-disable; /* No PULL */ |
| 355 | drive-strength = <2>; /* 2 MA */ |
| 356 | }; |
| 357 | }; |
| 358 | |
| 359 | cam_sensor_front1_sleep: cam_sensor_front1_sleep { |
| 360 | /* RESET, STANDBY */ |
| 361 | mux { |
| 362 | pins = "gpio129", "gpio130"; |
| 363 | function = "gpio"; |
| 364 | }; |
| 365 | |
| 366 | config { |
| 367 | pins = "gpio129", "gpio130"; |
| 368 | bias-disable; /* No PULL */ |
| 369 | drive-strength = <2>; /* 2 MA */ |
| 370 | }; |
| 371 | }; |
| 372 | |
| 373 | pmx_adv7533_int: pmx_adv7533_int { |
| 374 | adv7533_int_active: adv7533_int_active { |
| 375 | mux { |
| 376 | pins = "gpio90"; |
| 377 | function = "gpio"; |
| 378 | }; |
| 379 | |
| 380 | config { |
| 381 | pins = "gpio90"; |
| 382 | drive-strength = <16>; |
| 383 | bias-disable; |
| 384 | }; |
| 385 | }; |
| 386 | |
| 387 | adv7533_int_suspend: adv7533_int_suspend { |
| 388 | mux { |
| 389 | pins = "gpio90"; |
| 390 | function = "gpio"; |
| 391 | }; |
| 392 | |
| 393 | config { |
| 394 | pins = "gpio90"; |
| 395 | drive-strength = <16>; |
| 396 | bias-disable; |
| 397 | }; |
| 398 | }; |
| 399 | |
| 400 | }; |
| 401 | |
louisliu | 76fb69a | 2020-04-23 16:01:11 +0800 | [diff] [blame^] | 402 | fps { |
| 403 | fps_int_active: fps_int_active { |
| 404 | mux { |
| 405 | pins = "gpio48"; |
| 406 | function = "gpio"; |
| 407 | }; |
| 408 | |
| 409 | config { |
| 410 | pins = "gpio48"; |
| 411 | drive-strength = <8>; |
| 412 | bias-pull-up; |
| 413 | }; |
| 414 | }; |
| 415 | |
| 416 | fps_int_suspend: fps_int_suspend { |
| 417 | mux { |
| 418 | pins = "gpio48"; |
| 419 | function = "gpio"; |
| 420 | }; |
| 421 | |
| 422 | config { |
| 423 | pins = "gpio48"; |
| 424 | drive-strength = <2>; |
| 425 | bias-pull-down; |
| 426 | }; |
| 427 | }; |
| 428 | |
| 429 | fps_reset_active: fps_reset_active { |
| 430 | mux { |
| 431 | pins = "gpio140"; |
| 432 | function = "gpio"; |
| 433 | }; |
| 434 | |
| 435 | config { |
| 436 | pins = "gpio140"; |
| 437 | drive-strength = <8>; |
| 438 | bias-pull-up; |
| 439 | }; |
| 440 | }; |
| 441 | |
| 442 | fps_reset_suspend1: fps_reset_suspend1 { |
| 443 | mux { |
| 444 | pins = "gpio140"; |
| 445 | function = "gpio"; |
| 446 | }; |
| 447 | |
| 448 | config { |
| 449 | pins = "gpio140"; |
| 450 | drive-strength = <2>; |
| 451 | bias-pull-down; |
| 452 | }; |
| 453 | }; |
| 454 | }; |
| 455 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 456 | pmx_mdss: pmx_mdss { |
jialongjhan | 516635c | 2020-04-21 20:24:23 +0800 | [diff] [blame] | 457 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 458 | mdss_dsi_active: mdss_dsi_active { |
| 459 | mux { |
jialongjhan | 516635c | 2020-04-21 20:24:23 +0800 | [diff] [blame] | 460 | pins = "gpio61", "gpio96"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 461 | function = "gpio"; |
| 462 | }; |
| 463 | |
| 464 | config { |
jialongjhan | 516635c | 2020-04-21 20:24:23 +0800 | [diff] [blame] | 465 | pins = "gpio61", "gpio96"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 466 | drive-strength = <8>; /* 8 mA */ |
| 467 | bias-disable = <0>; /* no pull */ |
| 468 | output-high; |
| 469 | }; |
| 470 | }; |
| 471 | |
| 472 | mdss_dsi_suspend: mdss_dsi_suspend { |
| 473 | mux { |
jialongjhan | 516635c | 2020-04-21 20:24:23 +0800 | [diff] [blame] | 474 | pins = "gpio61", "gpio96"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 475 | function = "gpio"; |
| 476 | }; |
| 477 | |
| 478 | config { |
jialongjhan | 516635c | 2020-04-21 20:24:23 +0800 | [diff] [blame] | 479 | pins = "gpio61", "gpio96"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 480 | drive-strength = <2>; /* 2 mA */ |
| 481 | bias-pull-down; /* pull down */ |
| 482 | }; |
| 483 | }; |
jialongjhan | 516635c | 2020-04-21 20:24:23 +0800 | [diff] [blame] | 484 | |
Rashi Bindra | 771b601 | 2018-03-22 18:20:45 +0530 | [diff] [blame] | 485 | mdss_dsi_gpio: mdss_dsi_gpio { |
| 486 | mux { |
| 487 | pins = "gpio141"; |
| 488 | function = "gpio"; |
| 489 | }; |
| 490 | |
| 491 | config { |
| 492 | pins = "gpio141"; |
| 493 | drive-strength = <8>; |
| 494 | bias-pull-down; |
| 495 | output-low; |
| 496 | }; |
| 497 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 498 | }; |
| 499 | |
| 500 | pmx_mdss_te { |
| 501 | mdss_te_active: mdss_te_active { |
| 502 | mux { |
| 503 | pins = "gpio24"; |
| 504 | function = "mdp_vsync"; |
| 505 | }; |
| 506 | config { |
| 507 | pins = "gpio24"; |
| 508 | drive-strength = <2>; /* 8 mA */ |
| 509 | bias-pull-down; /* pull down*/ |
| 510 | }; |
| 511 | }; |
| 512 | |
| 513 | mdss_te_suspend: mdss_te_suspend { |
| 514 | mux { |
| 515 | pins = "gpio24"; |
| 516 | function = "mdp_vsync"; |
| 517 | }; |
| 518 | config { |
| 519 | pins = "gpio24"; |
| 520 | drive-strength = <2>; /* 2 mA */ |
| 521 | bias-pull-down; /* pull down */ |
| 522 | }; |
| 523 | }; |
| 524 | }; |
| 525 | |
Vijay Navnath Kamble | f70ff3d | 2018-07-17 17:35:48 +0530 | [diff] [blame] | 526 | ext_amp_ctrl { |
| 527 | label = "ext_amp_ctrl"; |
| 528 | ext_amp_ctrl_active: ext_amp_ctrl_active { |
| 529 | mux { |
| 530 | pins = "gpio68"; |
| 531 | function = "gpio"; |
| 532 | }; |
| 533 | config { |
| 534 | pins = "gpio68"; |
| 535 | drive-strength = <8>; /* 8 MA */ |
| 536 | bias-pull-up; /* PULL UP */ |
| 537 | output-high; |
| 538 | }; |
| 539 | }; |
| 540 | |
| 541 | ext_amp_ctrl_sleep: ext_amp_ctrl_sleep { |
| 542 | mux { |
| 543 | pins = "gpio68"; |
| 544 | function = "gpio"; |
| 545 | }; |
| 546 | configs { |
| 547 | pins = "gpio68"; |
| 548 | drive-strength = <2>; /* 2 MA */ |
| 549 | bias-pull-down; /* PULL DOWN */ |
| 550 | }; |
| 551 | }; |
| 552 | }; |
| 553 | |
Md Mansoor Ahmed | 19ca485 | 2018-04-23 11:50:38 +0530 | [diff] [blame] | 554 | cdc_dmic0_clk_act: cdc_dmic0_clk_act_default { |
| 555 | mux { |
| 556 | pins = "gpio89"; |
| 557 | function = "dmic0_clk"; |
| 558 | }; |
| 559 | |
| 560 | config { |
| 561 | pins = "gpio89"; |
| 562 | drive-strength = <8>; |
| 563 | }; |
| 564 | }; |
| 565 | |
| 566 | cdc_dmic0_clk_sus: cdc_dmic0_clk_sus_sleep { |
| 567 | mux { |
| 568 | pins = "gpio89"; |
| 569 | function = "gpio"; |
| 570 | }; |
| 571 | |
| 572 | config { |
| 573 | pins = "gpio89"; |
| 574 | drive-strength = <2>; |
| 575 | bias-disable; |
| 576 | }; |
| 577 | }; |
| 578 | |
| 579 | cdc_dmic0_data_act: cdc_dmic0_data_act_default { |
| 580 | mux { |
| 581 | pins = "gpio90"; |
| 582 | function = "dmic0_data"; |
| 583 | }; |
| 584 | |
| 585 | config { |
| 586 | pins = "gpio90"; |
| 587 | drive-strength = <8>; |
| 588 | }; |
| 589 | }; |
| 590 | |
| 591 | cdc_dmic0_data_sus: cdc_dmic0_data_sus_sleep { |
| 592 | mux { |
| 593 | pins = "gpio90"; |
| 594 | function = "gpio"; |
| 595 | }; |
| 596 | |
| 597 | config { |
| 598 | pins = "gpio90"; |
| 599 | drive-strength = <2>; |
| 600 | bias-disable; |
| 601 | }; |
| 602 | }; |
| 603 | |
| 604 | sec-tlmm-lines { |
| 605 | sec_tlmm_lines_act: sec_tlmm_lines_act { |
| 606 | mux { |
| 607 | pins = "gpio135", "gpio136", |
| 608 | "gpio137", "gpio138"; |
| 609 | function = "sec_mi2s"; |
| 610 | }; |
| 611 | |
| 612 | config { |
| 613 | pins = "gpio135", "gpio136", |
| 614 | "gpio137", "gpio138"; |
| 615 | drive-strength = <8>; |
| 616 | }; |
| 617 | }; |
| 618 | |
| 619 | sec_tlmm_lines_sus: sec_tlmm_lines_sus { |
| 620 | mux { |
| 621 | pins = "gpio135", "gpio136", |
| 622 | "gpio137", "gpio138"; |
| 623 | function = "sec_mi2s"; |
| 624 | }; |
| 625 | |
| 626 | config { |
| 627 | pins = "gpio135", "gpio136", |
| 628 | "gpio137", "gpio138"; |
| 629 | drive-strength = <2>; |
| 630 | bias-pull-down; |
| 631 | }; |
| 632 | }; |
| 633 | }; |
| 634 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 635 | hsuart_active: default { |
| 636 | mux { |
| 637 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 638 | function = "blsp_uart4"; |
| 639 | }; |
| 640 | |
| 641 | config { |
| 642 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 643 | drive-strength = <16>; |
| 644 | bias-disable; |
| 645 | }; |
| 646 | }; |
| 647 | |
| 648 | hsuart_sleep: sleep { |
| 649 | mux { |
| 650 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 651 | function = "gpio"; |
| 652 | }; |
| 653 | |
| 654 | config { |
| 655 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 656 | drive-strength = <2>; |
| 657 | bias-disable; |
| 658 | }; |
| 659 | }; |
| 660 | |
Shrey Vijay | 88eddb5 | 2017-11-30 14:47:52 +0530 | [diff] [blame] | 661 | blsp2_uart0_active: blsp2_uart0_active { |
| 662 | mux { |
| 663 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 664 | function = "blsp_uart5"; |
| 665 | }; |
| 666 | |
| 667 | config { |
| 668 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 669 | drive-strength = <16>; |
| 670 | bias-disable; |
| 671 | }; |
| 672 | }; |
| 673 | |
| 674 | blsp2_uart0_sleep: blsp2_uart0_sleep { |
| 675 | mux { |
| 676 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 677 | function = "gpio"; |
| 678 | }; |
| 679 | |
| 680 | config { |
| 681 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 682 | drive-strength = <2>; |
| 683 | bias-disable; |
| 684 | }; |
| 685 | }; |
| 686 | |
Venkataraman Nerellapalli | 5d54a0b | 2018-07-02 12:48:48 +0530 | [diff] [blame] | 687 | blsp2_uart1_active: blsp2_uart1_active { |
| 688 | mux { |
| 689 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 690 | function = "blsp_uart6"; |
| 691 | }; |
| 692 | |
| 693 | config { |
| 694 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 695 | drive-strength = <16>; |
| 696 | bias-disable; |
| 697 | }; |
| 698 | }; |
| 699 | |
| 700 | blsp2_uart1_sleep: blsp2_uart1_sleep { |
| 701 | mux { |
| 702 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 703 | function = "gpio"; |
| 704 | }; |
| 705 | |
| 706 | config { |
| 707 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 708 | drive-strength = <2>; |
| 709 | bias-disable; |
| 710 | }; |
| 711 | }; |
| 712 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 713 | /* SDC pin type */ |
| 714 | sdc1_clk_on: sdc1_clk_on { |
| 715 | config { |
| 716 | pins = "sdc1_clk"; |
| 717 | bias-disable; /* NO pull */ |
| 718 | drive-strength = <16>; /* 16 MA */ |
| 719 | }; |
| 720 | }; |
| 721 | |
| 722 | sdc1_clk_off: sdc1_clk_off { |
| 723 | config { |
| 724 | pins = "sdc1_clk"; |
| 725 | bias-disable; /* NO pull */ |
| 726 | drive-strength = <2>; /* 2 MA */ |
| 727 | }; |
| 728 | }; |
| 729 | |
| 730 | sdc1_cmd_on: sdc1_cmd_on { |
| 731 | config { |
| 732 | pins = "sdc1_cmd"; |
| 733 | bias-pull-up; /* pull up */ |
| 734 | drive-strength = <10>; /* 10 MA */ |
| 735 | }; |
| 736 | }; |
| 737 | |
| 738 | sdc1_cmd_off: sdc1_cmd_off { |
| 739 | config { |
| 740 | pins = "sdc1_cmd"; |
| 741 | num-grp-pins = <1>; |
| 742 | bias-pull-up; /* pull up */ |
| 743 | drive-strength = <2>; /* 2 MA */ |
| 744 | }; |
| 745 | }; |
| 746 | |
| 747 | sdc1_data_on: sdc1_data_on { |
| 748 | config { |
| 749 | pins = "sdc1_data"; |
| 750 | bias-pull-up; /* pull up */ |
| 751 | drive-strength = <10>; /* 10 MA */ |
| 752 | }; |
| 753 | }; |
| 754 | |
| 755 | sdc1_data_off: sdc1_data_off { |
| 756 | config { |
| 757 | pins = "sdc1_data"; |
| 758 | bias-pull-up; /* pull up */ |
| 759 | drive-strength = <2>; /* 2 MA */ |
| 760 | }; |
| 761 | }; |
| 762 | |
| 763 | sdc1_rclk_on: sdc1_rclk_on { |
| 764 | config { |
| 765 | pins = "sdc1_rclk"; |
| 766 | bias-pull-down; /* pull down */ |
| 767 | }; |
| 768 | }; |
| 769 | |
| 770 | sdc1_rclk_off: sdc1_rclk_off { |
| 771 | config { |
| 772 | pins = "sdc1_rclk"; |
| 773 | bias-pull-down; /* pull down */ |
| 774 | }; |
| 775 | }; |
| 776 | |
| 777 | sdc2_clk_on: sdc2_clk_on { |
| 778 | config { |
| 779 | pins = "sdc2_clk"; |
| 780 | drive-strength = <16>; /* 16 MA */ |
| 781 | bias-disable; /* NO pull */ |
| 782 | }; |
| 783 | }; |
| 784 | |
| 785 | sdc2_clk_off: sdc2_clk_off { |
| 786 | config { |
| 787 | pins = "sdc2_clk"; |
| 788 | bias-disable; /* NO pull */ |
| 789 | drive-strength = <2>; /* 2 MA */ |
| 790 | }; |
| 791 | }; |
| 792 | |
| 793 | sdc2_cmd_on: sdc2_cmd_on { |
| 794 | config { |
| 795 | pins = "sdc2_cmd"; |
| 796 | bias-pull-up; /* pull up */ |
| 797 | drive-strength = <10>; /* 10 MA */ |
| 798 | }; |
| 799 | }; |
| 800 | |
| 801 | sdc2_cmd_off: sdc2_cmd_off { |
| 802 | config { |
| 803 | pins = "sdc2_cmd"; |
| 804 | bias-pull-up; /* pull up */ |
| 805 | drive-strength = <2>; /* 2 MA */ |
| 806 | }; |
| 807 | }; |
| 808 | |
| 809 | sdc2_data_on: sdc2_data_on { |
| 810 | config { |
| 811 | pins = "sdc2_data"; |
| 812 | bias-pull-up; /* pull up */ |
| 813 | drive-strength = <10>; /* 10 MA */ |
| 814 | }; |
| 815 | }; |
| 816 | |
| 817 | sdc2_data_off: sdc2_data_off { |
| 818 | config { |
| 819 | pins = "sdc2_data"; |
| 820 | bias-pull-up; /* pull up */ |
| 821 | drive-strength = <2>; /* 2 MA */ |
| 822 | }; |
| 823 | }; |
| 824 | |
| 825 | sdc2_cd_on: cd_on { |
| 826 | mux { |
| 827 | pins = "gpio133"; |
| 828 | function = "gpio"; |
| 829 | }; |
| 830 | |
| 831 | config { |
| 832 | pins = "gpio133"; |
| 833 | drive-strength = <2>; |
| 834 | bias-pull-up; |
| 835 | }; |
| 836 | }; |
| 837 | |
| 838 | sdc2_cd_off: cd_off { |
| 839 | mux { |
| 840 | pins = "gpio133"; |
| 841 | function = "gpio"; |
| 842 | }; |
| 843 | |
| 844 | config { |
| 845 | pins = "gpio133"; |
| 846 | drive-strength = <2>; |
| 847 | bias-disable; |
| 848 | }; |
| 849 | }; |
| 850 | |
Md Mansoor Ahmed | 19ca485 | 2018-04-23 11:50:38 +0530 | [diff] [blame] | 851 | i2c_1 { |
| 852 | i2c_1_active: i2c_1_active { |
| 853 | mux { |
| 854 | pins = "gpio2", "gpio3"; |
| 855 | function = "blsp_i2c1"; |
| 856 | }; |
| 857 | config { |
| 858 | pins = "gpio2", "gpio3"; |
| 859 | drive-strength = <2>; |
| 860 | bias-pull-up; |
| 861 | }; |
| 862 | }; |
| 863 | |
| 864 | i2c_1_sleep: i2c_1_sleep { |
| 865 | mux { |
| 866 | pins = "gpio2", "gpio3"; |
| 867 | function = "blsp_i2c1"; |
| 868 | }; |
| 869 | config { |
| 870 | pins = "gpio2", "gpio3"; |
| 871 | drive-strength = <2>; |
| 872 | bias-disable; |
| 873 | }; |
| 874 | }; |
| 875 | }; |
| 876 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 877 | i2c_2 { |
| 878 | i2c_2_active: i2c_2_active { |
| 879 | /* active state */ |
| 880 | mux { |
| 881 | pins = "gpio6", "gpio7"; |
| 882 | function = "blsp_i2c2"; |
| 883 | }; |
| 884 | |
| 885 | config { |
| 886 | pins = "gpio6", "gpio7"; |
| 887 | drive-strength = <2>; |
| 888 | bias-disable; |
| 889 | }; |
| 890 | }; |
| 891 | |
| 892 | i2c_2_sleep: i2c_2_sleep { |
| 893 | /* suspended state */ |
| 894 | mux { |
| 895 | pins = "gpio6", "gpio7"; |
| 896 | function = "gpio"; |
| 897 | }; |
| 898 | |
| 899 | config { |
| 900 | pins = "gpio6", "gpio7"; |
| 901 | drive-strength = <2>; |
| 902 | bias-disable; |
| 903 | }; |
| 904 | }; |
| 905 | }; |
| 906 | |
| 907 | i2c_3 { |
| 908 | i2c_3_active: i2c_3_active { |
| 909 | /* active state */ |
| 910 | mux { |
| 911 | pins = "gpio10", "gpio11"; |
| 912 | function = "blsp_i2c3"; |
| 913 | }; |
| 914 | |
| 915 | config { |
| 916 | pins = "gpio10", "gpio11"; |
| 917 | drive-strength = <2>; |
| 918 | bias-disable; |
| 919 | }; |
| 920 | }; |
| 921 | |
| 922 | i2c_3_sleep: i2c_3_sleep { |
| 923 | /* suspended state */ |
| 924 | mux { |
| 925 | pins = "gpio10", "gpio11"; |
| 926 | function = "gpio"; |
| 927 | }; |
| 928 | |
| 929 | config { |
| 930 | pins = "gpio10", "gpio11"; |
| 931 | drive-strength = <2>; |
| 932 | bias-disable; |
| 933 | }; |
| 934 | }; |
| 935 | }; |
| 936 | |
| 937 | i2c_5 { |
| 938 | i2c_5_active: i2c_5_active { |
| 939 | /* active state */ |
| 940 | mux { |
| 941 | pins = "gpio18", "gpio19"; |
| 942 | function = "blsp_i2c5"; |
| 943 | }; |
| 944 | |
| 945 | config { |
| 946 | pins = "gpio18", "gpio19"; |
| 947 | drive-strength = <2>; |
| 948 | bias-disable; |
| 949 | }; |
| 950 | }; |
| 951 | |
| 952 | i2c_5_sleep: i2c_5_sleep { |
| 953 | /* suspended state */ |
| 954 | mux { |
| 955 | pins = "gpio18", "gpio19"; |
| 956 | function = "gpio"; |
| 957 | }; |
| 958 | |
| 959 | config { |
| 960 | pins = "gpio18", "gpio19"; |
| 961 | drive-strength = <2>; |
| 962 | bias-disable; |
| 963 | }; |
| 964 | }; |
| 965 | }; |
| 966 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 967 | nfc { |
| 968 | nfc_int_active: nfc_int_active { |
| 969 | /* active state */ |
| 970 | mux { |
| 971 | /* GPIO 17 NFC Read Interrupt */ |
| 972 | pins = "gpio17"; |
| 973 | function = "gpio"; |
| 974 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 975 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 976 | config { |
| 977 | pins = "gpio17"; |
| 978 | drive-strength = <2>; /* 2 MA */ |
| 979 | bias-pull-up; |
| 980 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 981 | }; |
| 982 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 983 | nfc_int_suspend: nfc_int_suspend { |
| 984 | /* sleep state */ |
| 985 | mux { |
| 986 | /* GPIO 17 NFC Read Interrupt */ |
| 987 | pins = "gpio17"; |
| 988 | function = "gpio"; |
| 989 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 990 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 991 | config { |
| 992 | pins = "gpio17"; |
| 993 | drive-strength = <2>; /* 2 MA */ |
| 994 | bias-pull-up; |
| 995 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 996 | }; |
| 997 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 998 | nfc_disable_active: nfc_disable_active { |
| 999 | /* active state */ |
| 1000 | mux { |
| 1001 | /* 16: NFC ENABLE 62: FW DNLD */ |
| 1002 | /* 141: ESE Enable */ |
| 1003 | pins = "gpio16", "gpio62", "gpio141"; |
| 1004 | function = "gpio"; |
| 1005 | }; |
| 1006 | |
| 1007 | config { |
| 1008 | pins = "gpio16", "gpio62", "gpio141"; |
| 1009 | drive-strength = <2>; /* 2 MA */ |
| 1010 | bias-pull-up; |
| 1011 | }; |
| 1012 | }; |
| 1013 | |
| 1014 | nfc_disable_suspend: nfc_disable_suspend { |
| 1015 | /* sleep state */ |
| 1016 | mux { |
| 1017 | /* 16: NFC ENABLE 62: FW DNLD */ |
| 1018 | /* 141: ESE Enable */ |
| 1019 | pins = "gpio16", "gpio62", "gpio141"; |
| 1020 | function = "gpio"; |
| 1021 | }; |
| 1022 | |
| 1023 | config { |
| 1024 | pins = "gpio16", "gpio62", "gpio141"; |
| 1025 | drive-strength = <2>; /* 2 MA */ |
| 1026 | bias-disable; |
| 1027 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1028 | }; |
| 1029 | }; |
| 1030 | |
| 1031 | wcnss_pmux_5wire { |
| 1032 | /* Active configuration of bus pins */ |
| 1033 | wcnss_default: wcnss_default { |
| 1034 | wcss_wlan2 { |
| 1035 | pins = "gpio76"; |
| 1036 | function = "wcss_wlan2"; |
| 1037 | }; |
| 1038 | wcss_wlan1 { |
| 1039 | pins = "gpio77"; |
| 1040 | function = "wcss_wlan1"; |
| 1041 | }; |
| 1042 | wcss_wlan0 { |
| 1043 | pins = "gpio78"; |
| 1044 | function = "wcss_wlan0"; |
| 1045 | }; |
| 1046 | wcss_wlan { |
| 1047 | pins = "gpio79", "gpio80"; |
| 1048 | function = "wcss_wlan"; |
| 1049 | }; |
| 1050 | |
| 1051 | config { |
| 1052 | pins = "gpio76", "gpio77", |
| 1053 | "gpio78", "gpio79", |
| 1054 | "gpio80"; |
| 1055 | drive-strength = <6>; /* 6 MA */ |
| 1056 | bias-pull-up; /* PULL UP */ |
| 1057 | }; |
| 1058 | }; |
| 1059 | |
| 1060 | wcnss_sleep: wcnss_sleep { |
| 1061 | wcss_wlan2 { |
| 1062 | pins = "gpio76"; |
| 1063 | function = "wcss_wlan2"; |
| 1064 | }; |
| 1065 | wcss_wlan1 { |
| 1066 | pins = "gpio77"; |
| 1067 | function = "wcss_wlan1"; |
| 1068 | }; |
| 1069 | wcss_wlan0 { |
| 1070 | pins = "gpio78"; |
| 1071 | function = "wcss_wlan0"; |
| 1072 | }; |
| 1073 | wcss_wlan { |
| 1074 | pins = "gpio79", "gpio80"; |
| 1075 | function = "wcss_wlan"; |
| 1076 | }; |
| 1077 | |
| 1078 | config { |
| 1079 | pins = "gpio76", "gpio77", |
| 1080 | "gpio78", "gpio79", |
| 1081 | "gpio80"; |
| 1082 | drive-strength = <2>; /* 2 MA */ |
| 1083 | bias-pull-down; /* PULL Down */ |
| 1084 | }; |
| 1085 | }; |
| 1086 | }; |
| 1087 | |
| 1088 | wcnss_pmux_gpio: wcnss_pmux_gpio { |
| 1089 | wcnss_gpio_default: wcnss_gpio_default { |
| 1090 | /* Active configuration of bus pins */ |
| 1091 | mux { |
| 1092 | /* Uses general purpose pins */ |
| 1093 | pins = "gpio76", "gpio77", |
| 1094 | "gpio78", "gpio79", |
| 1095 | "gpio80"; |
| 1096 | function = "gpio"; |
| 1097 | }; |
| 1098 | |
| 1099 | config { |
| 1100 | pins = "gpio76", "gpio77", |
| 1101 | "gpio78", "gpio79", |
| 1102 | "gpio80"; |
| 1103 | drive-strength = <6>; /* 6 MA */ |
| 1104 | bias-pull-up; /* PULL UP */ |
| 1105 | }; |
| 1106 | }; |
| 1107 | }; |
| 1108 | |
| 1109 | wcd9xxx_intr { |
| 1110 | wcd_intr_default: wcd_intr_default{ |
| 1111 | mux { |
| 1112 | pins = "gpio73"; |
| 1113 | function = "gpio"; |
| 1114 | }; |
| 1115 | |
| 1116 | config { |
| 1117 | pins = "gpio73"; |
| 1118 | drive-strength = <2>; /* 2 mA */ |
| 1119 | bias-pull-down; /* pull down */ |
| 1120 | input-enable; |
| 1121 | }; |
| 1122 | }; |
| 1123 | }; |
| 1124 | |
| 1125 | cdc_reset_ctrl { |
| 1126 | cdc_reset_sleep: cdc_reset_sleep { |
| 1127 | mux { |
| 1128 | pins = "gpio67"; |
| 1129 | function = "gpio"; |
| 1130 | }; |
| 1131 | config { |
| 1132 | pins = "gpio67"; |
| 1133 | drive-strength = <16>; |
| 1134 | bias-disable; |
| 1135 | output-low; |
| 1136 | }; |
| 1137 | }; |
| 1138 | cdc_reset_active:cdc_reset_active { |
| 1139 | mux { |
| 1140 | pins = "gpio67"; |
| 1141 | function = "gpio"; |
| 1142 | }; |
| 1143 | config { |
| 1144 | pins = "gpio67"; |
| 1145 | drive-strength = <16>; |
| 1146 | bias-pull-down; |
| 1147 | output-high; |
| 1148 | }; |
| 1149 | }; |
| 1150 | }; |
| 1151 | |
| 1152 | cdc_mclk2_pin { |
| 1153 | cdc_mclk2_sleep: cdc_mclk2_sleep { |
| 1154 | mux { |
| 1155 | pins = "gpio66"; |
| 1156 | function = "pri_mi2s"; |
| 1157 | }; |
| 1158 | config { |
| 1159 | pins = "gpio66"; |
| 1160 | drive-strength = <2>; /* 2 mA */ |
| 1161 | bias-pull-down; /* PULL DOWN */ |
| 1162 | }; |
| 1163 | }; |
| 1164 | cdc_mclk2_active: cdc_mclk2_active { |
| 1165 | mux { |
| 1166 | pins = "gpio66"; |
| 1167 | function = "pri_mi2s"; |
| 1168 | }; |
| 1169 | config { |
| 1170 | pins = "gpio66"; |
| 1171 | drive-strength = <8>; /* 8 mA */ |
| 1172 | bias-disable; /* NO PULL */ |
| 1173 | }; |
| 1174 | }; |
| 1175 | }; |
| 1176 | |
| 1177 | cdc-pdm-2-lines { |
| 1178 | cdc_pdm_lines_2_act: pdm_lines_2_on { |
| 1179 | mux { |
| 1180 | pins = "gpio70", "gpio71", "gpio72"; |
| 1181 | function = "cdc_pdm0"; |
| 1182 | }; |
| 1183 | |
| 1184 | config { |
| 1185 | pins = "gpio70", "gpio71", "gpio72"; |
| 1186 | drive-strength = <8>; |
| 1187 | }; |
| 1188 | }; |
| 1189 | |
| 1190 | cdc_pdm_lines_2_sus: pdm_lines_2_off { |
| 1191 | mux { |
| 1192 | pins = "gpio70", "gpio71", "gpio72"; |
| 1193 | function = "cdc_pdm0"; |
| 1194 | }; |
| 1195 | |
| 1196 | config { |
| 1197 | pins = "gpio70", "gpio71", "gpio72"; |
| 1198 | drive-strength = <2>; |
| 1199 | bias-disable; |
| 1200 | }; |
| 1201 | }; |
| 1202 | }; |
| 1203 | |
| 1204 | cdc-pdm-lines { |
| 1205 | cdc_pdm_lines_act: pdm_lines_on { |
| 1206 | mux { |
| 1207 | pins = "gpio69", "gpio73", "gpio74"; |
| 1208 | function = "cdc_pdm0"; |
| 1209 | }; |
| 1210 | |
| 1211 | config { |
| 1212 | pins = "gpio69", "gpio73", "gpio74"; |
| 1213 | drive-strength = <8>; |
| 1214 | }; |
| 1215 | }; |
| 1216 | cdc_pdm_lines_sus: pdm_lines_off { |
| 1217 | mux { |
| 1218 | pins = "gpio69", "gpio73", "gpio74"; |
| 1219 | function = "cdc_pdm0"; |
| 1220 | }; |
| 1221 | |
| 1222 | config { |
| 1223 | pins = "gpio69", "gpio73", "gpio74"; |
| 1224 | drive-strength = <2>; |
| 1225 | bias-disable; |
| 1226 | }; |
| 1227 | }; |
| 1228 | }; |
| 1229 | |
| 1230 | cdc-pdm-comp-lines { |
| 1231 | cdc_pdm_comp_lines_act: pdm_comp_lines_on { |
| 1232 | mux { |
| 1233 | pins = "gpio67", "gpio68"; |
| 1234 | function = "cdc_pdm0"; |
| 1235 | }; |
| 1236 | |
| 1237 | config { |
| 1238 | pins = "gpio67", "gpio68"; |
| 1239 | drive-strength = <8>; |
| 1240 | }; |
| 1241 | }; |
| 1242 | |
| 1243 | cdc_pdm_comp_lines_sus: pdm_comp_lines_off { |
| 1244 | mux { |
| 1245 | pins = "gpio67", "gpio68"; |
| 1246 | function = "cdc_pdm0"; |
| 1247 | }; |
| 1248 | |
| 1249 | config { |
| 1250 | pins = "gpio67", "gpio68"; |
| 1251 | drive-strength = <2>; |
| 1252 | bias-disable; |
| 1253 | }; |
| 1254 | }; |
| 1255 | }; |
| 1256 | |
| 1257 | cross-conn-det { |
| 1258 | cross_conn_det_act: lines_on { |
| 1259 | mux { |
| 1260 | pins = "gpio63"; |
| 1261 | function = "gpio"; |
| 1262 | }; |
| 1263 | |
| 1264 | config { |
| 1265 | pins = "gpio63"; |
| 1266 | drive-strength = <8>; |
| 1267 | output-low; |
| 1268 | bias-pull-down; |
| 1269 | }; |
| 1270 | }; |
| 1271 | |
| 1272 | cross_conn_det_sus: lines_off { |
| 1273 | mux { |
| 1274 | pins = "gpio63"; |
| 1275 | function = "gpio"; |
| 1276 | }; |
| 1277 | |
| 1278 | config { |
| 1279 | pins = "gpio63"; |
| 1280 | drive-strength = <2>; |
| 1281 | bias-pull-down; |
| 1282 | }; |
| 1283 | }; |
| 1284 | }; |
| 1285 | |
| 1286 | /* WSA VI sense */ |
| 1287 | wsa-vi { |
| 1288 | wsa_vi_on: wsa_vi_on { |
| 1289 | mux { |
| 1290 | pins = "gpio94", "gpio95"; |
| 1291 | function = "wsa_io"; |
| 1292 | }; |
| 1293 | |
| 1294 | config { |
| 1295 | pins = "gpio94", "gpio95"; |
| 1296 | drive-strength = <8>; /* 8 MA */ |
| 1297 | bias-disable; /* NO pull */ |
| 1298 | }; |
| 1299 | }; |
| 1300 | |
| 1301 | wsa_vi_off: wsa_vi_off { |
| 1302 | mux { |
| 1303 | pins = "gpio94", "gpio95"; |
| 1304 | function = "wsa_io"; |
| 1305 | }; |
| 1306 | |
| 1307 | config { |
| 1308 | pins = "gpio94", "gpio95"; |
| 1309 | drive-strength = <2>; /* 2 MA */ |
| 1310 | bias-pull-down; |
| 1311 | }; |
| 1312 | }; |
| 1313 | }; |
| 1314 | |
| 1315 | /* WSA Reset */ |
| 1316 | wsa_reset { |
| 1317 | wsa_reset_on: wsa_reset_on { |
| 1318 | mux { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1319 | function = "gpio"; |
| 1320 | }; |
| 1321 | |
| 1322 | config { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1323 | drive-strength = <2>; /* 2 MA */ |
| 1324 | output-high; |
| 1325 | }; |
| 1326 | }; |
| 1327 | |
| 1328 | wsa_reset_off: wsa_reset_off { |
| 1329 | mux { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1330 | function = "gpio"; |
| 1331 | }; |
| 1332 | |
| 1333 | config { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1334 | drive-strength = <2>; /* 2 MA */ |
jialongjhan | 516635c | 2020-04-21 20:24:23 +0800 | [diff] [blame] | 1335 | output-high; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1336 | }; |
| 1337 | }; |
| 1338 | }; |
| 1339 | |
| 1340 | /* WSA CLK */ |
| 1341 | wsa_clk { |
| 1342 | wsa_clk_on: wsa_clk_on { |
| 1343 | mux { |
| 1344 | pins = "gpio25"; |
| 1345 | function = "pri_mi2s_mclk_a"; |
| 1346 | }; |
| 1347 | |
| 1348 | config { |
| 1349 | pins = "gpio25"; |
| 1350 | drive-strength = <8>; /* 8 MA */ |
| 1351 | output-high; |
| 1352 | }; |
| 1353 | }; |
| 1354 | |
| 1355 | wsa_clk_off: wsa_clk_off { |
| 1356 | mux { |
| 1357 | pins = "gpio25"; |
| 1358 | function = "pri_mi2s_mclk_a"; |
| 1359 | }; |
| 1360 | |
| 1361 | config { |
| 1362 | pins = "gpio25"; |
| 1363 | drive-strength = <2>; /* 2 MA */ |
| 1364 | output-low; |
| 1365 | bias-pull-down; |
| 1366 | }; |
| 1367 | }; |
| 1368 | }; |
| 1369 | |
| 1370 | pri-tlmm-lines { |
| 1371 | pri_tlmm_lines_act: pri_tlmm_lines_act { |
| 1372 | mux { |
| 1373 | pins = "gpio91", "gpio93"; |
| 1374 | function = "pri_mi2s"; |
| 1375 | }; |
| 1376 | |
| 1377 | config { |
| 1378 | pins = "gpio91", "gpio93"; |
| 1379 | drive-strength = <8>; |
| 1380 | }; |
| 1381 | }; |
| 1382 | |
| 1383 | pri_tlmm_lines_sus: pri_tlmm_lines_sus { |
| 1384 | mux { |
| 1385 | pins = "gpio91", "gpio93"; |
| 1386 | function = "pri_mi2s"; |
| 1387 | }; |
| 1388 | |
| 1389 | config { |
| 1390 | pins = "gpio91", "gpio93"; |
| 1391 | drive-strength = <2>; |
| 1392 | bias-pull-down; |
| 1393 | }; |
| 1394 | }; |
| 1395 | }; |
| 1396 | |
| 1397 | pri-tlmm-ws-lines { |
| 1398 | pri_tlmm_ws_act: pri_tlmm_ws_act { |
| 1399 | mux { |
| 1400 | pins = "gpio92"; |
| 1401 | function = "pri_mi2s_ws"; |
| 1402 | }; |
| 1403 | |
| 1404 | config { |
| 1405 | pins = "gpio92"; |
| 1406 | drive-strength = <8>; |
| 1407 | }; |
| 1408 | }; |
| 1409 | |
| 1410 | pri_tlmm_ws_sus: pri_tlmm_ws_sus { |
| 1411 | mux { |
| 1412 | pins = "gpio92"; |
| 1413 | function = "pri_mi2s_ws"; |
| 1414 | }; |
| 1415 | |
| 1416 | config { |
| 1417 | pins = "gpio92"; |
| 1418 | drive-strength = <2>; |
| 1419 | bias-pull-down; |
| 1420 | }; |
| 1421 | }; |
| 1422 | }; |
| 1423 | |
| 1424 | spi3 { |
| 1425 | spi3_default: spi3_default { |
| 1426 | /* active state */ |
| 1427 | mux { |
| 1428 | /* MOSI, MISO, CLK */ |
| 1429 | pins = "gpio8", "gpio9", "gpio11"; |
| 1430 | function = "blsp_spi3"; |
| 1431 | }; |
| 1432 | |
| 1433 | config { |
| 1434 | pins = "gpio8", "gpio9", "gpio11"; |
| 1435 | drive-strength = <12>; /* 12 MA */ |
| 1436 | bias-disable = <0>; /* No PULL */ |
| 1437 | }; |
| 1438 | }; |
| 1439 | |
| 1440 | spi3_sleep: spi3_sleep { |
| 1441 | /* suspended state */ |
| 1442 | mux { |
| 1443 | /* MOSI, MISO, CLK */ |
| 1444 | pins = "gpio8", "gpio9", "gpio11"; |
| 1445 | function = "gpio"; |
| 1446 | }; |
| 1447 | |
| 1448 | config { |
| 1449 | pins = "gpio8", "gpio9", "gpio11"; |
| 1450 | drive-strength = <2>; /* 2 MA */ |
| 1451 | bias-pull-down; /* PULL Down */ |
| 1452 | }; |
| 1453 | }; |
| 1454 | |
| 1455 | spi3_cs0_active: cs0_active { |
| 1456 | /* CS */ |
| 1457 | mux { |
| 1458 | pins = "gpio10"; |
| 1459 | function = "blsp_spi3"; |
| 1460 | }; |
| 1461 | |
| 1462 | config { |
| 1463 | pins = "gpio10"; |
| 1464 | drive-strength = <2>; |
| 1465 | bias-disable = <0>; |
| 1466 | }; |
| 1467 | }; |
| 1468 | |
| 1469 | spi3_cs0_sleep: cs0_sleep { |
| 1470 | /* CS */ |
| 1471 | mux { |
| 1472 | pins = "gpio10"; |
| 1473 | function = "gpio"; |
| 1474 | }; |
| 1475 | |
| 1476 | config { |
| 1477 | pins = "gpio10"; |
| 1478 | drive-strength = <2>; |
| 1479 | bias-disable = <0>; |
| 1480 | }; |
| 1481 | }; |
| 1482 | }; |
| 1483 | |
Venkataraman Nerellapalli | a9ce233 | 2018-07-03 14:17:42 +0530 | [diff] [blame] | 1484 | spi6 { |
| 1485 | spi6_default: spi6_default { |
| 1486 | /* active state */ |
| 1487 | mux { |
| 1488 | /* MOSI, MISO, CLK */ |
| 1489 | pins = "gpio20", "gpio21", "gpio23"; |
| 1490 | function = "blsp_spi6"; |
| 1491 | }; |
| 1492 | |
| 1493 | config { |
| 1494 | pins = "gpio20", "gpio21", "gpio23"; |
| 1495 | drive-strength = <12>; /* 12 MA */ |
| 1496 | bias-disable = <0>; /* No PULL */ |
| 1497 | }; |
| 1498 | }; |
| 1499 | |
| 1500 | spi6_sleep: spi6_sleep { |
| 1501 | /* suspended state */ |
| 1502 | mux { |
| 1503 | /* MOSI, MISO, CLK */ |
| 1504 | pins = "gpio20", "gpio21", "gpio23"; |
| 1505 | function = "gpio"; |
| 1506 | }; |
| 1507 | |
| 1508 | config { |
| 1509 | pins = "gpio20", "gpio21", "gpio23"; |
| 1510 | drive-strength = <2>; /* 2 MA */ |
| 1511 | bias-pull-down; /* PULL Down */ |
| 1512 | }; |
| 1513 | }; |
| 1514 | |
| 1515 | spi6_cs0_active: cs0_active { |
| 1516 | /* CS */ |
| 1517 | mux { |
| 1518 | pins = "gpio22"; |
| 1519 | function = "blsp_spi6"; |
| 1520 | }; |
| 1521 | |
| 1522 | config { |
| 1523 | pins = "gpio22"; |
| 1524 | drive-strength = <2>; |
| 1525 | bias-disable = <0>; |
| 1526 | }; |
| 1527 | }; |
| 1528 | |
| 1529 | spi6_cs0_sleep: cs0_sleep { |
| 1530 | /* CS */ |
| 1531 | mux { |
| 1532 | pins = "gpio22"; |
| 1533 | function = "gpio"; |
| 1534 | }; |
| 1535 | |
| 1536 | config { |
| 1537 | pins = "gpio22"; |
| 1538 | drive-strength = <2>; |
| 1539 | bias-disable = <0>; |
| 1540 | }; |
| 1541 | }; |
| 1542 | }; |
| 1543 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1544 | /* add pingrp for touchscreen */ |
Venkataraman Nerellapalli | 2d5ce98 | 2018-07-04 20:21:45 +0530 | [diff] [blame] | 1545 | ts_int_default: ts_int_default { |
| 1546 | mux { |
| 1547 | pins = "gpio65"; |
| 1548 | function = "gpio"; |
| 1549 | }; |
| 1550 | config { |
| 1551 | pins = "gpio65"; |
| 1552 | drive-strength = <16>; |
| 1553 | /*bias-pull-up;*/ |
| 1554 | input-enable; |
| 1555 | bias-disable; |
| 1556 | }; |
| 1557 | }; |
| 1558 | |
| 1559 | ts_int_output_high: ts_int_output_high { |
| 1560 | mux { |
| 1561 | pins = "gpio65"; |
| 1562 | function = "gpio"; |
| 1563 | }; |
| 1564 | config { |
| 1565 | pins = "gpio65"; |
| 1566 | output-high; |
| 1567 | }; |
| 1568 | }; |
| 1569 | |
| 1570 | ts_int_output_low: ts_int_output_low { |
| 1571 | mux { |
| 1572 | pins = "gpio65"; |
| 1573 | function = "gpio"; |
| 1574 | }; |
| 1575 | config { |
| 1576 | pins = "gpio65"; |
| 1577 | output-low; |
| 1578 | }; |
| 1579 | }; |
| 1580 | |
| 1581 | ts_int_input: ts_int_input { |
| 1582 | mux { |
| 1583 | pins = "gpio65"; |
| 1584 | function = "gpio"; |
| 1585 | }; |
| 1586 | config { |
| 1587 | pins = "gpio65"; |
| 1588 | input-enable; |
| 1589 | bias-disable; |
| 1590 | }; |
| 1591 | }; |
| 1592 | |
| 1593 | ts_rst_default: ts_rst_default { |
| 1594 | mux { |
| 1595 | pins = "gpio64"; |
| 1596 | function = "gpio"; |
| 1597 | }; |
| 1598 | config { |
| 1599 | pins = "gpio64"; |
| 1600 | drive-strength = <16>; |
| 1601 | /*bias-pull-up;*/ |
| 1602 | input-enable; |
| 1603 | bias-disable; |
| 1604 | }; |
| 1605 | }; |
| 1606 | |
| 1607 | ts_rst_output_high: ts_rst_output_high { |
| 1608 | mux { |
| 1609 | pins = "gpio64"; |
| 1610 | function = "gpio"; |
| 1611 | }; |
| 1612 | config { |
| 1613 | pins = "gpio64"; |
| 1614 | output-high; |
| 1615 | }; |
| 1616 | }; |
| 1617 | |
| 1618 | ts_rst_output_low: ts_rst_output_low { |
| 1619 | mux { |
| 1620 | pins = "gpio64"; |
| 1621 | function = "gpio"; |
| 1622 | }; |
| 1623 | config { |
| 1624 | pins = "gpio64"; |
| 1625 | output-low; |
| 1626 | }; |
| 1627 | }; |
| 1628 | |
| 1629 | ts_rst_input: ts_rst_input { |
| 1630 | mux { |
| 1631 | pins = "gpio64"; |
| 1632 | function = "gpio"; |
| 1633 | }; |
| 1634 | config { |
| 1635 | pins = "gpio64"; |
| 1636 | input-enable; |
| 1637 | bias-disable; |
| 1638 | }; |
| 1639 | }; |
| 1640 | |
| 1641 | /* add pingrp for touchscreen */ |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1642 | pmx_ts_int_active { |
| 1643 | ts_int_active: ts_int_active { |
| 1644 | mux { |
| 1645 | pins = "gpio65"; |
| 1646 | function = "gpio"; |
| 1647 | }; |
| 1648 | |
| 1649 | config { |
| 1650 | pins = "gpio65"; |
| 1651 | drive-strength = <8>; |
| 1652 | bias-pull-up; |
| 1653 | }; |
| 1654 | }; |
| 1655 | }; |
| 1656 | |
| 1657 | pmx_ts_int_suspend { |
| 1658 | ts_int_suspend: ts_int_suspend { |
| 1659 | mux { |
| 1660 | pins = "gpio65"; |
| 1661 | function = "gpio"; |
| 1662 | }; |
| 1663 | |
| 1664 | config { |
| 1665 | pins = "gpio65"; |
| 1666 | drive-strength = <2>; |
| 1667 | bias-pull-down; |
| 1668 | }; |
| 1669 | }; |
| 1670 | }; |
| 1671 | |
| 1672 | pmx_ts_reset_active { |
| 1673 | ts_reset_active: ts_reset_active { |
| 1674 | mux { |
| 1675 | pins = "gpio64"; |
| 1676 | function = "gpio"; |
| 1677 | }; |
| 1678 | |
| 1679 | config { |
| 1680 | pins = "gpio64"; |
| 1681 | drive-strength = <8>; |
| 1682 | bias-pull-up; |
| 1683 | }; |
| 1684 | }; |
| 1685 | }; |
| 1686 | |
| 1687 | pmx_ts_reset_suspend { |
| 1688 | ts_reset_suspend: ts_reset_suspend { |
| 1689 | mux { |
| 1690 | pins = "gpio64"; |
| 1691 | function = "gpio"; |
| 1692 | }; |
| 1693 | |
| 1694 | config { |
| 1695 | pins = "gpio64"; |
| 1696 | drive-strength = <2>; |
| 1697 | bias-pull-down; |
| 1698 | }; |
| 1699 | }; |
| 1700 | }; |
| 1701 | |
| 1702 | pmx_ts_release { |
| 1703 | ts_release: ts_release { |
| 1704 | mux { |
| 1705 | pins = "gpio65", "gpio64"; |
| 1706 | function = "gpio"; |
| 1707 | }; |
| 1708 | |
| 1709 | config { |
| 1710 | pins = "gpio65", "gpio64"; |
| 1711 | drive-strength = <2>; |
| 1712 | bias-pull-down; |
| 1713 | }; |
| 1714 | }; |
| 1715 | }; |
| 1716 | |
| 1717 | tlmm_gpio_key { |
| 1718 | gpio_key_active: gpio_key_active { |
| 1719 | mux { |
| 1720 | pins = "gpio85", "gpio86", "gpio87"; |
| 1721 | function = "gpio"; |
| 1722 | }; |
| 1723 | |
| 1724 | config { |
| 1725 | pins = "gpio85", "gpio86", "gpio87"; |
| 1726 | drive-strength = <2>; |
| 1727 | bias-pull-up; |
| 1728 | }; |
| 1729 | }; |
| 1730 | |
| 1731 | gpio_key_suspend: gpio_key_suspend { |
| 1732 | mux { |
| 1733 | pins = "gpio85", "gpio86", "gpio87"; |
| 1734 | function = "gpio"; |
| 1735 | }; |
| 1736 | |
| 1737 | config { |
| 1738 | pins = "gpio85", "gpio86", "gpio87"; |
| 1739 | drive-strength = <2>; |
| 1740 | bias-pull-up; |
| 1741 | }; |
| 1742 | }; |
| 1743 | }; |
| 1744 | pmx_qdsd_clk { |
| 1745 | qdsd_clk_sdcard: clk_sdcard { |
| 1746 | config { |
| 1747 | pins = "qdsd_clk"; |
| 1748 | bias-disable;/* NO pull */ |
| 1749 | drive-strength = <16>; /* 16 MA */ |
| 1750 | }; |
| 1751 | }; |
| 1752 | qdsd_clk_trace: clk_trace { |
| 1753 | config { |
| 1754 | pins = "qdsd_clk"; |
| 1755 | bias-pull-down; /* pull down */ |
| 1756 | drive-strength = <2>; /* 2 MA */ |
| 1757 | }; |
| 1758 | }; |
| 1759 | qdsd_clk_swdtrc: clk_swdtrc { |
| 1760 | config { |
| 1761 | pins = "qdsd_clk"; |
| 1762 | bias-pull-down; /* pull down */ |
| 1763 | drive-strength = <2>; /* 2 MA */ |
| 1764 | }; |
| 1765 | }; |
| 1766 | qdsd_clk_spmi: clk_spmi { |
| 1767 | config { |
| 1768 | pins = "qdsd_clk"; |
| 1769 | bias-pull-down; /* pull down */ |
| 1770 | drive-strength = <2>; /* 2 MA */ |
| 1771 | }; |
| 1772 | }; |
| 1773 | }; |
| 1774 | |
| 1775 | pmx_qdsd_cmd { |
| 1776 | qdsd_cmd_sdcard: cmd_sdcard { |
| 1777 | config { |
| 1778 | pins = "qdsd_cmd"; |
| 1779 | bias-pull-down; /* pull down */ |
| 1780 | drive-strength = <8>; /* 8 MA */ |
| 1781 | }; |
| 1782 | }; |
| 1783 | qdsd_cmd_trace: cmd_trace { |
| 1784 | config { |
| 1785 | pins = "qdsd_cmd"; |
| 1786 | bias-pull-down; /* pull down */ |
| 1787 | drive-strength = <2>; /* 2 MA */ |
| 1788 | }; |
| 1789 | }; |
| 1790 | qdsd_cmd_swduart: cmd_uart { |
| 1791 | config { |
| 1792 | pins = "qdsd_cmd"; |
| 1793 | bias-pull-up; /* pull up */ |
| 1794 | drive-strength = <2>; /* 2 MA */ |
| 1795 | }; |
| 1796 | }; |
| 1797 | qdsd_cmd_swdtrc: cmd_swdtrc { |
| 1798 | config { |
| 1799 | pins = "qdsd_cmd"; |
| 1800 | bias-pull-up; /* pull up */ |
| 1801 | drive-strength = <2>; /* 2 MA */ |
| 1802 | }; |
| 1803 | }; |
| 1804 | qdsd_cmd_jtag: cmd_jtag { |
| 1805 | config { |
| 1806 | pins = "qdsd_cmd"; |
| 1807 | bias-disable; /* NO pull */ |
| 1808 | drive-strength = <8>; /* 8 MA */ |
| 1809 | }; |
| 1810 | }; |
| 1811 | qdsd_cmd_spmi: cmd_spmi { |
| 1812 | config { |
| 1813 | pins = "qdsd_cmd"; |
| 1814 | bias-pull-down; /* pull down */ |
| 1815 | drive-strength = <10>; /* 10 MA */ |
| 1816 | }; |
| 1817 | }; |
| 1818 | }; |
| 1819 | |
| 1820 | pmx_qdsd_data0 { |
| 1821 | qdsd_data0_sdcard: data0_sdcard { |
| 1822 | config { |
| 1823 | pins = "qdsd_data0"; |
| 1824 | bias-pull-down; /* pull down */ |
| 1825 | drive-strength = <8>; /* 8 MA */ |
| 1826 | }; |
| 1827 | }; |
| 1828 | qdsd_data0_trace: data0_trace { |
| 1829 | config { |
| 1830 | pins = "qdsd_data0"; |
| 1831 | bias-pull-down; /* pull down */ |
| 1832 | drive-strength = <8>; /* 8 MA */ |
| 1833 | }; |
| 1834 | }; |
| 1835 | qdsd_data0_swduart: data0_uart { |
| 1836 | config { |
| 1837 | pins = "qdsd_data0"; |
| 1838 | bias-pull-down; /* pull down */ |
| 1839 | drive-strength = <2>; /* 2 MA */ |
| 1840 | }; |
| 1841 | }; |
| 1842 | qdsd_data0_swdtrc: data0_swdtrc { |
| 1843 | config { |
| 1844 | pins = "qdsd_data0"; |
| 1845 | bias-pull-down; /* pull down */ |
| 1846 | drive-strength = <2>; /* 2 MA */ |
| 1847 | }; |
| 1848 | }; |
| 1849 | qdsd_data0_jtag: data0_jtag { |
| 1850 | config { |
| 1851 | pins = "qdsd_data0"; |
| 1852 | bias-pull-up; /* pull up */ |
| 1853 | drive-strength = <2>; /* 2 MA */ |
| 1854 | }; |
| 1855 | }; |
| 1856 | qdsd_data0_spmi: data0_spmi { |
| 1857 | config { |
| 1858 | pins = "qdsd_data0"; |
| 1859 | bias-pull-down; /* pull down */ |
| 1860 | drive-strength = <2>; /* 2 MA */ |
| 1861 | }; |
| 1862 | }; |
| 1863 | }; |
| 1864 | |
| 1865 | pmx_qdsd_data1 { |
| 1866 | qdsd_data1_sdcard: data1_sdcard { |
| 1867 | config { |
| 1868 | pins = "qdsd_data1"; |
| 1869 | bias-pull-down; /* pull down */ |
| 1870 | drive-strength = <8>; /* 8 MA */ |
| 1871 | }; |
| 1872 | }; |
| 1873 | qdsd_data1_trace: data1_trace { |
| 1874 | config { |
| 1875 | pins = "qdsd_data1"; |
| 1876 | bias-pull-down; /* pull down */ |
| 1877 | drive-strength = <8>; /* 8 MA */ |
| 1878 | }; |
| 1879 | }; |
| 1880 | qdsd_data1_swduart: data1_uart { |
| 1881 | config { |
| 1882 | pins = "qdsd_data1"; |
| 1883 | bias-pull-down; /* pull down */ |
| 1884 | drive-strength = <2>; /* 2 MA */ |
| 1885 | }; |
| 1886 | }; |
| 1887 | qdsd_data1_swdtrc: data1_swdtrc { |
| 1888 | config { |
| 1889 | pins = "qdsd_data1"; |
| 1890 | bias-pull-down; /* pull down */ |
| 1891 | drive-strength = <2>; /* 2 MA */ |
| 1892 | }; |
| 1893 | }; |
| 1894 | qdsd_data1_jtag: data1_jtag { |
| 1895 | config { |
| 1896 | pins = "qdsd_data1"; |
| 1897 | bias-pull-down; /* pull down */ |
| 1898 | drive-strength = <2>; /* 2 MA */ |
| 1899 | }; |
| 1900 | }; |
| 1901 | }; |
| 1902 | |
| 1903 | pmx_qdsd_data2 { |
| 1904 | qdsd_data2_sdcard: data2_sdcard { |
| 1905 | config { |
| 1906 | pins = "qdsd_data2"; |
| 1907 | bias-pull-down; /* pull down */ |
| 1908 | drive-strength = <8>; /* 8 MA */ |
| 1909 | }; |
| 1910 | }; |
| 1911 | qdsd_data2_trace: data2_trace { |
| 1912 | config { |
| 1913 | pins = "qdsd_data2"; |
| 1914 | bias-pull-down; /* pull down */ |
| 1915 | drive-strength = <8>; /* 8 MA */ |
| 1916 | }; |
| 1917 | }; |
| 1918 | qdsd_data2_swduart: data2_uart { |
| 1919 | config { |
| 1920 | pins = "qdsd_data2"; |
| 1921 | bias-pull-down; /* pull down */ |
| 1922 | drive-strength = <2>; /* 2 MA */ |
| 1923 | }; |
| 1924 | }; |
| 1925 | qdsd_data2_swdtrc: data2_swdtrc { |
| 1926 | config { |
| 1927 | pins = "qdsd_data2"; |
| 1928 | bias-pull-down; /* pull down */ |
| 1929 | drive-strength = <2>; /* 2 MA */ |
| 1930 | }; |
| 1931 | }; |
| 1932 | qdsd_data2_jtag: data2_jtag { |
| 1933 | config { |
| 1934 | pins = "qdsd_data2"; |
| 1935 | bias-pull-up; /* pull up */ |
| 1936 | drive-strength = <8>; /* 8 MA */ |
| 1937 | }; |
| 1938 | }; |
| 1939 | }; |
| 1940 | |
| 1941 | pmx_qdsd_data3 { |
| 1942 | qdsd_data3_sdcard: data3_sdcard { |
| 1943 | config { |
| 1944 | pins = "qdsd_data3"; |
| 1945 | bias-pull-down; /* pull down */ |
| 1946 | drive-strength = <8>; /* 8 MA */ |
| 1947 | }; |
| 1948 | }; |
| 1949 | qdsd_data3_trace: data3_trace { |
| 1950 | config { |
| 1951 | pins = "qdsd_data3"; |
| 1952 | bias-pull-down; /* pull down */ |
| 1953 | drive-strength = <8>; /* 8 MA */ |
| 1954 | }; |
| 1955 | }; |
| 1956 | qdsd_data3_swduart: data3_uart { |
| 1957 | config { |
| 1958 | pins = "qdsd_data3"; |
| 1959 | bias-pull-up; /* pull up */ |
| 1960 | drive-strength = <2>; /* 2 MA */ |
| 1961 | }; |
| 1962 | }; |
| 1963 | qdsd_data3_swdtrc: data3_swdtrc { |
| 1964 | config { |
| 1965 | pins = "qdsd_data3"; |
| 1966 | bias-pull-up; /* pull up */ |
| 1967 | drive-strength = <2>; /* 2 MA */ |
| 1968 | }; |
| 1969 | }; |
| 1970 | qdsd_data3_jtag: data3_jtag { |
| 1971 | config { |
| 1972 | pins = "qdsd_data3"; |
| 1973 | bias-pull-up; /* pull up */ |
| 1974 | drive-strength = <2>; /* 2 MA */ |
| 1975 | }; |
| 1976 | }; |
| 1977 | qdsd_data3_spmi: data3_spmi { |
| 1978 | config { |
| 1979 | pins = "qdsd_data3"; |
| 1980 | bias-pull-down; /* pull down */ |
| 1981 | drive-strength = <8>; /* 8 MA */ |
| 1982 | }; |
| 1983 | }; |
| 1984 | }; |
| 1985 | |
| 1986 | typec_ssmux_config: typec_ssmux_config { |
| 1987 | mux { |
| 1988 | pins = "gpio139"; |
| 1989 | function = "gpio"; |
| 1990 | }; |
| 1991 | |
| 1992 | config { |
| 1993 | pins = "gpio139"; |
| 1994 | drive-strength = <2>; |
| 1995 | bias-disable; |
| 1996 | }; |
| 1997 | }; |
Sriharsha Allenki | 26d7161 | 2018-06-01 15:22:38 +0530 | [diff] [blame] | 1998 | |
| 1999 | ssusb_mode_sel: ssusb_mode_sel { |
| 2000 | mux { |
| 2001 | pins = "gpio12"; |
| 2002 | function = "gpio"; |
| 2003 | }; |
| 2004 | |
| 2005 | config { |
| 2006 | pins = "gpio12"; |
| 2007 | drive-strength = <2>; |
| 2008 | bias-disable; |
| 2009 | input-disable; |
| 2010 | }; |
| 2011 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 2012 | }; |
| 2013 | }; |