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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/msm8226-motorola-falcon.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: BSD-3-Clause
  2 
  3 /dts-v1/;
  4 
  5 #include "qcom-msm8226.dtsi"
  6 #include "pm8226.dtsi"
  7 
  8 /delete-node/ &smem_region;
  9 
 10 / {
 11         model = "Motorola Moto G (2013)";
 12         compatible = "motorola,falcon", "qcom,msm8226";
 13         chassis-type = "handset";
 14 
 15         aliases {
 16                 mmc0 = &sdhc_1;
 17         };
 18 
 19         chosen {
 20                 #address-cells = <1>;
 21                 #size-cells = <1>;
 22                 ranges;
 23 
 24                 framebuffer@3200000 {
 25                         compatible = "simple-framebuffer";
 26                         reg = <0x03200000 0x800000>;
 27                         width = <720>;
 28                         height = <1280>;
 29                         stride = <(720 * 3)>;
 30                         format = "r8g8b8";
 31                         vsp-supply = <&reg_lcd_pos>;
 32                         vsn-supply = <&reg_lcd_neg>;
 33                         vddio-supply = <&vddio_disp_vreg>;
 34                 };
 35         };
 36 
 37         gpio-keys {
 38                 compatible = "gpio-keys";
 39 
 40                 event-hall-sensor {
 41                         label = "Hall Effect Sensor";
 42                         gpios = <&tlmm 51 GPIO_ACTIVE_LOW>;
 43                         linux,input-type = <EV_SW>;
 44                         linux,code = <SW_LID>;
 45                         linux,can-disable;
 46                 };
 47 
 48                 key-volume-up {
 49                         label = "Volume Up";
 50                         gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
 51                         linux,code = <KEY_VOLUMEUP>;
 52                         debounce-interval = <15>;
 53                 };
 54         };
 55 
 56         vddio_disp_vreg: regulator-vddio-disp {
 57                 compatible = "regulator-fixed";
 58                 regulator-name = "vddio_disp";
 59                 gpio = <&tlmm 34 GPIO_ACTIVE_HIGH>;
 60                 vin-supply = <&pm8226_l8>;
 61                 startup-delay-us = <300>;
 62                 enable-active-high;
 63                 regulator-boot-on;
 64         };
 65 
 66         reserved-memory {
 67                 #address-cells = <1>;
 68                 #size-cells = <1>;
 69                 ranges;
 70 
 71                 framebuffer@3200000 {
 72                         reg = <0x03200000 0x800000>;
 73                         no-map;
 74                 };
 75 
 76                 dhob@f500000 {
 77                         reg = <0x0f500000 0x40000>;
 78                         no-map;
 79                 };
 80 
 81                 shob@f540000 {
 82                         reg = <0x0f540000 0x2000>;
 83                         no-map;
 84                 };
 85 
 86                 smem_region: smem@fa00000 {
 87                         reg = <0x0fa00000 0x100000>;
 88                         no-map;
 89                 };
 90 
 91                 /* Actually <0x0fa00000 0x500000>, but first 100000 is smem */
 92                 reserved@fb00000 {
 93                         reg = <0x0fb00000 0x400000>;
 94                         no-map;
 95                 };
 96         };
 97 };
 98 
 99 &blsp1_i2c2 {
100         status = "okay";
101 
102         magnetometer@c {
103                 compatible = "asahi-kasei,ak8963";
104                 reg = <0xc>;
105                 interrupts-extended = <&tlmm 66 IRQ_TYPE_EDGE_FALLING>;
106                 reset-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
107                 vdd-supply = <&pm8226_l19>;
108                 vid-supply = <&pm8226_lvs1>;
109                 pinctrl-0 = <&mag_int_default &mag_reset_default>;
110                 pinctrl-names = "default";
111         };
112 
113         accelerometer@19 {
114                 compatible = "st,lis3dh-accel";
115                 reg = <0x19>;
116                 interrupts-extended = <&tlmm 63 IRQ_TYPE_EDGE_FALLING>;
117                 vdd-supply = <&pm8226_l19>;
118                 vddio-supply = <&pm8226_lvs1>;
119                 pinctrl-0 = <&accel_int_default>;
120                 pinctrl-names = "default";
121                 mount-matrix = "0", "1", "0",
122                                "1", "0", "0",
123                                "0", "0", "-1";
124                 st,drdy-int-pin = <1>;
125         };
126 };
127 
128 &blsp1_i2c3 {
129         status = "okay";
130 
131         regulator@3e {
132                 compatible = "ti,tps65132";
133                 reg = <0x3e>;
134                 pinctrl-0 = <&reg_lcd_default>;
135                 pinctrl-names = "default";
136 
137                 reg_lcd_pos: outp {
138                         regulator-name = "outp";
139                         regulator-min-microvolt = <4000000>;
140                         regulator-max-microvolt = <6000000>;
141                         regulator-active-discharge = <1>;
142                         regulator-boot-on;
143                         enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
144                 };
145 
146                 reg_lcd_neg: outn {
147                         regulator-name = "outn";
148                         regulator-min-microvolt = <4000000>;
149                         regulator-max-microvolt = <6000000>;
150                         regulator-active-discharge = <1>;
151                         regulator-boot-on;
152                         enable-gpios = <&tlmm 33 GPIO_ACTIVE_HIGH>;
153                 };
154         };
155 
156         temperature-sensor@48 {
157                 compatible = "ti,tmp108";
158                 reg = <0x48>;
159                 interrupts-extended = <&tlmm 13 IRQ_TYPE_LEVEL_LOW>;
160                 pinctrl-0 = <&temp_alert_default>;
161                 pinctrl-names = "default";
162                 #thermal-sensor-cells = <0>;
163         };
164 };
165 
166 &pm8226_resin {
167         linux,code = <KEY_VOLUMEDOWN>;
168         status = "okay";
169 };
170 
171 &pm8226_vib {
172         status = "okay";
173 };
174 
175 &rpm_requests {
176         regulators {
177                 compatible = "qcom,rpm-pm8226-regulators";
178 
179                 pm8226_s3: s3 {
180                         regulator-min-microvolt = <1200000>;
181                         regulator-max-microvolt = <1300000>;
182                 };
183 
184                 pm8226_s4: s4 {
185                         regulator-min-microvolt = <1800000>;
186                         regulator-max-microvolt = <2200000>;
187                 };
188 
189                 pm8226_s5: s5 {
190                         regulator-min-microvolt = <1150000>;
191                         regulator-max-microvolt = <1150000>;
192                 };
193 
194                 pm8226_l1: l1 {
195                         regulator-min-microvolt = <1225000>;
196                         regulator-max-microvolt = <1225000>;
197                 };
198 
199                 pm8226_l2: l2 {
200                         regulator-min-microvolt = <1200000>;
201                         regulator-max-microvolt = <1200000>;
202                 };
203 
204                 pm8226_l3: l3 {
205                         regulator-min-microvolt = <750000>;
206                         regulator-max-microvolt = <1337500>;
207                 };
208 
209                 pm8226_l4: l4 {
210                         regulator-min-microvolt = <1200000>;
211                         regulator-max-microvolt = <1200000>;
212                 };
213 
214                 pm8226_l5: l5 {
215                         regulator-min-microvolt = <1200000>;
216                         regulator-max-microvolt = <1200000>;
217                 };
218 
219                 pm8226_l6: l6 {
220                         regulator-min-microvolt = <1800000>;
221                         regulator-max-microvolt = <1800000>;
222                         regulator-allow-set-load;
223                 };
224 
225                 pm8226_l7: l7 {
226                         regulator-min-microvolt = <1850000>;
227                         regulator-max-microvolt = <1850000>;
228                 };
229 
230                 pm8226_l8: l8 {
231                         regulator-min-microvolt = <1800000>;
232                         regulator-max-microvolt = <1800000>;
233                 };
234 
235                 pm8226_l9: l9 {
236                         regulator-min-microvolt = <2050000>;
237                         regulator-max-microvolt = <2050000>;
238                 };
239 
240                 pm8226_l10: l10 {
241                         regulator-min-microvolt = <1800000>;
242                         regulator-max-microvolt = <1800000>;
243                 };
244 
245                 pm8226_l12: l12 {
246                         regulator-min-microvolt = <1800000>;
247                         regulator-max-microvolt = <1800000>;
248                 };
249 
250                 pm8226_l14: l14 {
251                         regulator-min-microvolt = <2750000>;
252                         regulator-max-microvolt = <2750000>;
253                 };
254 
255                 pm8226_l15: l15 {
256                         regulator-min-microvolt = <2800000>;
257                         regulator-max-microvolt = <2800000>;
258                 };
259 
260                 pm8226_l16: l16 {
261                         regulator-min-microvolt = <3000000>;
262                         regulator-max-microvolt = <3350000>;
263                 };
264 
265                 pm8226_l17: l17 {
266                         regulator-min-microvolt = <2950000>;
267                         regulator-max-microvolt = <2950000>;
268                 };
269 
270                 pm8226_l18: l18 {
271                         regulator-min-microvolt = <2950000>;
272                         regulator-max-microvolt = <2950000>;
273                 };
274 
275                 pm8226_l19: l19 {
276                         regulator-min-microvolt = <2850000>;
277                         regulator-max-microvolt = <2850000>;
278                 };
279 
280                 pm8226_l20: l20 {
281                         regulator-min-microvolt = <3075000>;
282                         regulator-max-microvolt = <3075000>;
283                 };
284 
285                 pm8226_l21: l21 {
286                         regulator-min-microvolt = <1800000>;
287                         regulator-max-microvolt = <2950000>;
288                         regulator-allow-set-load;
289                 };
290 
291                 pm8226_l22: l22 {
292                         regulator-min-microvolt = <1800000>;
293                         regulator-max-microvolt = <2950000>;
294                 };
295 
296                 pm8226_l23: l23 {
297                         regulator-min-microvolt = <1800000>;
298                         regulator-max-microvolt = <2950000>;
299                 };
300 
301                 pm8226_l24: l24 {
302                         regulator-min-microvolt = <1300000>;
303                         regulator-max-microvolt = <1350000>;
304                 };
305 
306                 pm8226_l25: l25 {
307                         regulator-min-microvolt = <1775000>;
308                         regulator-max-microvolt = <2125000>;
309                 };
310 
311                 pm8226_l26: l26 {
312                         regulator-min-microvolt = <1225000>;
313                         regulator-max-microvolt = <1225000>;
314                 };
315 
316                 pm8226_l27: l27 {
317                         regulator-min-microvolt = <2050000>;
318                         regulator-max-microvolt = <2050000>;
319                 };
320 
321                 pm8226_l28: l28 {
322                         regulator-min-microvolt = <1800000>;
323                         regulator-max-microvolt = <3400000>;
324                         regulator-boot-on;
325                 };
326 
327                 pm8226_lvs1: lvs1 {
328                         regulator-always-on;
329                 };
330         };
331 };
332 
333 &sdhc_1 {
334         vmmc-supply = <&pm8226_l17>;
335         vqmmc-supply = <&pm8226_l6>;
336 
337         bus-width = <8>;
338         non-removable;
339 
340         status = "okay";
341 };
342 
343 &smbb {
344         qcom,fast-charge-safe-current = <2000000>;
345         qcom,fast-charge-current-limit = <1900000>;
346         qcom,fast-charge-safe-voltage = <4400000>;
347         qcom,minimum-input-voltage = <4300000>;
348 
349         status = "okay";
350 };
351 
352 &tlmm {
353         accel_int_default: accel-int-default-state {
354                 pins = "gpio63";
355                 function = "gpio";
356                 drive-strength = <2>;
357                 bias-disable;
358                 output-disable;
359         };
360 
361         mag_int_default: mag-int-default-state {
362                 pins = "gpio66";
363                 function = "gpio";
364                 drive-strength = <2>;
365                 bias-disable;
366                 output-disable;
367         };
368 
369         mag_reset_default: mag-reset-default-state {
370                 pins = "gpio62";
371                 function = "gpio";
372                 drive-strength = <2>;
373                 bias-disable;
374                 output-high;
375         };
376 
377         reg_lcd_default: reg-lcd-default-state {
378                 pins = "gpio31", "gpio33";
379                 function = "gpio";
380                 drive-strength = <2>;
381                 bias-disable;
382                 output-high;
383         };
384 
385         reg_vddio_disp_default: reg-vddio-disp-default-state {
386                 pins = "gpio34";
387                 function = "gpio";
388                 drive-strength = <2>;
389                 bias-disable;
390                 output-high;
391         };
392 
393         temp_alert_default: temp-alert-default-state {
394                 pins = "gpio13";
395                 function = "gpio";
396                 drive-strength = <2>;
397                 bias-disable;
398                 output-disable;
399         };
400 };
401 
402 &usb {
403         extcon = <&smbb>;
404         dr_mode = "peripheral";
405         status = "okay";
406 };
407 
408 &usb_hs_phy {
409         extcon = <&smbb>;
410         v1p8-supply = <&pm8226_l10>;
411         v3p3-supply = <&pm8226_l20>;
412 };

~ [ 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