Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Ivan T. Ivanov | dab8134 | 2015-04-20 10:45:35 +0300 | [diff] [blame] | 2 | #include <dt-bindings/interrupt-controller/irq.h> |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 3 | #include <dt-bindings/spmi/spmi.h> |
| 4 | |
| 5 | &spmi_bus { |
| 6 | |
Stephen Boyd | 134c544 | 2015-11-20 15:31:20 -0800 | [diff] [blame] | 7 | pm8841_0: pm8841@4 { |
| 8 | compatible = "qcom,pm8841", "qcom,spmi-pmic"; |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 9 | reg = <0x4 SPMI_USID>; |
| 10 | #address-cells = <1>; |
| 11 | #size-cells = <0>; |
Ivan T. Ivanov | dab8134 | 2015-04-20 10:45:35 +0300 | [diff] [blame] | 12 | |
| 13 | pm8841_mpps: mpps@a000 { |
Stephen Boyd | 2ca9c2a4 | 2015-11-20 17:49:46 -0800 | [diff] [blame] | 14 | compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp"; |
Stephen Boyd | 65d4e83 | 2015-11-25 14:27:36 -0800 | [diff] [blame] | 15 | reg = <0xa000>; |
Ivan T. Ivanov | dab8134 | 2015-04-20 10:45:35 +0300 | [diff] [blame] | 16 | gpio-controller; |
| 17 | #gpio-cells = <2>; |
| 18 | interrupts = <4 0xa0 0 IRQ_TYPE_NONE>, |
| 19 | <4 0xa1 0 IRQ_TYPE_NONE>, |
| 20 | <4 0xa2 0 IRQ_TYPE_NONE>, |
| 21 | <4 0xa3 0 IRQ_TYPE_NONE>; |
| 22 | }; |
| 23 | |
| 24 | temp-alarm@2400 { |
| 25 | compatible = "qcom,spmi-temp-alarm"; |
Stephen Boyd | 65d4e83 | 2015-11-25 14:27:36 -0800 | [diff] [blame] | 26 | reg = <0x2400>; |
Ivan T. Ivanov | dab8134 | 2015-04-20 10:45:35 +0300 | [diff] [blame] | 27 | interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>; |
| 28 | }; |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
Stephen Boyd | 134c544 | 2015-11-20 15:31:20 -0800 | [diff] [blame] | 31 | pm8841_1: pm8841@5 { |
| 32 | compatible = "qcom,pm8841", "qcom,spmi-pmic"; |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 33 | reg = <0x5 SPMI_USID>; |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <0>; |
| 36 | }; |
| 37 | }; |