Kaushal Kumar | 3191ed7 | 2018-03-16 14:46:36 +0530 | [diff] [blame^] | 1 | /* Copyright (c) 2018, 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 | /plugin/; |
| 15 | |
| 16 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> |
| 17 | #include <dt-bindings/clock/qcom,camcc-sdm845.h> |
| 18 | #include <dt-bindings/clock/qcom,dispcc-sdm845.h> |
| 19 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 20 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 21 | |
| 22 | #include "sdm670-qrd.dtsi" |
| 23 | |
| 24 | / { |
| 25 | model = "Qualcomm Technologies, Inc. SDM710 PM660 + PM660L QRD SKU2"; |
| 26 | compatible = "qcom,sdm670-qrd", "qcom,sdm670", "qcom,qrd"; |
| 27 | qcom,msm-id = <360 0x0>; |
| 28 | qcom,board-id = <0x0012000b 0>; |
| 29 | qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, |
| 30 | <0x0001001b 0x0102001a 0x0 0x0>, |
| 31 | <0x0001001b 0x0201011a 0x0 0x0>; |
| 32 | }; |
| 33 | |
| 34 | &dsi_dual_nt36850_truly_cmd_display { |
| 35 | /delete-property/ qcom,dsi-display-active; |
| 36 | }; |
| 37 | |
| 38 | &dsi_hx8399_truly_cmd { |
| 39 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 40 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 41 | qcom,mdss-dsi-bl-min-level = <1>; |
| 42 | qcom,mdss-dsi-bl-max-level = <4095>; |
| 43 | qcom,panel-mode-gpio = <&tlmm 76 0>; |
| 44 | qcom,mdss-dsi-mode-sel-gpio-state = "single_port"; |
| 45 | qcom,platform-reset-gpio = <&tlmm 75 0>; |
| 46 | qcom,platform-te-gpio = <&tlmm 10 0>; |
| 47 | }; |
| 48 | |
| 49 | &dsi_hx8399_truly_cmd_display { |
| 50 | qcom,dsi-display-active; |
| 51 | }; |