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 | |
| 402 | pmx_mdss: pmx_mdss { |
| 403 | mdss_dsi_active: mdss_dsi_active { |
| 404 | mux { |
| 405 | pins = "gpio61", "gpio59"; |
| 406 | function = "gpio"; |
| 407 | }; |
| 408 | |
| 409 | config { |
| 410 | pins = "gpio61", "gpio59"; |
| 411 | drive-strength = <8>; /* 8 mA */ |
| 412 | bias-disable = <0>; /* no pull */ |
| 413 | output-high; |
| 414 | }; |
| 415 | }; |
| 416 | |
| 417 | mdss_dsi_suspend: mdss_dsi_suspend { |
| 418 | mux { |
| 419 | pins = "gpio61", "gpio59"; |
| 420 | function = "gpio"; |
| 421 | }; |
| 422 | |
| 423 | config { |
| 424 | pins = "gpio61", "gpio59"; |
| 425 | drive-strength = <2>; /* 2 mA */ |
| 426 | bias-pull-down; /* pull down */ |
| 427 | }; |
| 428 | }; |
Rashi Bindra | 771b601 | 2018-03-22 18:20:45 +0530 | [diff] [blame] | 429 | mdss_dsi_gpio: mdss_dsi_gpio { |
| 430 | mux { |
| 431 | pins = "gpio141"; |
| 432 | function = "gpio"; |
| 433 | }; |
| 434 | |
| 435 | config { |
| 436 | pins = "gpio141"; |
| 437 | drive-strength = <8>; |
| 438 | bias-pull-down; |
| 439 | output-low; |
| 440 | }; |
| 441 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 442 | }; |
| 443 | |
| 444 | pmx_mdss_te { |
| 445 | mdss_te_active: mdss_te_active { |
| 446 | mux { |
| 447 | pins = "gpio24"; |
| 448 | function = "mdp_vsync"; |
| 449 | }; |
| 450 | config { |
| 451 | pins = "gpio24"; |
| 452 | drive-strength = <2>; /* 8 mA */ |
| 453 | bias-pull-down; /* pull down*/ |
| 454 | }; |
| 455 | }; |
| 456 | |
| 457 | mdss_te_suspend: mdss_te_suspend { |
| 458 | mux { |
| 459 | pins = "gpio24"; |
| 460 | function = "mdp_vsync"; |
| 461 | }; |
| 462 | config { |
| 463 | pins = "gpio24"; |
| 464 | drive-strength = <2>; /* 2 mA */ |
| 465 | bias-pull-down; /* pull down */ |
| 466 | }; |
| 467 | }; |
| 468 | }; |
| 469 | |
Vijay Navnath Kamble | f70ff3d | 2018-07-17 17:35:48 +0530 | [diff] [blame] | 470 | ext_amp_ctrl { |
| 471 | label = "ext_amp_ctrl"; |
| 472 | ext_amp_ctrl_active: ext_amp_ctrl_active { |
| 473 | mux { |
| 474 | pins = "gpio68"; |
| 475 | function = "gpio"; |
| 476 | }; |
| 477 | config { |
| 478 | pins = "gpio68"; |
| 479 | drive-strength = <8>; /* 8 MA */ |
| 480 | bias-pull-up; /* PULL UP */ |
| 481 | output-high; |
| 482 | }; |
| 483 | }; |
| 484 | |
| 485 | ext_amp_ctrl_sleep: ext_amp_ctrl_sleep { |
| 486 | mux { |
| 487 | pins = "gpio68"; |
| 488 | function = "gpio"; |
| 489 | }; |
| 490 | configs { |
| 491 | pins = "gpio68"; |
| 492 | drive-strength = <2>; /* 2 MA */ |
| 493 | bias-pull-down; /* PULL DOWN */ |
| 494 | }; |
| 495 | }; |
| 496 | }; |
| 497 | |
Md Mansoor Ahmed | 19ca485 | 2018-04-23 11:50:38 +0530 | [diff] [blame] | 498 | cdc_dmic0_clk_act: cdc_dmic0_clk_act_default { |
| 499 | mux { |
| 500 | pins = "gpio89"; |
| 501 | function = "dmic0_clk"; |
| 502 | }; |
| 503 | |
| 504 | config { |
| 505 | pins = "gpio89"; |
| 506 | drive-strength = <8>; |
| 507 | }; |
| 508 | }; |
| 509 | |
| 510 | cdc_dmic0_clk_sus: cdc_dmic0_clk_sus_sleep { |
| 511 | mux { |
| 512 | pins = "gpio89"; |
| 513 | function = "gpio"; |
| 514 | }; |
| 515 | |
| 516 | config { |
| 517 | pins = "gpio89"; |
| 518 | drive-strength = <2>; |
| 519 | bias-disable; |
| 520 | }; |
| 521 | }; |
| 522 | |
| 523 | cdc_dmic0_data_act: cdc_dmic0_data_act_default { |
| 524 | mux { |
| 525 | pins = "gpio90"; |
| 526 | function = "dmic0_data"; |
| 527 | }; |
| 528 | |
| 529 | config { |
| 530 | pins = "gpio90"; |
| 531 | drive-strength = <8>; |
| 532 | }; |
| 533 | }; |
| 534 | |
| 535 | cdc_dmic0_data_sus: cdc_dmic0_data_sus_sleep { |
| 536 | mux { |
| 537 | pins = "gpio90"; |
| 538 | function = "gpio"; |
| 539 | }; |
| 540 | |
| 541 | config { |
| 542 | pins = "gpio90"; |
| 543 | drive-strength = <2>; |
| 544 | bias-disable; |
| 545 | }; |
| 546 | }; |
| 547 | |
| 548 | sec-tlmm-lines { |
| 549 | sec_tlmm_lines_act: sec_tlmm_lines_act { |
| 550 | mux { |
| 551 | pins = "gpio135", "gpio136", |
| 552 | "gpio137", "gpio138"; |
| 553 | function = "sec_mi2s"; |
| 554 | }; |
| 555 | |
| 556 | config { |
| 557 | pins = "gpio135", "gpio136", |
| 558 | "gpio137", "gpio138"; |
| 559 | drive-strength = <8>; |
| 560 | }; |
| 561 | }; |
| 562 | |
| 563 | sec_tlmm_lines_sus: sec_tlmm_lines_sus { |
| 564 | mux { |
| 565 | pins = "gpio135", "gpio136", |
| 566 | "gpio137", "gpio138"; |
| 567 | function = "sec_mi2s"; |
| 568 | }; |
| 569 | |
| 570 | config { |
| 571 | pins = "gpio135", "gpio136", |
| 572 | "gpio137", "gpio138"; |
| 573 | drive-strength = <2>; |
| 574 | bias-pull-down; |
| 575 | }; |
| 576 | }; |
| 577 | }; |
| 578 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 579 | hsuart_active: default { |
| 580 | mux { |
| 581 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 582 | function = "blsp_uart4"; |
| 583 | }; |
| 584 | |
| 585 | config { |
| 586 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 587 | drive-strength = <16>; |
| 588 | bias-disable; |
| 589 | }; |
| 590 | }; |
| 591 | |
| 592 | hsuart_sleep: sleep { |
| 593 | mux { |
| 594 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 595 | function = "gpio"; |
| 596 | }; |
| 597 | |
| 598 | config { |
| 599 | pins = "gpio12", "gpio13", "gpio14", "gpio15"; |
| 600 | drive-strength = <2>; |
| 601 | bias-disable; |
| 602 | }; |
| 603 | }; |
| 604 | |
Shrey Vijay | 88eddb5 | 2017-11-30 14:47:52 +0530 | [diff] [blame] | 605 | blsp2_uart0_active: blsp2_uart0_active { |
| 606 | mux { |
| 607 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 608 | function = "blsp_uart5"; |
| 609 | }; |
| 610 | |
| 611 | config { |
| 612 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 613 | drive-strength = <16>; |
| 614 | bias-disable; |
| 615 | }; |
| 616 | }; |
| 617 | |
| 618 | blsp2_uart0_sleep: blsp2_uart0_sleep { |
| 619 | mux { |
| 620 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 621 | function = "gpio"; |
| 622 | }; |
| 623 | |
| 624 | config { |
| 625 | pins = "gpio16", "gpio17", "gpio18", "gpio19"; |
| 626 | drive-strength = <2>; |
| 627 | bias-disable; |
| 628 | }; |
| 629 | }; |
| 630 | |
Venkataraman Nerellapalli | 5d54a0b | 2018-07-02 12:48:48 +0530 | [diff] [blame] | 631 | blsp2_uart1_active: blsp2_uart1_active { |
| 632 | mux { |
| 633 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 634 | function = "blsp_uart6"; |
| 635 | }; |
| 636 | |
| 637 | config { |
| 638 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 639 | drive-strength = <16>; |
| 640 | bias-disable; |
| 641 | }; |
| 642 | }; |
| 643 | |
| 644 | blsp2_uart1_sleep: blsp2_uart1_sleep { |
| 645 | mux { |
| 646 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 647 | function = "gpio"; |
| 648 | }; |
| 649 | |
| 650 | config { |
| 651 | pins = "gpio20", "gpio21", "gpio22", "gpio23"; |
| 652 | drive-strength = <2>; |
| 653 | bias-disable; |
| 654 | }; |
| 655 | }; |
| 656 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 657 | /* SDC pin type */ |
| 658 | sdc1_clk_on: sdc1_clk_on { |
| 659 | config { |
| 660 | pins = "sdc1_clk"; |
| 661 | bias-disable; /* NO pull */ |
| 662 | drive-strength = <16>; /* 16 MA */ |
| 663 | }; |
| 664 | }; |
| 665 | |
| 666 | sdc1_clk_off: sdc1_clk_off { |
| 667 | config { |
| 668 | pins = "sdc1_clk"; |
| 669 | bias-disable; /* NO pull */ |
| 670 | drive-strength = <2>; /* 2 MA */ |
| 671 | }; |
| 672 | }; |
| 673 | |
| 674 | sdc1_cmd_on: sdc1_cmd_on { |
| 675 | config { |
| 676 | pins = "sdc1_cmd"; |
| 677 | bias-pull-up; /* pull up */ |
| 678 | drive-strength = <10>; /* 10 MA */ |
| 679 | }; |
| 680 | }; |
| 681 | |
| 682 | sdc1_cmd_off: sdc1_cmd_off { |
| 683 | config { |
| 684 | pins = "sdc1_cmd"; |
| 685 | num-grp-pins = <1>; |
| 686 | bias-pull-up; /* pull up */ |
| 687 | drive-strength = <2>; /* 2 MA */ |
| 688 | }; |
| 689 | }; |
| 690 | |
| 691 | sdc1_data_on: sdc1_data_on { |
| 692 | config { |
| 693 | pins = "sdc1_data"; |
| 694 | bias-pull-up; /* pull up */ |
| 695 | drive-strength = <10>; /* 10 MA */ |
| 696 | }; |
| 697 | }; |
| 698 | |
| 699 | sdc1_data_off: sdc1_data_off { |
| 700 | config { |
| 701 | pins = "sdc1_data"; |
| 702 | bias-pull-up; /* pull up */ |
| 703 | drive-strength = <2>; /* 2 MA */ |
| 704 | }; |
| 705 | }; |
| 706 | |
| 707 | sdc1_rclk_on: sdc1_rclk_on { |
| 708 | config { |
| 709 | pins = "sdc1_rclk"; |
| 710 | bias-pull-down; /* pull down */ |
| 711 | }; |
| 712 | }; |
| 713 | |
| 714 | sdc1_rclk_off: sdc1_rclk_off { |
| 715 | config { |
| 716 | pins = "sdc1_rclk"; |
| 717 | bias-pull-down; /* pull down */ |
| 718 | }; |
| 719 | }; |
| 720 | |
| 721 | sdc2_clk_on: sdc2_clk_on { |
| 722 | config { |
| 723 | pins = "sdc2_clk"; |
| 724 | drive-strength = <16>; /* 16 MA */ |
| 725 | bias-disable; /* NO pull */ |
| 726 | }; |
| 727 | }; |
| 728 | |
| 729 | sdc2_clk_off: sdc2_clk_off { |
| 730 | config { |
| 731 | pins = "sdc2_clk"; |
| 732 | bias-disable; /* NO pull */ |
| 733 | drive-strength = <2>; /* 2 MA */ |
| 734 | }; |
| 735 | }; |
| 736 | |
| 737 | sdc2_cmd_on: sdc2_cmd_on { |
| 738 | config { |
| 739 | pins = "sdc2_cmd"; |
| 740 | bias-pull-up; /* pull up */ |
| 741 | drive-strength = <10>; /* 10 MA */ |
| 742 | }; |
| 743 | }; |
| 744 | |
| 745 | sdc2_cmd_off: sdc2_cmd_off { |
| 746 | config { |
| 747 | pins = "sdc2_cmd"; |
| 748 | bias-pull-up; /* pull up */ |
| 749 | drive-strength = <2>; /* 2 MA */ |
| 750 | }; |
| 751 | }; |
| 752 | |
| 753 | sdc2_data_on: sdc2_data_on { |
| 754 | config { |
| 755 | pins = "sdc2_data"; |
| 756 | bias-pull-up; /* pull up */ |
| 757 | drive-strength = <10>; /* 10 MA */ |
| 758 | }; |
| 759 | }; |
| 760 | |
| 761 | sdc2_data_off: sdc2_data_off { |
| 762 | config { |
| 763 | pins = "sdc2_data"; |
| 764 | bias-pull-up; /* pull up */ |
| 765 | drive-strength = <2>; /* 2 MA */ |
| 766 | }; |
| 767 | }; |
| 768 | |
| 769 | sdc2_cd_on: cd_on { |
| 770 | mux { |
| 771 | pins = "gpio133"; |
| 772 | function = "gpio"; |
| 773 | }; |
| 774 | |
| 775 | config { |
| 776 | pins = "gpio133"; |
| 777 | drive-strength = <2>; |
| 778 | bias-pull-up; |
| 779 | }; |
| 780 | }; |
| 781 | |
| 782 | sdc2_cd_off: cd_off { |
| 783 | mux { |
| 784 | pins = "gpio133"; |
| 785 | function = "gpio"; |
| 786 | }; |
| 787 | |
| 788 | config { |
| 789 | pins = "gpio133"; |
| 790 | drive-strength = <2>; |
| 791 | bias-disable; |
| 792 | }; |
| 793 | }; |
| 794 | |
Md Mansoor Ahmed | 19ca485 | 2018-04-23 11:50:38 +0530 | [diff] [blame] | 795 | i2c_1 { |
| 796 | i2c_1_active: i2c_1_active { |
| 797 | mux { |
| 798 | pins = "gpio2", "gpio3"; |
| 799 | function = "blsp_i2c1"; |
| 800 | }; |
| 801 | config { |
| 802 | pins = "gpio2", "gpio3"; |
| 803 | drive-strength = <2>; |
| 804 | bias-pull-up; |
| 805 | }; |
| 806 | }; |
| 807 | |
| 808 | i2c_1_sleep: i2c_1_sleep { |
| 809 | mux { |
| 810 | pins = "gpio2", "gpio3"; |
| 811 | function = "blsp_i2c1"; |
| 812 | }; |
| 813 | config { |
| 814 | pins = "gpio2", "gpio3"; |
| 815 | drive-strength = <2>; |
| 816 | bias-disable; |
| 817 | }; |
| 818 | }; |
| 819 | }; |
| 820 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 821 | i2c_2 { |
| 822 | i2c_2_active: i2c_2_active { |
| 823 | /* active state */ |
| 824 | mux { |
| 825 | pins = "gpio6", "gpio7"; |
| 826 | function = "blsp_i2c2"; |
| 827 | }; |
| 828 | |
| 829 | config { |
| 830 | pins = "gpio6", "gpio7"; |
| 831 | drive-strength = <2>; |
| 832 | bias-disable; |
| 833 | }; |
| 834 | }; |
| 835 | |
| 836 | i2c_2_sleep: i2c_2_sleep { |
| 837 | /* suspended state */ |
| 838 | mux { |
| 839 | pins = "gpio6", "gpio7"; |
| 840 | function = "gpio"; |
| 841 | }; |
| 842 | |
| 843 | config { |
| 844 | pins = "gpio6", "gpio7"; |
| 845 | drive-strength = <2>; |
| 846 | bias-disable; |
| 847 | }; |
| 848 | }; |
| 849 | }; |
| 850 | |
| 851 | i2c_3 { |
| 852 | i2c_3_active: i2c_3_active { |
| 853 | /* active state */ |
| 854 | mux { |
| 855 | pins = "gpio10", "gpio11"; |
| 856 | function = "blsp_i2c3"; |
| 857 | }; |
| 858 | |
| 859 | config { |
| 860 | pins = "gpio10", "gpio11"; |
| 861 | drive-strength = <2>; |
| 862 | bias-disable; |
| 863 | }; |
| 864 | }; |
| 865 | |
| 866 | i2c_3_sleep: i2c_3_sleep { |
| 867 | /* suspended state */ |
| 868 | mux { |
| 869 | pins = "gpio10", "gpio11"; |
| 870 | function = "gpio"; |
| 871 | }; |
| 872 | |
| 873 | config { |
| 874 | pins = "gpio10", "gpio11"; |
| 875 | drive-strength = <2>; |
| 876 | bias-disable; |
| 877 | }; |
| 878 | }; |
| 879 | }; |
| 880 | |
| 881 | i2c_5 { |
| 882 | i2c_5_active: i2c_5_active { |
| 883 | /* active state */ |
| 884 | mux { |
| 885 | pins = "gpio18", "gpio19"; |
| 886 | function = "blsp_i2c5"; |
| 887 | }; |
| 888 | |
| 889 | config { |
| 890 | pins = "gpio18", "gpio19"; |
| 891 | drive-strength = <2>; |
| 892 | bias-disable; |
| 893 | }; |
| 894 | }; |
| 895 | |
| 896 | i2c_5_sleep: i2c_5_sleep { |
| 897 | /* suspended state */ |
| 898 | mux { |
| 899 | pins = "gpio18", "gpio19"; |
| 900 | function = "gpio"; |
| 901 | }; |
| 902 | |
| 903 | config { |
| 904 | pins = "gpio18", "gpio19"; |
| 905 | drive-strength = <2>; |
| 906 | bias-disable; |
| 907 | }; |
| 908 | }; |
| 909 | }; |
| 910 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 911 | nfc { |
| 912 | nfc_int_active: nfc_int_active { |
| 913 | /* active state */ |
| 914 | mux { |
| 915 | /* GPIO 17 NFC Read Interrupt */ |
| 916 | pins = "gpio17"; |
| 917 | function = "gpio"; |
| 918 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 919 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 920 | config { |
| 921 | pins = "gpio17"; |
| 922 | drive-strength = <2>; /* 2 MA */ |
| 923 | bias-pull-up; |
| 924 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 925 | }; |
| 926 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 927 | nfc_int_suspend: nfc_int_suspend { |
| 928 | /* sleep state */ |
| 929 | mux { |
| 930 | /* GPIO 17 NFC Read Interrupt */ |
| 931 | pins = "gpio17"; |
| 932 | function = "gpio"; |
| 933 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 934 | |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 935 | config { |
| 936 | pins = "gpio17"; |
| 937 | drive-strength = <2>; /* 2 MA */ |
| 938 | bias-pull-up; |
| 939 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 940 | }; |
| 941 | |
michaellin | 0330b0e | 2019-01-29 15:08:29 +0800 | [diff] [blame^] | 942 | /*<<2019-01-29-Michael Lin-[FairPhone][NFC]Reassign ESE Enable gpio in case of collision*/ |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 943 | nfc_disable_active: nfc_disable_active { |
| 944 | /* active state */ |
| 945 | mux { |
| 946 | /* 16: NFC ENABLE 62: FW DNLD */ |
michaellin | 0330b0e | 2019-01-29 15:08:29 +0800 | [diff] [blame^] | 947 | /* 134: ESE Enable */ |
| 948 | pins = "gpio16", "gpio62", "gpio134"; |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 949 | function = "gpio"; |
| 950 | }; |
| 951 | |
| 952 | config { |
michaellin | 0330b0e | 2019-01-29 15:08:29 +0800 | [diff] [blame^] | 953 | pins = "gpio16", "gpio62", "gpio134"; |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 954 | drive-strength = <2>; /* 2 MA */ |
| 955 | bias-pull-up; |
| 956 | }; |
| 957 | }; |
| 958 | |
| 959 | nfc_disable_suspend: nfc_disable_suspend { |
| 960 | /* sleep state */ |
| 961 | mux { |
| 962 | /* 16: NFC ENABLE 62: FW DNLD */ |
michaellin | 0330b0e | 2019-01-29 15:08:29 +0800 | [diff] [blame^] | 963 | /* 134: ESE Enable */ |
| 964 | pins = "gpio16", "gpio62", "gpio134"; |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 965 | function = "gpio"; |
| 966 | }; |
| 967 | |
| 968 | config { |
michaellin | 0330b0e | 2019-01-29 15:08:29 +0800 | [diff] [blame^] | 969 | pins = "gpio16", "gpio62", "gpio134"; |
c_pbembr | f65da36 | 2018-03-28 18:50:16 +0530 | [diff] [blame] | 970 | drive-strength = <2>; /* 2 MA */ |
| 971 | bias-disable; |
| 972 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 973 | }; |
| 974 | }; |
michaellin | 0330b0e | 2019-01-29 15:08:29 +0800 | [diff] [blame^] | 975 | /*>>2019-01-29-Michael Lin-[FairPhone][NFC]Reassign ESE Enable gpio in case of collision*/ |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 976 | |
| 977 | wcnss_pmux_5wire { |
| 978 | /* Active configuration of bus pins */ |
| 979 | wcnss_default: wcnss_default { |
| 980 | wcss_wlan2 { |
| 981 | pins = "gpio76"; |
| 982 | function = "wcss_wlan2"; |
| 983 | }; |
| 984 | wcss_wlan1 { |
| 985 | pins = "gpio77"; |
| 986 | function = "wcss_wlan1"; |
| 987 | }; |
| 988 | wcss_wlan0 { |
| 989 | pins = "gpio78"; |
| 990 | function = "wcss_wlan0"; |
| 991 | }; |
| 992 | wcss_wlan { |
| 993 | pins = "gpio79", "gpio80"; |
| 994 | function = "wcss_wlan"; |
| 995 | }; |
| 996 | |
| 997 | config { |
| 998 | pins = "gpio76", "gpio77", |
| 999 | "gpio78", "gpio79", |
| 1000 | "gpio80"; |
| 1001 | drive-strength = <6>; /* 6 MA */ |
| 1002 | bias-pull-up; /* PULL UP */ |
| 1003 | }; |
| 1004 | }; |
| 1005 | |
| 1006 | wcnss_sleep: wcnss_sleep { |
| 1007 | wcss_wlan2 { |
| 1008 | pins = "gpio76"; |
| 1009 | function = "wcss_wlan2"; |
| 1010 | }; |
| 1011 | wcss_wlan1 { |
| 1012 | pins = "gpio77"; |
| 1013 | function = "wcss_wlan1"; |
| 1014 | }; |
| 1015 | wcss_wlan0 { |
| 1016 | pins = "gpio78"; |
| 1017 | function = "wcss_wlan0"; |
| 1018 | }; |
| 1019 | wcss_wlan { |
| 1020 | pins = "gpio79", "gpio80"; |
| 1021 | function = "wcss_wlan"; |
| 1022 | }; |
| 1023 | |
| 1024 | config { |
| 1025 | pins = "gpio76", "gpio77", |
| 1026 | "gpio78", "gpio79", |
| 1027 | "gpio80"; |
| 1028 | drive-strength = <2>; /* 2 MA */ |
| 1029 | bias-pull-down; /* PULL Down */ |
| 1030 | }; |
| 1031 | }; |
| 1032 | }; |
| 1033 | |
| 1034 | wcnss_pmux_gpio: wcnss_pmux_gpio { |
| 1035 | wcnss_gpio_default: wcnss_gpio_default { |
| 1036 | /* Active configuration of bus pins */ |
| 1037 | mux { |
| 1038 | /* Uses general purpose pins */ |
| 1039 | pins = "gpio76", "gpio77", |
| 1040 | "gpio78", "gpio79", |
| 1041 | "gpio80"; |
| 1042 | function = "gpio"; |
| 1043 | }; |
| 1044 | |
| 1045 | config { |
| 1046 | pins = "gpio76", "gpio77", |
| 1047 | "gpio78", "gpio79", |
| 1048 | "gpio80"; |
| 1049 | drive-strength = <6>; /* 6 MA */ |
| 1050 | bias-pull-up; /* PULL UP */ |
| 1051 | }; |
| 1052 | }; |
| 1053 | }; |
| 1054 | |
| 1055 | wcd9xxx_intr { |
| 1056 | wcd_intr_default: wcd_intr_default{ |
| 1057 | mux { |
| 1058 | pins = "gpio73"; |
| 1059 | function = "gpio"; |
| 1060 | }; |
| 1061 | |
| 1062 | config { |
| 1063 | pins = "gpio73"; |
| 1064 | drive-strength = <2>; /* 2 mA */ |
| 1065 | bias-pull-down; /* pull down */ |
| 1066 | input-enable; |
| 1067 | }; |
| 1068 | }; |
| 1069 | }; |
| 1070 | |
| 1071 | cdc_reset_ctrl { |
| 1072 | cdc_reset_sleep: cdc_reset_sleep { |
| 1073 | mux { |
| 1074 | pins = "gpio67"; |
| 1075 | function = "gpio"; |
| 1076 | }; |
| 1077 | config { |
| 1078 | pins = "gpio67"; |
| 1079 | drive-strength = <16>; |
| 1080 | bias-disable; |
| 1081 | output-low; |
| 1082 | }; |
| 1083 | }; |
| 1084 | cdc_reset_active:cdc_reset_active { |
| 1085 | mux { |
| 1086 | pins = "gpio67"; |
| 1087 | function = "gpio"; |
| 1088 | }; |
| 1089 | config { |
| 1090 | pins = "gpio67"; |
| 1091 | drive-strength = <16>; |
| 1092 | bias-pull-down; |
| 1093 | output-high; |
| 1094 | }; |
| 1095 | }; |
| 1096 | }; |
| 1097 | |
| 1098 | cdc_mclk2_pin { |
| 1099 | cdc_mclk2_sleep: cdc_mclk2_sleep { |
| 1100 | mux { |
| 1101 | pins = "gpio66"; |
| 1102 | function = "pri_mi2s"; |
| 1103 | }; |
| 1104 | config { |
| 1105 | pins = "gpio66"; |
| 1106 | drive-strength = <2>; /* 2 mA */ |
| 1107 | bias-pull-down; /* PULL DOWN */ |
| 1108 | }; |
| 1109 | }; |
| 1110 | cdc_mclk2_active: cdc_mclk2_active { |
| 1111 | mux { |
| 1112 | pins = "gpio66"; |
| 1113 | function = "pri_mi2s"; |
| 1114 | }; |
| 1115 | config { |
| 1116 | pins = "gpio66"; |
| 1117 | drive-strength = <8>; /* 8 mA */ |
| 1118 | bias-disable; /* NO PULL */ |
| 1119 | }; |
| 1120 | }; |
| 1121 | }; |
| 1122 | |
| 1123 | cdc-pdm-2-lines { |
| 1124 | cdc_pdm_lines_2_act: pdm_lines_2_on { |
| 1125 | mux { |
| 1126 | pins = "gpio70", "gpio71", "gpio72"; |
| 1127 | function = "cdc_pdm0"; |
| 1128 | }; |
| 1129 | |
| 1130 | config { |
| 1131 | pins = "gpio70", "gpio71", "gpio72"; |
| 1132 | drive-strength = <8>; |
| 1133 | }; |
| 1134 | }; |
| 1135 | |
| 1136 | cdc_pdm_lines_2_sus: pdm_lines_2_off { |
| 1137 | mux { |
| 1138 | pins = "gpio70", "gpio71", "gpio72"; |
| 1139 | function = "cdc_pdm0"; |
| 1140 | }; |
| 1141 | |
| 1142 | config { |
| 1143 | pins = "gpio70", "gpio71", "gpio72"; |
| 1144 | drive-strength = <2>; |
| 1145 | bias-disable; |
| 1146 | }; |
| 1147 | }; |
| 1148 | }; |
| 1149 | |
| 1150 | cdc-pdm-lines { |
| 1151 | cdc_pdm_lines_act: pdm_lines_on { |
| 1152 | mux { |
| 1153 | pins = "gpio69", "gpio73", "gpio74"; |
| 1154 | function = "cdc_pdm0"; |
| 1155 | }; |
| 1156 | |
| 1157 | config { |
| 1158 | pins = "gpio69", "gpio73", "gpio74"; |
| 1159 | drive-strength = <8>; |
| 1160 | }; |
| 1161 | }; |
| 1162 | cdc_pdm_lines_sus: pdm_lines_off { |
| 1163 | mux { |
| 1164 | pins = "gpio69", "gpio73", "gpio74"; |
| 1165 | function = "cdc_pdm0"; |
| 1166 | }; |
| 1167 | |
| 1168 | config { |
| 1169 | pins = "gpio69", "gpio73", "gpio74"; |
| 1170 | drive-strength = <2>; |
| 1171 | bias-disable; |
| 1172 | }; |
| 1173 | }; |
| 1174 | }; |
| 1175 | |
| 1176 | cdc-pdm-comp-lines { |
| 1177 | cdc_pdm_comp_lines_act: pdm_comp_lines_on { |
| 1178 | mux { |
| 1179 | pins = "gpio67", "gpio68"; |
| 1180 | function = "cdc_pdm0"; |
| 1181 | }; |
| 1182 | |
| 1183 | config { |
| 1184 | pins = "gpio67", "gpio68"; |
| 1185 | drive-strength = <8>; |
| 1186 | }; |
| 1187 | }; |
| 1188 | |
| 1189 | cdc_pdm_comp_lines_sus: pdm_comp_lines_off { |
| 1190 | mux { |
| 1191 | pins = "gpio67", "gpio68"; |
| 1192 | function = "cdc_pdm0"; |
| 1193 | }; |
| 1194 | |
| 1195 | config { |
| 1196 | pins = "gpio67", "gpio68"; |
| 1197 | drive-strength = <2>; |
| 1198 | bias-disable; |
| 1199 | }; |
| 1200 | }; |
| 1201 | }; |
| 1202 | |
| 1203 | cross-conn-det { |
| 1204 | cross_conn_det_act: lines_on { |
| 1205 | mux { |
| 1206 | pins = "gpio63"; |
| 1207 | function = "gpio"; |
| 1208 | }; |
| 1209 | |
| 1210 | config { |
| 1211 | pins = "gpio63"; |
| 1212 | drive-strength = <8>; |
| 1213 | output-low; |
| 1214 | bias-pull-down; |
| 1215 | }; |
| 1216 | }; |
| 1217 | |
| 1218 | cross_conn_det_sus: lines_off { |
| 1219 | mux { |
| 1220 | pins = "gpio63"; |
| 1221 | function = "gpio"; |
| 1222 | }; |
| 1223 | |
| 1224 | config { |
| 1225 | pins = "gpio63"; |
| 1226 | drive-strength = <2>; |
| 1227 | bias-pull-down; |
| 1228 | }; |
| 1229 | }; |
| 1230 | }; |
| 1231 | |
| 1232 | /* WSA VI sense */ |
| 1233 | wsa-vi { |
| 1234 | wsa_vi_on: wsa_vi_on { |
| 1235 | mux { |
| 1236 | pins = "gpio94", "gpio95"; |
| 1237 | function = "wsa_io"; |
| 1238 | }; |
| 1239 | |
| 1240 | config { |
| 1241 | pins = "gpio94", "gpio95"; |
| 1242 | drive-strength = <8>; /* 8 MA */ |
| 1243 | bias-disable; /* NO pull */ |
| 1244 | }; |
| 1245 | }; |
| 1246 | |
| 1247 | wsa_vi_off: wsa_vi_off { |
| 1248 | mux { |
| 1249 | pins = "gpio94", "gpio95"; |
| 1250 | function = "wsa_io"; |
| 1251 | }; |
| 1252 | |
| 1253 | config { |
| 1254 | pins = "gpio94", "gpio95"; |
| 1255 | drive-strength = <2>; /* 2 MA */ |
| 1256 | bias-pull-down; |
| 1257 | }; |
| 1258 | }; |
| 1259 | }; |
| 1260 | |
| 1261 | /* WSA Reset */ |
| 1262 | wsa_reset { |
| 1263 | wsa_reset_on: wsa_reset_on { |
| 1264 | mux { |
| 1265 | pins = "gpio96"; |
| 1266 | function = "gpio"; |
| 1267 | }; |
| 1268 | |
| 1269 | config { |
| 1270 | pins = "gpio96"; |
| 1271 | drive-strength = <2>; /* 2 MA */ |
| 1272 | output-high; |
| 1273 | }; |
| 1274 | }; |
| 1275 | |
| 1276 | wsa_reset_off: wsa_reset_off { |
| 1277 | mux { |
| 1278 | pins = "gpio96"; |
| 1279 | function = "gpio"; |
| 1280 | }; |
| 1281 | |
| 1282 | config { |
| 1283 | pins = "gpio96"; |
| 1284 | drive-strength = <2>; /* 2 MA */ |
| 1285 | output-low; |
| 1286 | }; |
| 1287 | }; |
| 1288 | }; |
| 1289 | |
| 1290 | /* WSA CLK */ |
| 1291 | wsa_clk { |
| 1292 | wsa_clk_on: wsa_clk_on { |
| 1293 | mux { |
| 1294 | pins = "gpio25"; |
| 1295 | function = "pri_mi2s_mclk_a"; |
| 1296 | }; |
| 1297 | |
| 1298 | config { |
| 1299 | pins = "gpio25"; |
| 1300 | drive-strength = <8>; /* 8 MA */ |
| 1301 | output-high; |
| 1302 | }; |
| 1303 | }; |
| 1304 | |
| 1305 | wsa_clk_off: wsa_clk_off { |
| 1306 | mux { |
| 1307 | pins = "gpio25"; |
| 1308 | function = "pri_mi2s_mclk_a"; |
| 1309 | }; |
| 1310 | |
| 1311 | config { |
| 1312 | pins = "gpio25"; |
| 1313 | drive-strength = <2>; /* 2 MA */ |
| 1314 | output-low; |
| 1315 | bias-pull-down; |
| 1316 | }; |
| 1317 | }; |
| 1318 | }; |
| 1319 | |
| 1320 | pri-tlmm-lines { |
| 1321 | pri_tlmm_lines_act: pri_tlmm_lines_act { |
| 1322 | mux { |
| 1323 | pins = "gpio91", "gpio93"; |
| 1324 | function = "pri_mi2s"; |
| 1325 | }; |
| 1326 | |
| 1327 | config { |
| 1328 | pins = "gpio91", "gpio93"; |
| 1329 | drive-strength = <8>; |
| 1330 | }; |
| 1331 | }; |
| 1332 | |
| 1333 | pri_tlmm_lines_sus: pri_tlmm_lines_sus { |
| 1334 | mux { |
| 1335 | pins = "gpio91", "gpio93"; |
| 1336 | function = "pri_mi2s"; |
| 1337 | }; |
| 1338 | |
| 1339 | config { |
| 1340 | pins = "gpio91", "gpio93"; |
| 1341 | drive-strength = <2>; |
| 1342 | bias-pull-down; |
| 1343 | }; |
| 1344 | }; |
| 1345 | }; |
| 1346 | |
| 1347 | pri-tlmm-ws-lines { |
| 1348 | pri_tlmm_ws_act: pri_tlmm_ws_act { |
| 1349 | mux { |
| 1350 | pins = "gpio92"; |
| 1351 | function = "pri_mi2s_ws"; |
| 1352 | }; |
| 1353 | |
| 1354 | config { |
| 1355 | pins = "gpio92"; |
| 1356 | drive-strength = <8>; |
| 1357 | }; |
| 1358 | }; |
| 1359 | |
| 1360 | pri_tlmm_ws_sus: pri_tlmm_ws_sus { |
| 1361 | mux { |
| 1362 | pins = "gpio92"; |
| 1363 | function = "pri_mi2s_ws"; |
| 1364 | }; |
| 1365 | |
| 1366 | config { |
| 1367 | pins = "gpio92"; |
| 1368 | drive-strength = <2>; |
| 1369 | bias-pull-down; |
| 1370 | }; |
| 1371 | }; |
| 1372 | }; |
| 1373 | |
| 1374 | spi3 { |
| 1375 | spi3_default: spi3_default { |
| 1376 | /* active state */ |
| 1377 | mux { |
| 1378 | /* MOSI, MISO, CLK */ |
| 1379 | pins = "gpio8", "gpio9", "gpio11"; |
| 1380 | function = "blsp_spi3"; |
| 1381 | }; |
| 1382 | |
| 1383 | config { |
| 1384 | pins = "gpio8", "gpio9", "gpio11"; |
| 1385 | drive-strength = <12>; /* 12 MA */ |
| 1386 | bias-disable = <0>; /* No PULL */ |
| 1387 | }; |
| 1388 | }; |
| 1389 | |
| 1390 | spi3_sleep: spi3_sleep { |
| 1391 | /* suspended state */ |
| 1392 | mux { |
| 1393 | /* MOSI, MISO, CLK */ |
| 1394 | pins = "gpio8", "gpio9", "gpio11"; |
| 1395 | function = "gpio"; |
| 1396 | }; |
| 1397 | |
| 1398 | config { |
| 1399 | pins = "gpio8", "gpio9", "gpio11"; |
| 1400 | drive-strength = <2>; /* 2 MA */ |
| 1401 | bias-pull-down; /* PULL Down */ |
| 1402 | }; |
| 1403 | }; |
| 1404 | |
| 1405 | spi3_cs0_active: cs0_active { |
| 1406 | /* CS */ |
| 1407 | mux { |
| 1408 | pins = "gpio10"; |
| 1409 | function = "blsp_spi3"; |
| 1410 | }; |
| 1411 | |
| 1412 | config { |
| 1413 | pins = "gpio10"; |
| 1414 | drive-strength = <2>; |
| 1415 | bias-disable = <0>; |
| 1416 | }; |
| 1417 | }; |
| 1418 | |
| 1419 | spi3_cs0_sleep: cs0_sleep { |
| 1420 | /* CS */ |
| 1421 | mux { |
| 1422 | pins = "gpio10"; |
| 1423 | function = "gpio"; |
| 1424 | }; |
| 1425 | |
| 1426 | config { |
| 1427 | pins = "gpio10"; |
| 1428 | drive-strength = <2>; |
| 1429 | bias-disable = <0>; |
| 1430 | }; |
| 1431 | }; |
| 1432 | }; |
| 1433 | |
Venkataraman Nerellapalli | a9ce233 | 2018-07-03 14:17:42 +0530 | [diff] [blame] | 1434 | spi6 { |
| 1435 | spi6_default: spi6_default { |
| 1436 | /* active state */ |
| 1437 | mux { |
| 1438 | /* MOSI, MISO, CLK */ |
| 1439 | pins = "gpio20", "gpio21", "gpio23"; |
| 1440 | function = "blsp_spi6"; |
| 1441 | }; |
| 1442 | |
| 1443 | config { |
| 1444 | pins = "gpio20", "gpio21", "gpio23"; |
| 1445 | drive-strength = <12>; /* 12 MA */ |
| 1446 | bias-disable = <0>; /* No PULL */ |
| 1447 | }; |
| 1448 | }; |
| 1449 | |
| 1450 | spi6_sleep: spi6_sleep { |
| 1451 | /* suspended state */ |
| 1452 | mux { |
| 1453 | /* MOSI, MISO, CLK */ |
| 1454 | pins = "gpio20", "gpio21", "gpio23"; |
| 1455 | function = "gpio"; |
| 1456 | }; |
| 1457 | |
| 1458 | config { |
| 1459 | pins = "gpio20", "gpio21", "gpio23"; |
| 1460 | drive-strength = <2>; /* 2 MA */ |
| 1461 | bias-pull-down; /* PULL Down */ |
| 1462 | }; |
| 1463 | }; |
| 1464 | |
| 1465 | spi6_cs0_active: cs0_active { |
| 1466 | /* CS */ |
| 1467 | mux { |
| 1468 | pins = "gpio22"; |
| 1469 | function = "blsp_spi6"; |
| 1470 | }; |
| 1471 | |
| 1472 | config { |
| 1473 | pins = "gpio22"; |
| 1474 | drive-strength = <2>; |
| 1475 | bias-disable = <0>; |
| 1476 | }; |
| 1477 | }; |
| 1478 | |
| 1479 | spi6_cs0_sleep: cs0_sleep { |
| 1480 | /* CS */ |
| 1481 | mux { |
| 1482 | pins = "gpio22"; |
| 1483 | function = "gpio"; |
| 1484 | }; |
| 1485 | |
| 1486 | config { |
| 1487 | pins = "gpio22"; |
| 1488 | drive-strength = <2>; |
| 1489 | bias-disable = <0>; |
| 1490 | }; |
| 1491 | }; |
| 1492 | }; |
| 1493 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1494 | /* add pingrp for touchscreen */ |
Venkataraman Nerellapalli | 2d5ce98 | 2018-07-04 20:21:45 +0530 | [diff] [blame] | 1495 | ts_int_default: ts_int_default { |
| 1496 | mux { |
| 1497 | pins = "gpio65"; |
| 1498 | function = "gpio"; |
| 1499 | }; |
| 1500 | config { |
| 1501 | pins = "gpio65"; |
| 1502 | drive-strength = <16>; |
| 1503 | /*bias-pull-up;*/ |
| 1504 | input-enable; |
| 1505 | bias-disable; |
| 1506 | }; |
| 1507 | }; |
| 1508 | |
| 1509 | ts_int_output_high: ts_int_output_high { |
| 1510 | mux { |
| 1511 | pins = "gpio65"; |
| 1512 | function = "gpio"; |
| 1513 | }; |
| 1514 | config { |
| 1515 | pins = "gpio65"; |
| 1516 | output-high; |
| 1517 | }; |
| 1518 | }; |
| 1519 | |
| 1520 | ts_int_output_low: ts_int_output_low { |
| 1521 | mux { |
| 1522 | pins = "gpio65"; |
| 1523 | function = "gpio"; |
| 1524 | }; |
| 1525 | config { |
| 1526 | pins = "gpio65"; |
| 1527 | output-low; |
| 1528 | }; |
| 1529 | }; |
| 1530 | |
| 1531 | ts_int_input: ts_int_input { |
| 1532 | mux { |
| 1533 | pins = "gpio65"; |
| 1534 | function = "gpio"; |
| 1535 | }; |
| 1536 | config { |
| 1537 | pins = "gpio65"; |
| 1538 | input-enable; |
| 1539 | bias-disable; |
| 1540 | }; |
| 1541 | }; |
| 1542 | |
| 1543 | ts_rst_default: ts_rst_default { |
| 1544 | mux { |
| 1545 | pins = "gpio64"; |
| 1546 | function = "gpio"; |
| 1547 | }; |
| 1548 | config { |
| 1549 | pins = "gpio64"; |
| 1550 | drive-strength = <16>; |
| 1551 | /*bias-pull-up;*/ |
| 1552 | input-enable; |
| 1553 | bias-disable; |
| 1554 | }; |
| 1555 | }; |
| 1556 | |
| 1557 | ts_rst_output_high: ts_rst_output_high { |
| 1558 | mux { |
| 1559 | pins = "gpio64"; |
| 1560 | function = "gpio"; |
| 1561 | }; |
| 1562 | config { |
| 1563 | pins = "gpio64"; |
| 1564 | output-high; |
| 1565 | }; |
| 1566 | }; |
| 1567 | |
| 1568 | ts_rst_output_low: ts_rst_output_low { |
| 1569 | mux { |
| 1570 | pins = "gpio64"; |
| 1571 | function = "gpio"; |
| 1572 | }; |
| 1573 | config { |
| 1574 | pins = "gpio64"; |
| 1575 | output-low; |
| 1576 | }; |
| 1577 | }; |
| 1578 | |
| 1579 | ts_rst_input: ts_rst_input { |
| 1580 | mux { |
| 1581 | pins = "gpio64"; |
| 1582 | function = "gpio"; |
| 1583 | }; |
| 1584 | config { |
| 1585 | pins = "gpio64"; |
| 1586 | input-enable; |
| 1587 | bias-disable; |
| 1588 | }; |
| 1589 | }; |
| 1590 | |
| 1591 | /* add pingrp for touchscreen */ |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1592 | pmx_ts_int_active { |
| 1593 | ts_int_active: ts_int_active { |
| 1594 | mux { |
| 1595 | pins = "gpio65"; |
| 1596 | function = "gpio"; |
| 1597 | }; |
| 1598 | |
| 1599 | config { |
| 1600 | pins = "gpio65"; |
| 1601 | drive-strength = <8>; |
| 1602 | bias-pull-up; |
| 1603 | }; |
| 1604 | }; |
| 1605 | }; |
| 1606 | |
| 1607 | pmx_ts_int_suspend { |
| 1608 | ts_int_suspend: ts_int_suspend { |
| 1609 | mux { |
| 1610 | pins = "gpio65"; |
| 1611 | function = "gpio"; |
| 1612 | }; |
| 1613 | |
| 1614 | config { |
| 1615 | pins = "gpio65"; |
| 1616 | drive-strength = <2>; |
| 1617 | bias-pull-down; |
| 1618 | }; |
| 1619 | }; |
| 1620 | }; |
| 1621 | |
| 1622 | pmx_ts_reset_active { |
| 1623 | ts_reset_active: ts_reset_active { |
| 1624 | mux { |
| 1625 | pins = "gpio64"; |
| 1626 | function = "gpio"; |
| 1627 | }; |
| 1628 | |
| 1629 | config { |
| 1630 | pins = "gpio64"; |
| 1631 | drive-strength = <8>; |
| 1632 | bias-pull-up; |
| 1633 | }; |
| 1634 | }; |
| 1635 | }; |
| 1636 | |
| 1637 | pmx_ts_reset_suspend { |
| 1638 | ts_reset_suspend: ts_reset_suspend { |
| 1639 | mux { |
| 1640 | pins = "gpio64"; |
| 1641 | function = "gpio"; |
| 1642 | }; |
| 1643 | |
| 1644 | config { |
| 1645 | pins = "gpio64"; |
| 1646 | drive-strength = <2>; |
| 1647 | bias-pull-down; |
| 1648 | }; |
| 1649 | }; |
| 1650 | }; |
| 1651 | |
| 1652 | pmx_ts_release { |
| 1653 | ts_release: ts_release { |
| 1654 | mux { |
| 1655 | pins = "gpio65", "gpio64"; |
| 1656 | function = "gpio"; |
| 1657 | }; |
| 1658 | |
| 1659 | config { |
| 1660 | pins = "gpio65", "gpio64"; |
| 1661 | drive-strength = <2>; |
| 1662 | bias-pull-down; |
| 1663 | }; |
| 1664 | }; |
| 1665 | }; |
| 1666 | |
| 1667 | tlmm_gpio_key { |
| 1668 | gpio_key_active: gpio_key_active { |
| 1669 | mux { |
| 1670 | pins = "gpio85", "gpio86", "gpio87"; |
| 1671 | function = "gpio"; |
| 1672 | }; |
| 1673 | |
| 1674 | config { |
| 1675 | pins = "gpio85", "gpio86", "gpio87"; |
| 1676 | drive-strength = <2>; |
| 1677 | bias-pull-up; |
| 1678 | }; |
| 1679 | }; |
| 1680 | |
| 1681 | gpio_key_suspend: gpio_key_suspend { |
| 1682 | mux { |
| 1683 | pins = "gpio85", "gpio86", "gpio87"; |
| 1684 | function = "gpio"; |
| 1685 | }; |
| 1686 | |
| 1687 | config { |
| 1688 | pins = "gpio85", "gpio86", "gpio87"; |
| 1689 | drive-strength = <2>; |
| 1690 | bias-pull-up; |
| 1691 | }; |
| 1692 | }; |
| 1693 | }; |
| 1694 | pmx_qdsd_clk { |
| 1695 | qdsd_clk_sdcard: clk_sdcard { |
| 1696 | config { |
| 1697 | pins = "qdsd_clk"; |
| 1698 | bias-disable;/* NO pull */ |
| 1699 | drive-strength = <16>; /* 16 MA */ |
| 1700 | }; |
| 1701 | }; |
| 1702 | qdsd_clk_trace: clk_trace { |
| 1703 | config { |
| 1704 | pins = "qdsd_clk"; |
| 1705 | bias-pull-down; /* pull down */ |
| 1706 | drive-strength = <2>; /* 2 MA */ |
| 1707 | }; |
| 1708 | }; |
| 1709 | qdsd_clk_swdtrc: clk_swdtrc { |
| 1710 | config { |
| 1711 | pins = "qdsd_clk"; |
| 1712 | bias-pull-down; /* pull down */ |
| 1713 | drive-strength = <2>; /* 2 MA */ |
| 1714 | }; |
| 1715 | }; |
| 1716 | qdsd_clk_spmi: clk_spmi { |
| 1717 | config { |
| 1718 | pins = "qdsd_clk"; |
| 1719 | bias-pull-down; /* pull down */ |
| 1720 | drive-strength = <2>; /* 2 MA */ |
| 1721 | }; |
| 1722 | }; |
| 1723 | }; |
| 1724 | |
| 1725 | pmx_qdsd_cmd { |
| 1726 | qdsd_cmd_sdcard: cmd_sdcard { |
| 1727 | config { |
| 1728 | pins = "qdsd_cmd"; |
| 1729 | bias-pull-down; /* pull down */ |
| 1730 | drive-strength = <8>; /* 8 MA */ |
| 1731 | }; |
| 1732 | }; |
| 1733 | qdsd_cmd_trace: cmd_trace { |
| 1734 | config { |
| 1735 | pins = "qdsd_cmd"; |
| 1736 | bias-pull-down; /* pull down */ |
| 1737 | drive-strength = <2>; /* 2 MA */ |
| 1738 | }; |
| 1739 | }; |
| 1740 | qdsd_cmd_swduart: cmd_uart { |
| 1741 | config { |
| 1742 | pins = "qdsd_cmd"; |
| 1743 | bias-pull-up; /* pull up */ |
| 1744 | drive-strength = <2>; /* 2 MA */ |
| 1745 | }; |
| 1746 | }; |
| 1747 | qdsd_cmd_swdtrc: cmd_swdtrc { |
| 1748 | config { |
| 1749 | pins = "qdsd_cmd"; |
| 1750 | bias-pull-up; /* pull up */ |
| 1751 | drive-strength = <2>; /* 2 MA */ |
| 1752 | }; |
| 1753 | }; |
| 1754 | qdsd_cmd_jtag: cmd_jtag { |
| 1755 | config { |
| 1756 | pins = "qdsd_cmd"; |
| 1757 | bias-disable; /* NO pull */ |
| 1758 | drive-strength = <8>; /* 8 MA */ |
| 1759 | }; |
| 1760 | }; |
| 1761 | qdsd_cmd_spmi: cmd_spmi { |
| 1762 | config { |
| 1763 | pins = "qdsd_cmd"; |
| 1764 | bias-pull-down; /* pull down */ |
| 1765 | drive-strength = <10>; /* 10 MA */ |
| 1766 | }; |
| 1767 | }; |
| 1768 | }; |
| 1769 | |
| 1770 | pmx_qdsd_data0 { |
| 1771 | qdsd_data0_sdcard: data0_sdcard { |
| 1772 | config { |
| 1773 | pins = "qdsd_data0"; |
| 1774 | bias-pull-down; /* pull down */ |
| 1775 | drive-strength = <8>; /* 8 MA */ |
| 1776 | }; |
| 1777 | }; |
| 1778 | qdsd_data0_trace: data0_trace { |
| 1779 | config { |
| 1780 | pins = "qdsd_data0"; |
| 1781 | bias-pull-down; /* pull down */ |
| 1782 | drive-strength = <8>; /* 8 MA */ |
| 1783 | }; |
| 1784 | }; |
| 1785 | qdsd_data0_swduart: data0_uart { |
| 1786 | config { |
| 1787 | pins = "qdsd_data0"; |
| 1788 | bias-pull-down; /* pull down */ |
| 1789 | drive-strength = <2>; /* 2 MA */ |
| 1790 | }; |
| 1791 | }; |
| 1792 | qdsd_data0_swdtrc: data0_swdtrc { |
| 1793 | config { |
| 1794 | pins = "qdsd_data0"; |
| 1795 | bias-pull-down; /* pull down */ |
| 1796 | drive-strength = <2>; /* 2 MA */ |
| 1797 | }; |
| 1798 | }; |
| 1799 | qdsd_data0_jtag: data0_jtag { |
| 1800 | config { |
| 1801 | pins = "qdsd_data0"; |
| 1802 | bias-pull-up; /* pull up */ |
| 1803 | drive-strength = <2>; /* 2 MA */ |
| 1804 | }; |
| 1805 | }; |
| 1806 | qdsd_data0_spmi: data0_spmi { |
| 1807 | config { |
| 1808 | pins = "qdsd_data0"; |
| 1809 | bias-pull-down; /* pull down */ |
| 1810 | drive-strength = <2>; /* 2 MA */ |
| 1811 | }; |
| 1812 | }; |
| 1813 | }; |
| 1814 | |
| 1815 | pmx_qdsd_data1 { |
| 1816 | qdsd_data1_sdcard: data1_sdcard { |
| 1817 | config { |
| 1818 | pins = "qdsd_data1"; |
| 1819 | bias-pull-down; /* pull down */ |
| 1820 | drive-strength = <8>; /* 8 MA */ |
| 1821 | }; |
| 1822 | }; |
| 1823 | qdsd_data1_trace: data1_trace { |
| 1824 | config { |
| 1825 | pins = "qdsd_data1"; |
| 1826 | bias-pull-down; /* pull down */ |
| 1827 | drive-strength = <8>; /* 8 MA */ |
| 1828 | }; |
| 1829 | }; |
| 1830 | qdsd_data1_swduart: data1_uart { |
| 1831 | config { |
| 1832 | pins = "qdsd_data1"; |
| 1833 | bias-pull-down; /* pull down */ |
| 1834 | drive-strength = <2>; /* 2 MA */ |
| 1835 | }; |
| 1836 | }; |
| 1837 | qdsd_data1_swdtrc: data1_swdtrc { |
| 1838 | config { |
| 1839 | pins = "qdsd_data1"; |
| 1840 | bias-pull-down; /* pull down */ |
| 1841 | drive-strength = <2>; /* 2 MA */ |
| 1842 | }; |
| 1843 | }; |
| 1844 | qdsd_data1_jtag: data1_jtag { |
| 1845 | config { |
| 1846 | pins = "qdsd_data1"; |
| 1847 | bias-pull-down; /* pull down */ |
| 1848 | drive-strength = <2>; /* 2 MA */ |
| 1849 | }; |
| 1850 | }; |
| 1851 | }; |
| 1852 | |
| 1853 | pmx_qdsd_data2 { |
| 1854 | qdsd_data2_sdcard: data2_sdcard { |
| 1855 | config { |
| 1856 | pins = "qdsd_data2"; |
| 1857 | bias-pull-down; /* pull down */ |
| 1858 | drive-strength = <8>; /* 8 MA */ |
| 1859 | }; |
| 1860 | }; |
| 1861 | qdsd_data2_trace: data2_trace { |
| 1862 | config { |
| 1863 | pins = "qdsd_data2"; |
| 1864 | bias-pull-down; /* pull down */ |
| 1865 | drive-strength = <8>; /* 8 MA */ |
| 1866 | }; |
| 1867 | }; |
| 1868 | qdsd_data2_swduart: data2_uart { |
| 1869 | config { |
| 1870 | pins = "qdsd_data2"; |
| 1871 | bias-pull-down; /* pull down */ |
| 1872 | drive-strength = <2>; /* 2 MA */ |
| 1873 | }; |
| 1874 | }; |
| 1875 | qdsd_data2_swdtrc: data2_swdtrc { |
| 1876 | config { |
| 1877 | pins = "qdsd_data2"; |
| 1878 | bias-pull-down; /* pull down */ |
| 1879 | drive-strength = <2>; /* 2 MA */ |
| 1880 | }; |
| 1881 | }; |
| 1882 | qdsd_data2_jtag: data2_jtag { |
| 1883 | config { |
| 1884 | pins = "qdsd_data2"; |
| 1885 | bias-pull-up; /* pull up */ |
| 1886 | drive-strength = <8>; /* 8 MA */ |
| 1887 | }; |
| 1888 | }; |
| 1889 | }; |
| 1890 | |
| 1891 | pmx_qdsd_data3 { |
| 1892 | qdsd_data3_sdcard: data3_sdcard { |
| 1893 | config { |
| 1894 | pins = "qdsd_data3"; |
| 1895 | bias-pull-down; /* pull down */ |
| 1896 | drive-strength = <8>; /* 8 MA */ |
| 1897 | }; |
| 1898 | }; |
| 1899 | qdsd_data3_trace: data3_trace { |
| 1900 | config { |
| 1901 | pins = "qdsd_data3"; |
| 1902 | bias-pull-down; /* pull down */ |
| 1903 | drive-strength = <8>; /* 8 MA */ |
| 1904 | }; |
| 1905 | }; |
| 1906 | qdsd_data3_swduart: data3_uart { |
| 1907 | config { |
| 1908 | pins = "qdsd_data3"; |
| 1909 | bias-pull-up; /* pull up */ |
| 1910 | drive-strength = <2>; /* 2 MA */ |
| 1911 | }; |
| 1912 | }; |
| 1913 | qdsd_data3_swdtrc: data3_swdtrc { |
| 1914 | config { |
| 1915 | pins = "qdsd_data3"; |
| 1916 | bias-pull-up; /* pull up */ |
| 1917 | drive-strength = <2>; /* 2 MA */ |
| 1918 | }; |
| 1919 | }; |
| 1920 | qdsd_data3_jtag: data3_jtag { |
| 1921 | config { |
| 1922 | pins = "qdsd_data3"; |
| 1923 | bias-pull-up; /* pull up */ |
| 1924 | drive-strength = <2>; /* 2 MA */ |
| 1925 | }; |
| 1926 | }; |
| 1927 | qdsd_data3_spmi: data3_spmi { |
| 1928 | config { |
| 1929 | pins = "qdsd_data3"; |
| 1930 | bias-pull-down; /* pull down */ |
| 1931 | drive-strength = <8>; /* 8 MA */ |
| 1932 | }; |
| 1933 | }; |
| 1934 | }; |
| 1935 | |
| 1936 | typec_ssmux_config: typec_ssmux_config { |
| 1937 | mux { |
| 1938 | pins = "gpio139"; |
| 1939 | function = "gpio"; |
| 1940 | }; |
| 1941 | |
| 1942 | config { |
| 1943 | pins = "gpio139"; |
| 1944 | drive-strength = <2>; |
| 1945 | bias-disable; |
| 1946 | }; |
| 1947 | }; |
Sriharsha Allenki | 26d7161 | 2018-06-01 15:22:38 +0530 | [diff] [blame] | 1948 | |
| 1949 | ssusb_mode_sel: ssusb_mode_sel { |
| 1950 | mux { |
| 1951 | pins = "gpio12"; |
| 1952 | function = "gpio"; |
| 1953 | }; |
| 1954 | |
| 1955 | config { |
| 1956 | pins = "gpio12"; |
| 1957 | drive-strength = <2>; |
| 1958 | bias-disable; |
| 1959 | input-disable; |
| 1960 | }; |
| 1961 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1962 | }; |
| 1963 | }; |