Jeevan Shriram | ac64e2e | 2017-10-09 12:24:49 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | |
| 15 | |
| 16 | #include "sdxpoorwills.dtsi" |
| 17 | #include "sdxpoorwills-pinctrl.dtsi" |
| 18 | |
| 19 | / { |
| 20 | model = "Qualcomm Technologies, Inc. SDXPOORWILLS CDP"; |
| 21 | compatible = "qcom,sdxpoorwills-cdp", |
| 22 | "qcom,sdxpoorwills", "qcom,cdp"; |
Jeevan Shriram | cd9c9dd | 2017-12-07 16:38:31 -0800 | [diff] [blame] | 23 | qcom,board-id = <1 0x0>, <1 0x100>, <1 0x2>, <1 0x102>; |
Jeevan Shriram | ac64e2e | 2017-10-09 12:24:49 -0700 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | &blsp1_uart2 { |
| 27 | pinctrl-names = "default"; |
| 28 | pinctrl-0 = <&uart2_console_active>; |
| 29 | status = "ok"; |
| 30 | }; |
| 31 | |
Sahitya Tummala | 61f1d32 | 2017-06-06 13:49:19 +0530 | [diff] [blame] | 32 | &qnand_1 { |
| 33 | status = "ok"; |
| 34 | }; |
Siddartha Mohanadoss | 2be47fe | 2017-10-20 11:09:41 -0700 | [diff] [blame] | 35 | |
| 36 | &pmxpoorwills_vadc { |
| 37 | chan@83 { |
| 38 | label = "vph_pwr"; |
| 39 | reg = <0x83>; |
| 40 | qcom,decimation = <2>; |
| 41 | qcom,pre-div-channel-scaling = <1>; |
| 42 | qcom,calibration-type = "absolute"; |
| 43 | qcom,scale-function = <0>; |
| 44 | qcom,hw-settle-time = <0>; |
| 45 | qcom,fast-avg-setup = <0>; |
| 46 | }; |
| 47 | |
| 48 | chan@4c { |
| 49 | label = "xo_therm"; |
| 50 | reg = <0x4c>; |
| 51 | qcom,decimation = <2>; |
| 52 | qcom,pre-div-channel-scaling = <0>; |
| 53 | qcom,calibration-type = "ratiometric"; |
| 54 | qcom,scale-function = <4>; |
| 55 | qcom,hw-settle-time = <2>; |
| 56 | qcom,fast-avg-setup = <0>; |
| 57 | qcom,vadc-thermal-node; |
| 58 | }; |
| 59 | |
| 60 | chan@4d { |
| 61 | label = "pa_therm1"; |
| 62 | reg = <0x4d>; |
| 63 | qcom,decimation = <2>; |
| 64 | qcom,pre-div-channel-scaling = <0>; |
| 65 | qcom,calibration-type = "ratiometric"; |
| 66 | qcom,scale-function = <2>; |
| 67 | qcom,hw-settle-time = <2>; |
| 68 | qcom,fast-avg-setup = <0>; |
| 69 | qcom,vadc-thermal-node; |
| 70 | }; |
| 71 | |
| 72 | chan@4e { |
| 73 | label = "pa_therm2"; |
| 74 | reg = <0x4e>; |
| 75 | qcom,decimation = <2>; |
| 76 | qcom,pre-div-channel-scaling = <0>; |
| 77 | qcom,calibration-type = "ratiometric"; |
| 78 | qcom,scale-function = <2>; |
| 79 | qcom,hw-settle-time = <2>; |
| 80 | qcom,fast-avg-setup = <0>; |
| 81 | qcom,vadc-thermal-node; |
| 82 | }; |
| 83 | |
| 84 | chan@4f { |
| 85 | label = "mdm_case_therm"; |
| 86 | reg = <0x4f>; |
| 87 | qcom,decimation = <2>; |
| 88 | qcom,pre-div-channel-scaling = <0>; |
| 89 | qcom,calibration-type = "ratiometric"; |
| 90 | qcom,scale-function = <2>; |
| 91 | qcom,hw-settle-time = <2>; |
| 92 | qcom,fast-avg-setup = <0>; |
| 93 | qcom,vadc-thermal-node; |
| 94 | }; |
| 95 | |
| 96 | chan@52 { |
| 97 | label = "ambient_therm"; |
| 98 | reg = <0x52>; |
| 99 | qcom,decimation = <2>; |
| 100 | qcom,pre-div-channel-scaling = <0>; |
| 101 | qcom,calibration-type = "ratiometric"; |
| 102 | qcom,scale-function = <2>; |
| 103 | qcom,hw-settle-time = <2>; |
| 104 | qcom,fast-avg-setup = <0>; |
| 105 | qcom,vadc-thermal-node; |
| 106 | }; |
| 107 | }; |