Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 1 | /* |
Venkata Prahlad Valluru | 5cc52bd | 2019-12-31 15:10:20 +0530 | [diff] [blame] | 2 | * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +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/; |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 15 | /plugin/; |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 16 | |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 17 | #include "sdm429-spyro-qrd-evt.dtsi" |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 18 | |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 19 | / { |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 20 | model = "Qualcomm Technologies, Inc. SDA429 QRD BG WTP Overlay"; |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 21 | compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd"; |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 22 | qcom,msm-id = <437 0x0>; |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 23 | qcom,board-id = <0x00010b 8>; |
| 24 | qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>; |
| 25 | }; |
| 26 | |
Ajit Kumar | 21a3d415 | 2019-11-26 16:37:45 +0530 | [diff] [blame] | 27 | &soc { |
| 28 | |
| 29 | qcom,blackghost { |
| 30 | compatible = "qcom,pil-blackghost"; |
| 31 | qcom,pil-force-shutdown; |
| 32 | qcom,firmware-name = "bg-wear"; |
| 33 | /* GPIO inputs from blackghost */ |
Ajit Kumar | 7730893 | 2019-12-17 14:35:45 +0530 | [diff] [blame] | 34 | qcom,bg2ap-status-gpio = <&tlmm 44 0>; |
| 35 | qcom,bg2ap-errfatal-gpio = <&tlmm 72 0>; |
Ajit Kumar | 21a3d415 | 2019-11-26 16:37:45 +0530 | [diff] [blame] | 36 | /* GPIO output to blackghost */ |
Ajit Kumar | 7730893 | 2019-12-17 14:35:45 +0530 | [diff] [blame] | 37 | qcom,ap2bg-status-gpio = <&tlmm 61 0>; |
| 38 | qcom,ap2bg-errfatal-gpio = <&tlmm 62 0>; |
Ajit Kumar | 21a3d415 | 2019-11-26 16:37:45 +0530 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | qcom,msm-ssc-sensors { |
| 42 | compatible = "qcom,msm-ssc-sensors"; |
| 43 | }; |
| 44 | |
| 45 | qcom,glink-bgcom-xprt-bg { |
| 46 | compatible = "qcom,glink-bgcom-xprt"; |
| 47 | label = "bg"; |
| 48 | qcom,qos-config = <&glink_qos_bg>; |
| 49 | qcom,ramp-time = <0x10>, |
| 50 | <0x20>, |
| 51 | <0x30>, |
| 52 | <0x40>; |
| 53 | }; |
| 54 | |
| 55 | glink_qos_bg: qcom,glink-qos-config-bg { |
| 56 | compatible = "qcom,glink-qos-config"; |
| 57 | qcom,flow-info = <0x80 0x0>, |
| 58 | <0x70 0x1>, |
| 59 | <0x60 0x2>, |
| 60 | <0x50 0x3>; |
| 61 | qcom,mtu-size = <0x800>; |
| 62 | qcom,tput-stats-cycle = <0xa>; |
| 63 | }; |
| 64 | |
| 65 | qcom,glink_pkt { |
| 66 | compatible = "qcom,glinkpkt"; |
| 67 | |
| 68 | qcom,glinkpkt-bg-daemon { |
| 69 | qcom,glinkpkt-transport = "bgcom"; |
| 70 | qcom,glinkpkt-edge = "bg"; |
| 71 | qcom,glinkpkt-ch-name = "bg-daemon"; |
| 72 | qcom,glinkpkt-dev-name = "glink_pkt_bg_daemon"; |
| 73 | }; |
| 74 | |
| 75 | qcom,glinkpkt-bg-display-ctrl { |
| 76 | qcom,glinkpkt-transport = "bgcom"; |
| 77 | qcom,glinkpkt-edge = "bg"; |
| 78 | qcom,glinkpkt-ch-name = "display-ctrl"; |
| 79 | qcom,glinkpkt-dev-name = "glink_pkt_bg_display_ctrl"; |
| 80 | }; |
| 81 | |
| 82 | qcom,glinkpkt-bg-display-data { |
| 83 | qcom,glinkpkt-transport = "bgcom"; |
| 84 | qcom,glinkpkt-edge = "bg"; |
| 85 | qcom,glinkpkt-ch-name = "display-data"; |
| 86 | qcom,glinkpkt-dev-name = "glink_pkt_bg_display_data"; |
| 87 | }; |
| 88 | |
| 89 | qcom,glinkpkt-bg-rsb-ctrl { |
| 90 | qcom,glinkpkt-transport = "bgcom"; |
| 91 | qcom,glinkpkt-edge = "bg"; |
| 92 | qcom,glinkpkt-ch-name = "RSB_CTRL"; |
| 93 | qcom,glinkpkt-dev-name = "glink_pkt_bg_rsb_ctrl"; |
| 94 | }; |
| 95 | |
| 96 | qcom,glinkpkt-bg-sso-ctrl { |
| 97 | qcom,glinkpkt-transport = "bgcom"; |
| 98 | qcom,glinkpkt-edge = "bg"; |
| 99 | qcom,glinkpkt-ch-name = "sso-ctrl"; |
| 100 | qcom,glinkpkt-dev-name = "glink_pkt_bg_sso_ctrl"; |
| 101 | }; |
| 102 | |
| 103 | qcom,glinkpkt-bg-buzzer-ctrl { |
| 104 | qcom,glinkpkt-transport = "bgcom"; |
| 105 | qcom,glinkpkt-edge = "bg"; |
| 106 | qcom,glinkpkt-ch-name = "buzzer-ctrl"; |
| 107 | qcom,glinkpkt-dev-name = "glink_pkt_bg_buzzer_ctrl"; |
| 108 | }; |
| 109 | }; |
| 110 | |
Ajit Kumar | 7730893 | 2019-12-17 14:35:45 +0530 | [diff] [blame] | 111 | spi_3: spi@78b7000 { /* BLSP1 QUP3*/ |
Ajit Kumar | 21a3d415 | 2019-11-26 16:37:45 +0530 | [diff] [blame] | 112 | status = "ok"; |
| 113 | qcom,bg-spi { |
| 114 | compatible = "qcom,bg-spi"; |
| 115 | reg = <0>; |
| 116 | spi-max-frequency = <16000000>; |
Ajit Kumar | 7730893 | 2019-12-17 14:35:45 +0530 | [diff] [blame] | 117 | interrupt-parent = <&tlmm>; |
| 118 | qcom,irq-gpio = <&tlmm 43 1>; |
Ajit Kumar | 21a3d415 | 2019-11-26 16:37:45 +0530 | [diff] [blame] | 119 | }; |
| 120 | }; |
| 121 | |
Ajit Kumar | 7730893 | 2019-12-17 14:35:45 +0530 | [diff] [blame] | 122 | i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */ |
| 123 | status = "disabled"; |
| 124 | }; |
| 125 | |
Ajit Kumar | 21a3d415 | 2019-11-26 16:37:45 +0530 | [diff] [blame] | 126 | qcom,bg-rsb { |
| 127 | compatible = "qcom,bg-rsb"; |
| 128 | vdd-ldo1-supply = <&pm660_l11>; |
Chandrasekhar Mattaparthy | 5ae3bba | 2020-01-13 18:47:54 +0530 | [diff] [blame] | 129 | qcom,bg-rsb-gpio = <&tlmm 40 1>; |
| 130 | qcom,rsb-use-msm-gpio; |
Ajit Kumar | 21a3d415 | 2019-11-26 16:37:45 +0530 | [diff] [blame] | 131 | }; |
| 132 | |
| 133 | qcom,bg-daemon { |
| 134 | compatible = "qcom,bg-daemon"; |
| 135 | qcom,bg-reset-gpio = <&pm660_gpios 5 0>; |
| 136 | ssr-reg1-supply = <&pm660_l3>; |
| 137 | ssr-reg2-supply = <&pm660_l9>; |
| 138 | }; |
| 139 | }; |
| 140 | |
Venkata Prahlad Valluru | 5cc52bd | 2019-12-31 15:10:20 +0530 | [diff] [blame] | 141 | &mdss_dsi0 { |
| 142 | qcom,dsi-pref-prim-pan = <&dsi_auo_416p_amoled_cmd>; |
| 143 | /delete-property/ vdd-supply; |
| 144 | vddio-supply = <&L11A>; |
| 145 | qcom,platform-enable-gpio = <&pm660_gpios 12 0>; |
| 146 | }; |
| 147 | |
| 148 | &dsi_pm660_panel_pwr_supply { |
| 149 | /delete-node/ qcom,panel-supply-entry@0; |
| 150 | }; |
| 151 | |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 152 | &usb_otg { |
| 153 | HSUSB_3p3-supply = <&L16A>; |
| 154 | }; |
| 155 | |
| 156 | &msm_dig_codec { |
| 157 | cdc-vdd-digital-supply = <&pm660_l11>; |
| 158 | }; |
| 159 | |
| 160 | &ext_smart_pa { |
| 161 | dvdd-supply = <&pm660_l11>; |
| 162 | }; |
| 163 | |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 164 | &firmware { |
| 165 | android { |
| 166 | fstab { |
Avaneesh Kumar Dwivedi | 70212fe | 2019-11-05 15:03:19 +0530 | [diff] [blame] | 167 | system { |
| 168 | status = "disabled"; |
| 169 | }; |
Nagireddy Annem | ddcf98f | 2019-10-10 19:38:31 +0530 | [diff] [blame] | 170 | }; |
| 171 | }; |
| 172 | }; |