|
149 | 149 | }; |
150 | 150 | }; |
151 | 151 |
|
| 152 | + i2c2_default_state: i2c2-default-state { |
| 153 | + i2c2-pins { |
| 154 | + pins = "gpio12", "gpio13"; |
| 155 | + function = "gsbi2"; |
| 156 | + drive-strength = <8>; |
| 157 | + bias-disable; |
| 158 | + }; |
| 159 | + }; |
| 160 | + |
| 161 | + i2c2_sleep_state: i2c2-sleep-state { |
| 162 | + i2c2-pins { |
| 163 | + pins = "gpio12", "gpio13"; |
| 164 | + function = "gpio"; |
| 165 | + drive-strength = <2>; |
| 166 | + bias-bus-hold; |
| 167 | + }; |
| 168 | + }; |
| 169 | + |
152 | 170 | i2c3_default_state: i2c3-default-state { |
153 | 171 | i2c3-pins { |
154 | 172 | pins = "gpio16", "gpio17"; |
|
167 | 185 | }; |
168 | 186 | }; |
169 | 187 |
|
| 188 | + i2c7_default_state: i2c7-default-state { |
| 189 | + i2c7-pins { |
| 190 | + pins = "gpio32", "gpio33"; |
| 191 | + function = "gsbi7"; |
| 192 | + drive-strength = <8>; |
| 193 | + bias-disable; |
| 194 | + }; |
| 195 | + }; |
| 196 | + |
| 197 | + i2c7_sleep_state: i2c7-sleep-state { |
| 198 | + i2c7-pins { |
| 199 | + pins = "gpio32", "gpio33"; |
| 200 | + function = "gpio"; |
| 201 | + drive-strength = <2>; |
| 202 | + bias-bus-hold; |
| 203 | + }; |
| 204 | + }; |
| 205 | + |
170 | 206 | i2c8_default_state: i2c8-default-state { |
171 | 207 | i2c8-pins { |
172 | 208 | pins = "gpio36", "gpio37"; |
|
543 | 579 | }; |
544 | 580 | }; |
545 | 581 |
|
| 582 | + gsbi2: gsbi@16100000 { |
| 583 | + compatible = "qcom,gsbi-v1.0.0"; |
| 584 | + reg = <0x16100000 0x100>; |
| 585 | + ranges; |
| 586 | + cell-index = <2>; |
| 587 | + clocks = <&gcc GSBI2_H_CLK>; |
| 588 | + clock-names = "iface"; |
| 589 | + #address-cells = <1>; |
| 590 | + #size-cells = <1>; |
| 591 | + |
| 592 | + status = "disabled"; |
| 593 | + |
| 594 | + gsbi2_i2c: i2c@16180000 { |
| 595 | + compatible = "qcom,i2c-qup-v1.1.1"; |
| 596 | + reg = <0x16180000 0x1000>; |
| 597 | + pinctrl-0 = <&i2c2_default_state>; |
| 598 | + pinctrl-1 = <&i2c2_sleep_state>; |
| 599 | + pinctrl-names = "default", "sleep"; |
| 600 | + interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>; |
| 601 | + clocks = <&gcc GSBI2_QUP_CLK>, |
| 602 | + <&gcc GSBI2_H_CLK>; |
| 603 | + clock-names = "core", |
| 604 | + "iface"; |
| 605 | + #address-cells = <1>; |
| 606 | + #size-cells = <0>; |
| 607 | + |
| 608 | + status = "disabled"; |
| 609 | + }; |
| 610 | + }; |
| 611 | + |
546 | 612 | gsbi3: gsbi@16200000 { |
547 | 613 | compatible = "qcom,gsbi-v1.0.0"; |
548 | 614 | reg = <0x16200000 0x100>; |
|
600 | 666 | }; |
601 | 667 | }; |
602 | 668 |
|
| 669 | + gsbi7: gsbi@16600000 { |
| 670 | + compatible = "qcom,gsbi-v1.0.0"; |
| 671 | + reg = <0x16600000 0x100>; |
| 672 | + ranges; |
| 673 | + cell-index = <7>; |
| 674 | + clocks = <&gcc GSBI7_H_CLK>; |
| 675 | + clock-names = "iface"; |
| 676 | + #address-cells = <1>; |
| 677 | + #size-cells = <1>; |
| 678 | + |
| 679 | + status = "disabled"; |
| 680 | + |
| 681 | + gsbi7_i2c: i2c@16680000 { |
| 682 | + compatible = "qcom,i2c-qup-v1.1.1"; |
| 683 | + reg = <0x16680000 0x1000>; |
| 684 | + pinctrl-0 = <&i2c7_default_state>; |
| 685 | + pinctrl-1 = <&i2c7_sleep_state>; |
| 686 | + pinctrl-names = "default", "sleep"; |
| 687 | + interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; |
| 688 | + clocks = <&gcc GSBI7_QUP_CLK>, |
| 689 | + <&gcc GSBI7_H_CLK>; |
| 690 | + clock-names = "core", |
| 691 | + "iface"; |
| 692 | + #address-cells = <1>; |
| 693 | + #size-cells = <0>; |
| 694 | + |
| 695 | + status = "disabled"; |
| 696 | + }; |
| 697 | + }; |
| 698 | + |
603 | 699 | gsbi8: gsbi@1a000000 { |
604 | 700 | compatible = "qcom,gsbi-v1.0.0"; |
605 | 701 | reg = <0x1a000000 0x100>; |
|
0 commit comments