Pranav Patel | 31996f6 | 2018-05-02 18:18:15 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 and |
| 6 | * only version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | #include "apq8053-lite-dragon.dtsi" |
| 15 | |
| 16 | &pm8953_l4 { |
| 17 | status = "okay"; |
| 18 | regulator-always-on; |
| 19 | }; |
| 20 | |
| 21 | &pm8953_l10 { |
| 22 | status = "okay"; |
| 23 | regulator-min-microvolt = <3000000>; |
| 24 | regulator-max-microvolt = <3300000>; |
| 25 | regulator-always-on; |
| 26 | }; |
| 27 | |
| 28 | &pm8953_l2 { |
| 29 | status = "okay"; |
| 30 | regulator-always-on; |
| 31 | }; |
| 32 | |
| 33 | &pm8953_l17 { |
| 34 | status = "okay"; |
| 35 | regulator-always-on; |
| 36 | }; |
| 37 | |
| 38 | &pm8953_l22 { |
| 39 | status = "okay"; |
| 40 | regulator-always-on; |
| 41 | }; |
| 42 | |
| 43 | &i2c_3 { |
| 44 | status = "okay"; |
| 45 | /delete-node/ himax_ts@48; |
| 46 | focaltech_ts@38 { |
| 47 | compatible = "focaltech,fts"; |
| 48 | reg = <0x38>; |
| 49 | interrupt-parent = <&tlmm>; |
| 50 | interrupts = <65 0x2>; |
| 51 | vdd-supply = <&pm8953_l10>; |
| 52 | avdd-supply = <&pm8953_l6>; |
| 53 | pinctrl-names = "pmx_ts_active","pmx_ts_suspend", |
| 54 | "pmx_ts_release"; |
| 55 | pinctrl-0 = <&ts_int_active &ts_reset_active>; |
| 56 | pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; |
| 57 | pinctrl-2 = <&ts_release>; |
| 58 | focaltech,display-coords = <0 0 800 1280>; |
| 59 | focaltech,reset-gpio = <&tlmm 64 0x0>; |
| 60 | focaltech,irq-gpio = <&tlmm 65 0x2>; |
| 61 | focaltech,max-touch-number = <5>; |
| 62 | report_type = <1>; |
| 63 | }; |
| 64 | }; |
| 65 | |
| 66 | &wled { |
| 67 | qcom,led-strings-list = [00 01 02]; |
| 68 | }; |
| 69 | |
| 70 | &camera0 { |
| 71 | qcom,mount-angle = <90>; |
| 72 | }; |
| 73 | |
| 74 | &camera1 { |
| 75 | qcom,mount-angle = <90>; |
| 76 | }; |
| 77 | |
| 78 | &camera2{ |
| 79 | qcom,mount-angle = <90>; |
| 80 | }; |