1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2022, Linaro Limited 4 */ 5 6 #include <dt-bindings/iio/qcom,spmi-adc7-pm835 7 #include <dt-bindings/iio/qcom,spmi-adc7-pmk83 8 #include <dt-bindings/iio/qcom,spmi-adc7-pmr73 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq 11 #include <dt-bindings/spmi/spmi.h> 12 13 / { 14 thermal-zones { 15 pm8280_1_thermal: pm8280-1-the 16 polling-delay-passive 17 18 thermal-sensors = <&pm 19 20 trips { 21 trip0 { 22 temper 23 hyster 24 type = 25 }; 26 27 trip1 { 28 temper 29 hyster 30 type = 31 }; 32 }; 33 }; 34 35 pm8280_2_thermal: pm8280-2-the 36 polling-delay-passive 37 38 thermal-sensors = <&pm 39 40 trips { 41 trip0 { 42 temper 43 hyster 44 type = 45 }; 46 47 trip1 { 48 temper 49 hyster 50 type = 51 }; 52 }; 53 }; 54 }; 55 }; 56 57 &spmi_bus { 58 pmk8280: pmic@0 { 59 compatible = "qcom,pmk8350", " 60 reg = <0x0 SPMI_USID>; 61 #address-cells = <1>; 62 #size-cells = <0>; 63 64 pmk8280_pon: pon@1300 { 65 compatible = "qcom,pmk 66 reg = <0x1300>, <0x800 67 reg-names = "hlos", "p 68 69 pmk8280_pon_pwrkey: pw 70 compatible = " 71 interrupts-ext 72 linux,code = < 73 status = "disa 74 }; 75 76 pmk8280_pon_resin: res 77 compatible = " 78 interrupts-ext 79 status = "disa 80 }; 81 }; 82 83 pmk8280_vadc: adc@3100 { 84 compatible = "qcom,spm 85 reg = <0x3100>; 86 interrupts-extended = 87 #address-cells = <1>; 88 #size-cells = <0>; 89 #io-channel-cells = <1 90 91 channel@3 { 92 reg = <PMK8350 93 qcom,pre-scali 94 label = "pmk83 95 }; 96 97 channel@44 { 98 reg = <PMK8350 99 qcom,hw-settle 100 qcom,ratiometr 101 label = "pmk83 102 }; 103 104 channel@103 { 105 reg = <PM8350_ 106 qcom,pre-scali 107 label = "pmc82 108 }; 109 110 channel@303 { 111 reg = <PM8350_ 112 qcom,pre-scali 113 label = "pmc82 114 }; 115 116 channel@403 { 117 reg = <PMR735A 118 qcom,pre-scali 119 label = "pmr73 120 }; 121 }; 122 123 pmk8280_adc_tm: adc-tm@3400 { 124 compatible = "qcom,spm 125 reg = <0x3400>; 126 interrupts-extended = 127 #address-cells = <1>; 128 #size-cells = <0>; 129 #thermal-sensor-cells 130 status = "disabled"; 131 }; 132 133 pmk8280_rtc: rtc@6100 { 134 compatible = "qcom,pmk 135 reg = <0x6100>, <0x620 136 reg-names = "rtc", "al 137 interrupts-extended = 138 wakeup-source; 139 status = "disabled"; 140 }; 141 142 pmk8280_sdam_6: nvram@8500 { 143 compatible = "qcom,spm 144 reg = <0x8500>; 145 #address-cells = <1>; 146 #size-cells = <1>; 147 ranges = <0 0x8500 0x1 148 status = "disabled"; 149 }; 150 }; 151 152 pmc8280_1: pmic@1 { 153 compatible = "qcom,pm8350", "q 154 reg = <0x1 SPMI_USID>; 155 #address-cells = <1>; 156 #size-cells = <0>; 157 158 pm8280_1_temp_alarm: temp-alar 159 compatible = "qcom,spm 160 reg = <0xa00>; 161 interrupts-extended = 162 io-channels = <&pmk828 163 io-channel-names = "th 164 #thermal-sensor-cells 165 }; 166 167 pmc8280_1_gpios: gpio@8800 { 168 compatible = "qcom,pm8 169 reg = <0x8800>; 170 gpio-controller; 171 gpio-ranges = <&pmc828 172 #gpio-cells = <2>; 173 interrupt-controller; 174 #interrupt-cells = <2> 175 }; 176 }; 177 178 pmc8280c: pmic@2 { 179 compatible = "qcom,pm8350c", " 180 reg = <0x2 SPMI_USID>; 181 #address-cells = <1>; 182 #size-cells = <0>; 183 184 pmc8280c_gpios: gpio@8800 { 185 compatible = "qcom,pm8 186 reg = <0x8800>; 187 gpio-controller; 188 gpio-ranges = <&pmc828 189 #gpio-cells = <2>; 190 interrupt-controller; 191 #interrupt-cells = <2> 192 }; 193 194 pmc8280c_lpg: pwm { 195 compatible = "qcom,pm8 196 197 #address-cells = <1>; 198 #size-cells = <0>; 199 200 #pwm-cells = <2>; 201 202 status = "disabled"; 203 }; 204 }; 205 206 pmc8280_2: pmic@3 { 207 compatible = "qcom,pm8350", "q 208 reg = <0x3 SPMI_USID>; 209 #address-cells = <1>; 210 #size-cells = <0>; 211 212 pm8280_2_temp_alarm: temp-alar 213 compatible = "qcom,spm 214 reg = <0xa00>; 215 interrupts-extended = 216 io-channels = <&pmk828 217 io-channel-names = "th 218 #thermal-sensor-cells 219 }; 220 221 pmc8280_2_gpios: gpio@8800 { 222 compatible = "qcom,pm8 223 reg = <0x8800>; 224 gpio-controller; 225 gpio-ranges = <&pmc828 226 #gpio-cells = <2>; 227 interrupt-controller; 228 #interrupt-cells = <2> 229 }; 230 }; 231 232 pmr735a: pmic@4 { 233 compatible = "qcom,pmr735a", " 234 reg = <0x4 SPMI_USID>; 235 #address-cells = <1>; 236 #size-cells = <0>; 237 238 pmr735a_gpios: gpio@8800 { 239 compatible = "qcom,pmr 240 reg = <0x8800>; 241 gpio-controller; 242 gpio-ranges = <&pmr735 243 #gpio-cells = <2>; 244 interrupt-controller; 245 #interrupt-cells = <2> 246 }; 247 }; 248 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.