~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*
  3  * Copyright (c) 2023, Luca Weiss <luca@z3ntu.xyz>
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "qcom-msm8226.dtsi"
  9 #include "pm8226.dtsi"
 10 
 11 /delete-node/ &adsp_region;
 12 /delete-node/ &smem_region;
 13 
 14 / {
 15         model = "HTC One Mini 2";
 16         compatible = "htc,memul", "qcom,msm8926", "qcom,msm8226";
 17         chassis-type = "handset";
 18 
 19         aliases {
 20                 mmc1 = &sdhc_2; /* SDC2 SD card slot */
 21         };
 22 
 23         gpio-keys {
 24                 compatible = "gpio-keys";
 25 
 26                 key-power {
 27                         label = "Power";
 28                         gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
 29                         linux,code = <KEY_POWER>;
 30                         debounce-interval = <15>;
 31                 };
 32 
 33                 key-volume-down {
 34                         label = "Volume Down";
 35                         gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
 36                         linux,code = <KEY_VOLUMEDOWN>;
 37                         debounce-interval = <15>;
 38                 };
 39 
 40                 key-volume-up {
 41                         label = "Volume Up";
 42                         gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
 43                         linux,code = <KEY_VOLUMEUP>;
 44                         debounce-interval = <15>;
 45                 };
 46         };
 47 
 48         reserved-memory {
 49                 unknown@5b00000 {
 50                         reg = <0x05b00000 0x200000>;
 51                         no-map;
 52                 };
 53 
 54                 unknown@7500000 {
 55                         reg = <0x07500000 0xb00000>;
 56                         no-map;
 57                 };
 58 
 59                 mpss_region: mpss@8000000 {
 60                         reg = <0x08000000 0x4f00000>;
 61                         no-map;
 62                 };
 63 
 64                 unknown@cf00000 {
 65                         reg = <0x0cf00000 0x200000>;
 66                         no-map;
 67                 };
 68 
 69                 mba_region: mba@d100000 {
 70                         reg = <0x0d100000 0x3a000>;
 71                         no-map;
 72                 };
 73 
 74                 unknown@d13a000 {
 75                         reg = <0x0d13a000 0xc6000>;
 76                         no-map;
 77                 };
 78 
 79                 wcnss_region: wcnss@d200000 {
 80                         reg = <0x0d200000 0x650000>;
 81                         no-map;
 82                 };
 83 
 84                 unknown@d850000 {
 85                         reg = <0x0d850000 0x3b0000>;
 86                         no-map;
 87                 };
 88 
 89                 adsp_region: adsp@dc00000 {
 90                         reg = <0x0dc00000 0x1400000>;
 91                         no-map;
 92                 };
 93 
 94                 unknown@f000000 {
 95                         reg = <0x0f000000 0x500000>;
 96                         no-map;
 97                 };
 98 
 99                 venus_region: venus@f500000 {
100                         reg = <0x0f500000 0x500000>;
101                         no-map;
102                 };
103 
104                 smem_region: smem@fa00000 {
105                         reg = <0x0fa00000 0x100000>;
106                         no-map;
107                 };
108 
109                 unknown@fb00000 {
110                         reg = <0x0fb00000 0x280000>;
111                         no-map;
112                 };
113 
114                 rmtfs@fd80000 {
115                         compatible = "qcom,rmtfs-mem";
116                         reg = <0x0fd80000 0x180000>;
117                         no-map;
118 
119                         qcom,client-id = <1>;
120                 };
121 
122                 unknown@ff00000 {
123                         reg = <0x0ff00000 0x1700000>;
124                         no-map;
125                 };
126         };
127 };
128 
129 &adsp {
130         firmware-name = "qcom/msm8926/memul/adsp.mbn";
131         status = "okay";
132 };
133 
134 &blsp1_i2c2 {
135         status = "okay";
136 
137         magnetometer@d {
138                 compatible = "asahi-kasei,ak8963";
139                 reg = <0x0d>;
140                 interrupts-extended = <&tlmm 66 IRQ_TYPE_EDGE_RISING>;
141                 vdd-supply = <&pm8226_l19>;
142                 vid-supply = <&pm8226_l28>;
143         };
144 
145         accelerometer@18 {
146                 compatible = "bosch,bma250e";
147                 reg = <0x18>;
148                 interrupts-extended = <&tlmm 63 IRQ_TYPE_EDGE_RISING>;
149                 vdd-supply = <&pm8226_l19>;
150                 vddio-supply = <&pm8226_l28>;
151         };
152 };
153 
154 &blsp1_i2c4 {
155         status = "okay";
156 
157         /* TFA9887 @ 34 */
158         /* TFA9887 @ 35 */
159 };
160 
161 &blsp1_i2c5 {
162         status = "okay";
163 
164         touchscreen@20 {
165                 compatible = "syna,rmi4-i2c";
166                 reg = <0x20>;
167 
168                 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
169                 vdd-supply = <&pm8226_l19>;
170 
171                 syna,startup-delay-ms = <160>;
172 
173                 #address-cells = <1>;
174                 #size-cells = <0>;
175 
176                 rmi4-f01@1 {
177                         reg = <0x1>;
178                         syna,nosleep-mode = <1>;
179                 };
180 
181                 rmi4-f12@12 {
182                         reg = <0x12>;
183                         syna,sensor-type = <1>;
184                 };
185         };
186 };
187 
188 &blsp1_i2c6 {
189         status = "okay";
190 
191         /* NCP6924 Camera Regulators @ 10 */
192         /* PN544 NFC @ 28 */
193         /* TPS61310 Flash/Torch @ 33 */
194 };
195 
196 &pm8226_vib {
197         status = "okay";
198 };
199 
200 &rpm_requests {
201         regulators {
202                 compatible = "qcom,rpm-pm8226-regulators";
203 
204                 pm8226_s3: s3 {
205                         regulator-min-microvolt = <1200000>;
206                         regulator-max-microvolt = <1350000>;
207                 };
208 
209                 pm8226_s4: s4 {
210                         regulator-min-microvolt = <1800000>;
211                         regulator-max-microvolt = <2200000>;
212                 };
213 
214                 pm8226_s5: s5 {
215                         regulator-min-microvolt = <1150000>;
216                         regulator-max-microvolt = <1150000>;
217                 };
218 
219                 pm8226_l1: l1 {
220                         regulator-min-microvolt = <1225000>;
221                         regulator-max-microvolt = <1225000>;
222                 };
223 
224                 pm8226_l2: l2 {
225                         regulator-min-microvolt = <1200000>;
226                         regulator-max-microvolt = <1200000>;
227                 };
228 
229                 pm8226_l3: l3 {
230                         regulator-min-microvolt = <750000>;
231                         regulator-max-microvolt = <1337500>;
232                 };
233 
234                 pm8226_l4: l4 {
235                         regulator-min-microvolt = <1200000>;
236                         regulator-max-microvolt = <1200000>;
237                 };
238 
239                 pm8226_l5: l5 {
240                         regulator-min-microvolt = <1200000>;
241                         regulator-max-microvolt = <1200000>;
242                 };
243 
244                 pm8226_l6: l6 {
245                         regulator-min-microvolt = <1800000>;
246                         regulator-max-microvolt = <1800000>;
247                 };
248 
249                 pm8226_l7: l7 {
250                         regulator-min-microvolt = <1850000>;
251                         regulator-max-microvolt = <1850000>;
252                 };
253 
254                 pm8226_l8: l8 {
255                         regulator-min-microvolt = <1800000>;
256                         regulator-max-microvolt = <1800000>;
257                 };
258 
259                 pm8226_l9: l9 {
260                         regulator-min-microvolt = <2050000>;
261                         regulator-max-microvolt = <2050000>;
262                 };
263 
264                 pm8226_l10: l10 {
265                         regulator-min-microvolt = <1800000>;
266                         regulator-max-microvolt = <1800000>;
267                 };
268 
269                 pm8226_l12: l12 {
270                         regulator-min-microvolt = <1800000>;
271                         regulator-max-microvolt = <1800000>;
272                 };
273 
274                 pm8226_l14: l14 {
275                         regulator-min-microvolt = <2750000>;
276                         regulator-max-microvolt = <2750000>;
277                 };
278 
279                 pm8226_l15: l15 {
280                         regulator-min-microvolt = <3000000>;
281                         regulator-max-microvolt = <3000000>;
282                 };
283 
284                 pm8226_l16: l16 {
285                         regulator-min-microvolt = <3000000>;
286                         regulator-max-microvolt = <3350000>;
287                 };
288 
289                 pm8226_l17: l17 {
290                         regulator-min-microvolt = <2950000>;
291                         regulator-max-microvolt = <2950000>;
292                 };
293 
294                 pm8226_l18: l18 {
295                         regulator-min-microvolt = <2950000>;
296                         regulator-max-microvolt = <2950000>;
297                 };
298 
299                 pm8226_l19: l19 {
300                         regulator-min-microvolt = <2850000>;
301                         regulator-max-microvolt = <2850000>;
302                 };
303 
304                 pm8226_l20: l20 {
305                         regulator-min-microvolt = <3075000>;
306                         regulator-max-microvolt = <3075000>;
307                 };
308 
309                 pm8226_l21: l21 {
310                         regulator-min-microvolt = <1800000>;
311                         regulator-max-microvolt = <2950000>;
312                         regulator-allow-set-load;
313                 };
314 
315                 pm8226_l22: l22 {
316                         regulator-min-microvolt = <1800000>;
317                         regulator-max-microvolt = <2950000>;
318                 };
319 
320                 pm8226_l23: l23 {
321                         regulator-min-microvolt = <1800000>;
322                         regulator-max-microvolt = <3000000>;
323                 };
324 
325                 pm8226_l24: l24 {
326                         regulator-min-microvolt = <1300000>;
327                         regulator-max-microvolt = <1350000>;
328                 };
329 
330                 pm8226_l25: l25 {
331                         regulator-min-microvolt = <1775000>;
332                         regulator-max-microvolt = <2125000>;
333                 };
334 
335                 pm8226_l26: l26 {
336                         regulator-min-microvolt = <1225000>;
337                         regulator-max-microvolt = <1225000>;
338                 };
339 
340                 pm8226_l27: l27 {
341                         regulator-min-microvolt = <2050000>;
342                         regulator-max-microvolt = <2050000>;
343                 };
344 
345                 pm8226_l28: l28 {
346                         regulator-min-microvolt = <1800000>;
347                         regulator-max-microvolt = <1800000>;
348                 };
349 
350                 pm8226_lvs1: lvs1 {};
351         };
352 };
353 
354 &sdhc_2 {
355         vmmc-supply = <&pm8226_l18>;
356         vqmmc-supply = <&pm8226_l21>;
357 
358         bus-width = <4>;
359         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
360 
361         status = "okay";
362 };
363 
364 &smbb {
365         qcom,fast-charge-safe-current = <1750000>;
366         qcom,fast-charge-current-limit = <1750000>;
367         qcom,fast-charge-safe-voltage = <4360000>;
368         qcom,fast-charge-high-threshold-voltage = <4350000>;
369         qcom,auto-recharge-threshold-voltage = <4300000>;
370         qcom,minimum-input-voltage = <4300000>;
371 
372         status = "okay";
373 };
374 
375 &usb {
376         extcon = <&smbb>;
377         dr_mode = "peripheral";
378         status = "okay";
379 };
380 
381 &usb_hs_phy {
382         extcon = <&smbb>;
383         v1p8-supply = <&pm8226_l10>;
384         v3p3-supply = <&pm8226_l20>;
385 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php