| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. |
|---|
| 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 | 4 | */ |
|---|
| 13 | 5 | |
|---|
| 14 | 6 | &msmgpio { |
|---|
| 7 | + |
|---|
| 8 | + wcd9xxx_intr { |
|---|
| 9 | + wcd_intr_default: wcd_intr_default{ |
|---|
| 10 | + mux { |
|---|
| 11 | + pins = "gpio54"; |
|---|
| 12 | + function = "gpio"; |
|---|
| 13 | + }; |
|---|
| 14 | + |
|---|
| 15 | + config { |
|---|
| 16 | + pins = "gpio54"; |
|---|
| 17 | + drive-strength = <2>; /* 2 mA */ |
|---|
| 18 | + bias-pull-down; /* pull down */ |
|---|
| 19 | + input-enable; |
|---|
| 20 | + }; |
|---|
| 21 | + }; |
|---|
| 22 | + }; |
|---|
| 23 | + |
|---|
| 24 | + cdc_reset_ctrl { |
|---|
| 25 | + cdc_reset_sleep: cdc_reset_sleep { |
|---|
| 26 | + mux { |
|---|
| 27 | + pins = "gpio64"; |
|---|
| 28 | + function = "gpio"; |
|---|
| 29 | + }; |
|---|
| 30 | + config { |
|---|
| 31 | + pins = "gpio64"; |
|---|
| 32 | + drive-strength = <16>; |
|---|
| 33 | + bias-disable; |
|---|
| 34 | + output-low; |
|---|
| 35 | + }; |
|---|
| 36 | + }; |
|---|
| 37 | + cdc_reset_active:cdc_reset_active { |
|---|
| 38 | + mux { |
|---|
| 39 | + pins = "gpio64"; |
|---|
| 40 | + function = "gpio"; |
|---|
| 41 | + }; |
|---|
| 42 | + config { |
|---|
| 43 | + pins = "gpio64"; |
|---|
| 44 | + drive-strength = <16>; |
|---|
| 45 | + bias-pull-down; |
|---|
| 46 | + output-high; |
|---|
| 47 | + }; |
|---|
| 48 | + }; |
|---|
| 49 | + }; |
|---|
| 15 | 50 | |
|---|
| 16 | 51 | blsp1_spi0_default: blsp1_spi0_default { |
|---|
| 17 | 52 | pinmux { |
|---|
| .. | .. |
|---|
| 139 | 174 | }; |
|---|
| 140 | 175 | |
|---|
| 141 | 176 | pinconf { |
|---|
| 142 | | - pins = "gpio4", "gpiio5", "gpio6", "gpio7"; |
|---|
| 177 | + pins = "gpio4", "gpio5", "gpio6", "gpio7"; |
|---|
| 143 | 178 | drive-strength = <2>; |
|---|
| 144 | 179 | bias-disable; |
|---|
| 145 | 180 | }; |
|---|
| .. | .. |
|---|
| 495 | 530 | bias-disable; |
|---|
| 496 | 531 | }; |
|---|
| 497 | 532 | }; |
|---|
| 533 | + |
|---|
| 534 | + cci0_default: cci0_default { |
|---|
| 535 | + pinmux { |
|---|
| 536 | + function = "cci_i2c"; |
|---|
| 537 | + pins = "gpio17", "gpio18"; |
|---|
| 538 | + }; |
|---|
| 539 | + pinconf { |
|---|
| 540 | + pins = "gpio17", "gpio18"; |
|---|
| 541 | + drive-strength = <16>; |
|---|
| 542 | + bias-disable; |
|---|
| 543 | + }; |
|---|
| 544 | + }; |
|---|
| 545 | + |
|---|
| 546 | + cci1_default: cci1_default { |
|---|
| 547 | + pinmux { |
|---|
| 548 | + function = "cci_i2c"; |
|---|
| 549 | + pins = "gpio19", "gpio20"; |
|---|
| 550 | + }; |
|---|
| 551 | + pinconf { |
|---|
| 552 | + pins = "gpio19", "gpio20"; |
|---|
| 553 | + drive-strength = <16>; |
|---|
| 554 | + bias-disable; |
|---|
| 555 | + }; |
|---|
| 556 | + }; |
|---|
| 557 | + |
|---|
| 558 | + camera_board_default: camera_board_default { |
|---|
| 559 | + mux_pwdn { |
|---|
| 560 | + function = "gpio"; |
|---|
| 561 | + pins = "gpio98"; |
|---|
| 562 | + }; |
|---|
| 563 | + config_pwdn { |
|---|
| 564 | + pins = "gpio98"; |
|---|
| 565 | + drive-strength = <16>; |
|---|
| 566 | + bias-disable; |
|---|
| 567 | + }; |
|---|
| 568 | + |
|---|
| 569 | + mux_rst { |
|---|
| 570 | + function = "gpio"; |
|---|
| 571 | + pins = "gpio104"; |
|---|
| 572 | + }; |
|---|
| 573 | + config_rst { |
|---|
| 574 | + pins = "gpio104"; |
|---|
| 575 | + drive-strength = <16>; |
|---|
| 576 | + bias-disable; |
|---|
| 577 | + }; |
|---|
| 578 | + |
|---|
| 579 | + mux_mclk1 { |
|---|
| 580 | + function = "cam_mclk"; |
|---|
| 581 | + pins = "gpio14"; |
|---|
| 582 | + }; |
|---|
| 583 | + config_mclk1 { |
|---|
| 584 | + pins = "gpio14"; |
|---|
| 585 | + drive-strength = <16>; |
|---|
| 586 | + bias-disable; |
|---|
| 587 | + }; |
|---|
| 588 | + }; |
|---|
| 589 | + |
|---|
| 590 | + camera_front_default: camera_front_default { |
|---|
| 591 | + mux_pwdn { |
|---|
| 592 | + function = "gpio"; |
|---|
| 593 | + pins = "gpio133"; |
|---|
| 594 | + }; |
|---|
| 595 | + config_pwdn { |
|---|
| 596 | + pins = "gpio133"; |
|---|
| 597 | + drive-strength = <16>; |
|---|
| 598 | + bias-disable; |
|---|
| 599 | + }; |
|---|
| 600 | + |
|---|
| 601 | + mux_rst { |
|---|
| 602 | + function = "gpio"; |
|---|
| 603 | + pins = "gpio23"; |
|---|
| 604 | + }; |
|---|
| 605 | + config_rst { |
|---|
| 606 | + pins = "gpio23"; |
|---|
| 607 | + drive-strength = <16>; |
|---|
| 608 | + bias-disable; |
|---|
| 609 | + }; |
|---|
| 610 | + |
|---|
| 611 | + mux_mclk2 { |
|---|
| 612 | + function = "cam_mclk"; |
|---|
| 613 | + pins = "gpio15"; |
|---|
| 614 | + }; |
|---|
| 615 | + config_mclk2 { |
|---|
| 616 | + pins = "gpio15"; |
|---|
| 617 | + drive-strength = <16>; |
|---|
| 618 | + bias-disable; |
|---|
| 619 | + }; |
|---|
| 620 | + }; |
|---|
| 621 | + |
|---|
| 622 | + camera_rear_default: camera_rear_default { |
|---|
| 623 | + mux_pwdn { |
|---|
| 624 | + function = "gpio"; |
|---|
| 625 | + pins = "gpio26"; |
|---|
| 626 | + }; |
|---|
| 627 | + config_pwdn { |
|---|
| 628 | + pins = "gpio26"; |
|---|
| 629 | + drive-strength = <16>; |
|---|
| 630 | + bias-disable; |
|---|
| 631 | + }; |
|---|
| 632 | + |
|---|
| 633 | + mux_rst { |
|---|
| 634 | + function = "gpio"; |
|---|
| 635 | + pins = "gpio25"; |
|---|
| 636 | + }; |
|---|
| 637 | + config_rst { |
|---|
| 638 | + pins = "gpio25"; |
|---|
| 639 | + drive-strength = <16>; |
|---|
| 640 | + bias-disable; |
|---|
| 641 | + }; |
|---|
| 642 | + |
|---|
| 643 | + mux_mclk0 { |
|---|
| 644 | + function = "cam_mclk"; |
|---|
| 645 | + pins = "gpio13"; |
|---|
| 646 | + }; |
|---|
| 647 | + config_mclk0 { |
|---|
| 648 | + pins = "gpio13"; |
|---|
| 649 | + drive-strength = <16>; |
|---|
| 650 | + bias-disable; |
|---|
| 651 | + }; |
|---|
| 652 | + }; |
|---|
| 498 | 653 | }; |
|---|