Swetha Chikkaboraiah | da05f3b | 2018-05-09 11:14:36 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. |
| 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 | |
| 16 | #include "apq8017.dtsi" |
| 17 | #include "msm8917-cdp.dtsi" |
| 18 | #include "msm8917-pmi8937.dtsi" |
| 19 | #include "apq8017-rome.dtsi" |
| 20 | #include "apq8017-audio.dtsi" |
| 21 | |
| 22 | / { |
| 23 | model = "Qualcomm Technologies, Inc. APQ8017-PMI8937 CDP \ |
| 24 | with WCD codec/Rome card"; |
| 25 | compatible = "qcom,apq8017-cdp", "qcom,apq8017", "qcom,cdp"; |
| 26 | qcom,board-id= <1 2>; |
| 27 | qcom,pmic-id = <0x10019 0x020037 0x0 0x0>; |
| 28 | }; |
| 29 | |
| 30 | &blsp1_uart1 { |
| 31 | status = "ok"; |
| 32 | }; |
| 33 | |
| 34 | &sdhc_2 { |
| 35 | /* device core power supply */ |
| 36 | /delete-property/vdd-supply; |
| 37 | /delete-property/qcom,vdd-voltage-level; |
| 38 | /delete-property/qcom,vdd-current-level; |
| 39 | |
| 40 | /* device communication power supply */ |
| 41 | vdd-io-supply = <&pm8937_l5>; |
| 42 | qcom,vdd-io-always-on; |
| 43 | qcom,vdd-io-voltage-level = <1800000 1800000>; |
| 44 | qcom,vdd-io-current-level = <200 325000>; |
| 45 | |
| 46 | qcom,core_3_0v_support; |
| 47 | qcom,nonremovable; |
| 48 | |
| 49 | pinctrl-names = "active", "sleep"; |
| 50 | pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on |
| 51 | &sdc2_wlan_gpio_active>; |
| 52 | pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off |
| 53 | &sdc2_wlan_gpio_sleep>; |
| 54 | |
| 55 | #address-cells = <0>; |
| 56 | interrupt-parent = <&sdhc_2>; |
| 57 | interrupts = <0 1 2>; |
| 58 | #interrupt-cells = <1>; |
| 59 | interrupt-map-mask = <0xffffffff>; |
| 60 | interrupt-map = <0 &intc 0 125 0 |
| 61 | 1 &intc 0 221 0 |
| 62 | 2 &tlmm 124 0x4>; |
| 63 | interrupt-names = "hc_irq", "pwr_irq", "sdiowakeup_irq"; |
| 64 | |
| 65 | /delete-property/cd-gpios; |
| 66 | /delete-property/qcom,devfreq,freq-table; |
| 67 | |
| 68 | status = "ok"; |
| 69 | |
| 70 | }; |
| 71 | |
| 72 | &mdss_fb0 { |
| 73 | /delete-node/ qcom,cont-splash-memory; |
| 74 | }; |
| 75 | |
| 76 | /delete-node/ &cont_splash_mem; |
| 77 | |
| 78 | &soc { |
| 79 | gpio_keys { |
| 80 | /delete-node/ home; |
| 81 | }; |
| 82 | }; |
| 83 | |
| 84 | &modem_mem { |
| 85 | reg = <0x0 0x86800000 0x0 0x1500000>; |
| 86 | }; |
| 87 | |
| 88 | &adsp_fw_mem { |
| 89 | reg = <0x0 0x87d00000 0x0 0x1100000>; |
| 90 | }; |
| 91 | |
| 92 | &wcnss_fw_mem { |
| 93 | reg = <0x0 0x88e00000 0x0 0x700000>; |
| 94 | }; |
| 95 | |
| 96 | &secure_mem { |
| 97 | status = "disabled"; |
| 98 | }; |