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 | |
Archit Saxena | c1cbe02 | 2020-05-01 18:43:22 +0530 | [diff] [blame] | 28 | &modem_mem { |
| 29 | reg = <0x0 0x86800000 0x0 0x1F00000>; |
| 30 | }; |
| 31 | |
| 32 | &adsp_fw_mem { |
| 33 | reg = <0x0 0x88700000 0x0 0x1500000>; |
| 34 | }; |
| 35 | |
| 36 | &wcnss_fw_mem { |
| 37 | reg = <0x0 0x89c00000 0x0 0x700000>; |
| 38 | }; |
| 39 | |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 40 | &usb_otg { |
| 41 | HSUSB_3p3-supply = <&L16A>; |
| 42 | }; |
| 43 | |
| 44 | &msm_dig_codec { |
| 45 | cdc-vdd-digital-supply = <&pm660_l11>; |
| 46 | }; |
| 47 | |
| 48 | &ext_smart_pa { |
| 49 | dvdd-supply = <&pm660_l11>; |
| 50 | }; |
| 51 | |
| 52 | &sdhc_2 { |
| 53 | cd-gpios = <&tlmm 67 0x1>; |
| 54 | }; |
| 55 | |
| 56 | &mdss_dsi { |
| 57 | vddio-supply = <&L12A>; /* 1.8v */ |
| 58 | }; |
| 59 | |
| 60 | &mdss_dsi0_pll { |
| 61 | vddio-supply = <&L12A>; /* 1.8V */ |
| 62 | }; |
| 63 | |
| 64 | &mdss_dsi1_pll { |
| 65 | vddio-supply = <&L12A>; /* 1.8V */ |
| 66 | }; |
| 67 | |
| 68 | &mdss_dsi0 { |
| 69 | qcom,platform-enable-gpio = <&pm660_gpios 12 0>; |
| 70 | /delete-property/ vdd-supply; |
| 71 | qcom,dsi-pref-prim-pan = <&dsi_truly_rm69090_qvga_cmd>; |
| 72 | }; |
| 73 | &dsi_pm660_panel_pwr_supply { |
| 74 | /delete-node/ qcom,panel-supply-entry@0; |
| 75 | }; |
| 76 | |
| 77 | &pm660_gpios { |
| 78 | gpio@cb00 { |
| 79 | status = "ok"; |
| 80 | qcom,mode = <1>; |
| 81 | qcom,vin-sel = <0>; |
| 82 | qcom,src-sel = <0>; |
| 83 | qcom,master-en = <1>; |
| 84 | qcom,out-strength = <2>; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | &i2c_4 { |
| 89 | status = "ok"; |
| 90 | |
| 91 | tsc@24 { |
| 92 | cy,core { |
| 93 | cy,mt { |
| 94 | cy,name = "cyttsp5_mt"; |
| 95 | |
| 96 | cy,inp_dev_name = "cyttsp5_mt"; |
| 97 | cy,flags = <0x8>; |
| 98 | cy,abs = |
| 99 | <0x35 0 368 0 0 |
| 100 | 0x36 0 448 0 0 |
| 101 | 0x3a 0 255 0 0 |
| 102 | 0xffff 0 255 0 0 |
| 103 | 0x39 0 15 0 0 |
| 104 | 0x30 0 255 0 0 |
| 105 | 0x31 0 255 0 0 |
| 106 | 0x34 0xffffff81 127 0 0 |
| 107 | 0x37 0 1 0 0 |
| 108 | 0x3b 0 255 0 0>; |
| 109 | |
| 110 | }; |
| 111 | |
| 112 | }; |
| 113 | }; |
| 114 | |
| 115 | }; |
| 116 | |
| 117 | &firmware { |
| 118 | android { |
| 119 | fstab { |
| 120 | system { |
| 121 | status = "disabled"; |
| 122 | }; |
| 123 | }; |
| 124 | }; |
| 125 | }; |