Ivan T. Ivanov | dab8134 | 2015-04-20 10:45:35 +0300 | [diff] [blame] | 1 | #include <dt-bindings/interrupt-controller/irq.h> |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 2 | #include <dt-bindings/spmi/spmi.h> |
| 3 | |
| 4 | &spmi_bus { |
| 5 | |
| 6 | usid4: pm8841@4 { |
| 7 | compatible = "qcom,spmi-pmic"; |
| 8 | reg = <0x4 SPMI_USID>; |
| 9 | #address-cells = <1>; |
| 10 | #size-cells = <0>; |
Ivan T. Ivanov | dab8134 | 2015-04-20 10:45:35 +0300 | [diff] [blame] | 11 | |
| 12 | pm8841_mpps: mpps@a000 { |
| 13 | compatible = "qcom,pm8841-mpp"; |
| 14 | reg = <0xa000 0x400>; |
| 15 | gpio-controller; |
| 16 | #gpio-cells = <2>; |
| 17 | interrupts = <4 0xa0 0 IRQ_TYPE_NONE>, |
| 18 | <4 0xa1 0 IRQ_TYPE_NONE>, |
| 19 | <4 0xa2 0 IRQ_TYPE_NONE>, |
| 20 | <4 0xa3 0 IRQ_TYPE_NONE>; |
| 21 | }; |
| 22 | |
| 23 | temp-alarm@2400 { |
| 24 | compatible = "qcom,spmi-temp-alarm"; |
| 25 | reg = <0x2400 0x100>; |
| 26 | interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>; |
| 27 | }; |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | usid5: pm8841@5 { |
| 31 | compatible = "qcom,spmi-pmic"; |
| 32 | reg = <0x5 SPMI_USID>; |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
| 35 | }; |
| 36 | }; |