OSDN Git Service

Merge "ARM: dts: msm: clean up display device tree for MSM8996"
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / arch / arm / boot / dts / qcom / apq8096pro-v1.1-auto-adp.dts
1 /* Copyright (c) 2015-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
15 #include <dt-bindings/gpio/gpio.h>
16 #include "apq8096pro-v1.1.dtsi"
17 #include "msm8996-pm8994.dtsi"
18 #include "msm8996-agave-adp.dtsi"
19 #include "msm8996pro-auto.dtsi"
20
21 / {
22         model = "Qualcomm Technologies, Inc. MSM 8996pro AUTO ADP";
23         compatible = "qcom,apq8096-adp", "qcom,msm8996", "qcom,adp";
24         qcom,msm-id = <316 0x10001>;
25         qcom,board-id = <0x02010019 0>, <0x00010001 0>;
26 };
27
28 &spi_9 {
29         status = "ok";
30         can-controller@0 {
31                 compatible = "renesas,rh850";
32                 reg = <0>;
33                 interrupt-parent = <&tlmm>;
34                 interrupts = <122 0>;
35                 spi-max-frequency = <5000000>;
36         };
37 };
38
39 &soc {
40         qcom,msm-ssc-sensors {
41                 status = "disabled";
42         };
43
44         qcom,msm-thermal {
45                 qcom,hotplug-temp = <115>;
46                 qcom,hotplug-temp-hysteresis = <25>;
47                 qcom,therm-reset-temp = <119>;
48         };
49
50         qcom,adv7481@70 {
51                 qcom,cam-vreg-min-voltage = <1300000 0 1800000>;
52                 qcom,cam-vreg-max-voltage = <1300000 0 1800000>;
53         };
54 };
55
56 &pil_modem {
57         pinctrl-names = "default";
58         pinctrl-0 = <&modem_mux>;
59 };
60
61 &slim_msm {
62         status = "disabled";
63 };
64
65 &pm8994_mpps {
66         mpp@a500 { /* MPP 6 */
67                 qcom,mode = <1>;                /* Digital output */
68                 qcom,output-type = <0>;         /* CMOS logic */
69                 qcom,vin-sel = <2>;             /* S4 1.8V */
70                 qcom,src-sel = <0>;             /* Constant */
71                 qcom,master-en = <1>;           /* Enable GPIO */
72                 status = "okay";
73         };
74 };
75
76 &sdhc_2 {
77         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
78         pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on_sbc>;
79         pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off
80                         &sdc2_cd_on_sbc>;
81 };
82
83 &i2c_7 {
84         silabs4705@11 { /* SiLabs FM chip, slave id 0x11*/
85                 status = "disabled";
86         };
87 };
88
89 &modem_mem {
90         status = "disabled";
91 };