Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 1 | /* |
Chandrasekhar Mattaparthy | 5ae3bba | 2020-01-13 18:47:54 +0530 | [diff] [blame] | 2 | * Copyright (c) 2019,2020 The Linux Foundation. All rights reserved. |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 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 | /plugin/; |
| 16 | |
| 17 | #include "sdm429-spyro-qrd-evt.dtsi" |
Chandrasekhar Mattaparthy | efadb36 | 2020-04-16 10:47:30 +0530 | [diff] [blame] | 18 | #include "sdm429-bg-soc.dtsi" |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 19 | |
| 20 | / { |
| 21 | model = "Qualcomm Technologies, Inc. SDA429 QRD Spyro BG WDP Overlay"; |
| 22 | compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd"; |
| 23 | qcom,msm-id = <437 0x0>; |
| 24 | qcom,board-id = <0x01000b 9>; |
| 25 | qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>; |
| 26 | }; |
| 27 | |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 28 | &usb_otg { |
| 29 | HSUSB_3p3-supply = <&L16A>; |
| 30 | }; |
| 31 | |
| 32 | &msm_dig_codec { |
| 33 | cdc-vdd-digital-supply = <&pm660_l11>; |
| 34 | }; |
| 35 | |
| 36 | &ext_smart_pa { |
| 37 | dvdd-supply = <&pm660_l11>; |
| 38 | }; |
| 39 | |
| 40 | &sdhc_2 { |
| 41 | cd-gpios = <&tlmm 67 0x1>; |
| 42 | }; |
| 43 | |
| 44 | &mdss_dsi { |
| 45 | vddio-supply = <&L12A>; /* 1.8v */ |
| 46 | }; |
| 47 | |
| 48 | &mdss_dsi0_pll { |
| 49 | vddio-supply = <&L12A>; /* 1.8V */ |
| 50 | }; |
| 51 | |
| 52 | &mdss_dsi1_pll { |
| 53 | vddio-supply = <&L12A>; /* 1.8V */ |
| 54 | }; |
| 55 | |
| 56 | &mdss_dsi0 { |
| 57 | qcom,platform-enable-gpio = <&pm660_gpios 12 0>; |
| 58 | /delete-property/ vdd-supply; |
| 59 | qcom,dsi-pref-prim-pan = <&dsi_truly_rm69090_qvga_cmd>; |
| 60 | }; |
| 61 | &dsi_pm660_panel_pwr_supply { |
| 62 | /delete-node/ qcom,panel-supply-entry@0; |
| 63 | }; |
| 64 | |
| 65 | &pm660_gpios { |
| 66 | gpio@cb00 { |
| 67 | status = "ok"; |
| 68 | qcom,mode = <1>; |
| 69 | qcom,vin-sel = <0>; |
| 70 | qcom,src-sel = <0>; |
| 71 | qcom,master-en = <1>; |
| 72 | qcom,out-strength = <2>; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | &i2c_4 { |
| 77 | status = "ok"; |
| 78 | |
| 79 | tsc@24 { |
| 80 | cy,core { |
| 81 | cy,mt { |
| 82 | cy,name = "cyttsp5_mt"; |
| 83 | |
| 84 | cy,inp_dev_name = "cyttsp5_mt"; |
| 85 | cy,flags = <0x8>; |
| 86 | cy,abs = |
| 87 | <0x35 0 368 0 0 |
| 88 | 0x36 0 448 0 0 |
| 89 | 0x3a 0 255 0 0 |
| 90 | 0xffff 0 255 0 0 |
| 91 | 0x39 0 15 0 0 |
| 92 | 0x30 0 255 0 0 |
| 93 | 0x31 0 255 0 0 |
| 94 | 0x34 0xffffff81 127 0 0 |
| 95 | 0x37 0 1 0 0 |
| 96 | 0x3b 0 255 0 0>; |
| 97 | |
| 98 | }; |
| 99 | |
| 100 | }; |
| 101 | }; |
| 102 | |
| 103 | }; |
| 104 | |
| 105 | &firmware { |
| 106 | android { |
| 107 | fstab { |
| 108 | system { |
| 109 | status = "disabled"; |
| 110 | }; |
| 111 | }; |
| 112 | }; |
| 113 | }; |