Kavya Nunna | 5c52619 | 2019-06-24 16:38:24 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2019, 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 | /dts-v1/; |
| 15 | |
| 16 | #include "sdm450.dtsi" |
| 17 | #include "msm8953-mtp.dtsi" |
| 18 | / { |
| 19 | model = "Qualcomm Technologies, Inc. SDM450 + NO PMI MTP S3"; |
| 20 | compatible = "qcom,sdm450-mtp", "qcom,sdm450", "qcom,mtp"; |
| 21 | qcom,board-id = <8 3>; |
| 22 | qcom,pmic-id = <0x010016 0x0 0x0 0x0>; |
| 23 | }; |
| 24 | |
| 25 | &eeprom0 { |
| 26 | cam_vdig-supply = <&pm8953_l23>; |
| 27 | }; |
| 28 | |
| 29 | &camera0 { |
| 30 | cam_vdig-supply = <&pm8953_l23>; |
| 31 | }; |
| 32 | |
| 33 | &pm8953_gpios { |
| 34 | bklt_en { |
| 35 | bklt_en_default: bklt_en_default { |
| 36 | pins = "gpio4"; |
| 37 | function = "normal"; |
| 38 | power-source = <0>; |
| 39 | output-high; |
| 40 | }; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | &pm8953_pwm { |
| 45 | status = "ok"; |
| 46 | }; |
| 47 | |
| 48 | &mdss_dsi0 { |
| 49 | qcom,dsi-pref-prim-pan = <&dsi_hx8399c_truly_vid>; |
| 50 | pinctrl-names = "mdss_default", "mdss_sleep"; |
| 51 | pinctrl-0 = <&mdss_dsi_active &mdss_te_active &bklt_en_default>; |
| 52 | pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>; |
| 53 | qcom,platform-bklight-en-gpio = <&pm8953_gpios 4 0>; |
| 54 | |
| 55 | }; |
| 56 | |
| 57 | &dsi_truly_1080_vid { |
| 58 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm"; |
| 59 | qcom,mdss-dsi-bl-pmic-pwm-frequency = <100>; |
| 60 | qcom,mdss-dsi-bl-pmic-bank-select = <0>; |
| 61 | qcom,mdss-dsi-pwm-gpio = <&pm8953_gpios 8 0>; |
| 62 | }; |
| 63 | |
| 64 | &dsi_hx8399c_truly_vid { |
| 65 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm"; |
| 66 | qcom,mdss-dsi-bl-pmic-pwm-frequency = <100>; |
| 67 | qcom,mdss-dsi-bl-pmic-bank-select = <0>; |
| 68 | qcom,mdss-dsi-pwm-gpio = <&pm8953_gpios 8 0>; |
| 69 | }; |