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-cdp.dtsi" |
| 23 | #include "pm660a.dtsi" |
| 24 | #include "sdm670-audio-overlay.dtsi" |
| 25 | |
| 26 | / { |
| 27 | model = "Qualcomm Technologies, Inc. SDM710 PM660 + PM660A CDP"; |
| 28 | compatible = "qcom,sdm670-cdp", "qcom,sdm670", "qcom,cdp"; |
Kaushal Kumar | c86c8a6 | 2018-09-28 17:36:19 +0530 | [diff] [blame] | 29 | qcom,msm-id = <360 0x0>, |
| 30 | <393 0x0>; |
Kaushal Kumar | 3191ed7 | 2018-03-16 14:46:36 +0530 | [diff] [blame] | 31 | qcom,board-id = <1 0>; |
| 32 | qcom,pmic-id = <0x0001001b 0x0001011a 0x0 0x0>, |
| 33 | <0x0001001b 0x0002001a 0x0 0x0>, |
| 34 | <0x0001001b 0x0202001a 0x0 0x0>; |
| 35 | }; |
| 36 | |
| 37 | &dsi_dual_nt35597_truly_video_display { |
| 38 | /delete-property/ qcom,dsi-display-active; |
| 39 | }; |
| 40 | |
| 41 | &dsi_panel_pwr_supply_labibb_amoled { |
| 42 | qcom,panel-supply-entry@2 { |
| 43 | reg = <2>; |
| 44 | qcom,supply-name = "lab"; |
| 45 | qcom,supply-min-voltage = <4600000>; |
| 46 | qcom,supply-max-voltage = <6100000>; |
| 47 | qcom,supply-enable-load = <100000>; |
| 48 | qcom,supply-disable-load = <100>; |
| 49 | }; |
| 50 | |
| 51 | qcom,panel-supply-entry@3 { |
| 52 | reg = <3>; |
| 53 | qcom,supply-name = "ibb"; |
| 54 | qcom,supply-min-voltage = <4000000>; |
| 55 | qcom,supply-max-voltage = <6300000>; |
| 56 | qcom,supply-enable-load = <100000>; |
| 57 | qcom,supply-disable-load = <100>; |
| 58 | }; |
| 59 | |
| 60 | qcom,panel-supply-entry@4 { |
| 61 | reg = <4>; |
| 62 | qcom,supply-name = "oledb"; |
| 63 | qcom,supply-min-voltage = <5000000>; |
| 64 | qcom,supply-max-voltage = <8100000>; |
| 65 | qcom,supply-enable-load = <100000>; |
| 66 | qcom,supply-disable-load = <100>; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &dsi_rm67195_amoled_fhd_cmd_display { |
| 71 | qcom,dsi-display-active; |
| 72 | lab-supply = <&lab_regulator>; |
| 73 | ibb-supply = <&ibb_regulator>; |
| 74 | oledb-supply = <&pm660a_oledb>; |
| 75 | }; |