Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | /* This PMIC is used on a secondary SSBI bus */ |
| 4 | &ssbi2 { |
| 5 | pm8821: pmic { |
| 6 | compatible = "qcom,pm8821"; |
| 7 | interrupt-controller; |
| 8 | #interrupt-cells = <2>; |
| 9 | #address-cells = <1>; |
| 10 | #size-cells = <0>; |
| 11 | |
| 12 | pm8821_mpps: mpps@50 { |
| 13 | compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp"; |
| 14 | reg = <0x50>; |
| 15 | gpio-controller; |
| 16 | #gpio-cells = <2>; |
| 17 | gpio-ranges = <&pm8821_mpps 0 0 4>; |
| 18 | interrupt-controller; |
| 19 | #interrupt-cells = <2>; |
| 20 | }; |
| 21 | }; |
| 22 | }; |