mm: hugetlb: fix hugepage memory leak caused by wrong reserve count
[linux/fpc-iii.git] / arch / arm / boot / dts / qcom-pma8084.dtsi
blob5e240ccc08b705d46937abc93747905cb733b46c
1 #include <dt-bindings/iio/qcom,spmi-vadc.h>
2 #include <dt-bindings/interrupt-controller/irq.h>
3 #include <dt-bindings/spmi/spmi.h>
5 &spmi_bus {
7         usid0: pma8084@0 {
8                 compatible = "qcom,spmi-pmic";
9                 reg = <0x0 SPMI_USID>;
10                 #address-cells = <1>;
11                 #size-cells = <0>;
13                 rtc@6000 {
14                         compatible = "qcom,pm8941-rtc";
15                         reg = <0x6000 0x100>,
16                               <0x6100 0x100>;
17                         reg-names = "rtc", "alarm";
18                         interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
19                 };
21                 pma8084_gpios: gpios@c000 {
22                         compatible = "qcom,pma8084-gpio";
23                         reg = <0xc000 0x1600>;
24                         gpio-controller;
25                         #gpio-cells = <2>;
26                         interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
27                                      <0 0xc1 0 IRQ_TYPE_NONE>,
28                                      <0 0xc2 0 IRQ_TYPE_NONE>,
29                                      <0 0xc3 0 IRQ_TYPE_NONE>,
30                                      <0 0xc4 0 IRQ_TYPE_NONE>,
31                                      <0 0xc5 0 IRQ_TYPE_NONE>,
32                                      <0 0xc6 0 IRQ_TYPE_NONE>,
33                                      <0 0xc7 0 IRQ_TYPE_NONE>,
34                                      <0 0xc8 0 IRQ_TYPE_NONE>,
35                                      <0 0xc9 0 IRQ_TYPE_NONE>,
36                                      <0 0xca 0 IRQ_TYPE_NONE>,
37                                      <0 0xcb 0 IRQ_TYPE_NONE>,
38                                      <0 0xcc 0 IRQ_TYPE_NONE>,
39                                      <0 0xcd 0 IRQ_TYPE_NONE>,
40                                      <0 0xce 0 IRQ_TYPE_NONE>,
41                                      <0 0xcf 0 IRQ_TYPE_NONE>,
42                                      <0 0xd0 0 IRQ_TYPE_NONE>,
43                                      <0 0xd1 0 IRQ_TYPE_NONE>,
44                                      <0 0xd2 0 IRQ_TYPE_NONE>,
45                                      <0 0xd3 0 IRQ_TYPE_NONE>,
46                                      <0 0xd4 0 IRQ_TYPE_NONE>,
47                                      <0 0xd5 0 IRQ_TYPE_NONE>;
48                 };
50                 pma8084_mpps: mpps@a000 {
51                         compatible = "qcom,pma8084-mpp";
52                         reg = <0xa000 0x800>;
53                         gpio-controller;
54                         #gpio-cells = <2>;
55                         interrupts = <0 0xa0 0 IRQ_TYPE_NONE>,
56                                      <0 0xa1 0 IRQ_TYPE_NONE>,
57                                      <0 0xa2 0 IRQ_TYPE_NONE>,
58                                      <0 0xa3 0 IRQ_TYPE_NONE>,
59                                      <0 0xa4 0 IRQ_TYPE_NONE>,
60                                      <0 0xa5 0 IRQ_TYPE_NONE>,
61                                      <0 0xa6 0 IRQ_TYPE_NONE>,
62                                      <0 0xa7 0 IRQ_TYPE_NONE>;
63                 };
65                 pma8084_temp: temp-alarm@2400 {
66                         compatible = "qcom,spmi-temp-alarm";
67                         reg = <0x2400 0x100>;
68                         interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
69                         #thermal-sensor-cells = <0>;
70                         io-channels = <&pma8084_vadc VADC_DIE_TEMP>;
71                         io-channel-names = "thermal";
72                 };
74                 pma8084_vadc: vadc@3100 {
75                         compatible = "qcom,spmi-vadc";
76                         reg = <0x3100 0x100>;
77                         interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
78                         #address-cells = <1>;
79                         #size-cells = <0>;
80                         #io-channel-cells = <1>;
81                         io-channel-ranges;
83                         die_temp {
84                                 reg = <VADC_DIE_TEMP>;
85                         };
86                         ref_625mv {
87                                 reg = <VADC_REF_625MV>;
88                         };
89                         ref_1250v {
90                                 reg = <VADC_REF_1250MV>;
91                         };
92                         ref_buf_625mv {
93                                 reg = <VADC_SPARE1>;
94                         };
95                         ref_gnd {
96                                 reg = <VADC_GND_REF>;
97                         };
98                         ref_vdd {
99                                 reg = <VADC_VDD_VADC>;
100                         };
101                 };
102         };
104         usid1: pma8084@1 {
105                 compatible = "qcom,spmi-pmic";
106                 reg = <0x1 SPMI_USID>;
107                 #address-cells = <1>;
108                 #size-cells = <0>;
109         };