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