1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Google CoachZ board device tree source
4 *
5 * Copyright 2020 Google LLC.
6 */
7
8/dts-v1/;
9
10#include "sc7180-trogdor-coachz.dtsi"
11
12/ {
13	model = "Google CoachZ (rev1 - 2)";
14	compatible = "google,coachz-rev1", "google,coachz-rev2", "qcom,sc7180";
15};
16
17/*
18 * CoachZ rev1 is stuffed with a 47k NTC as charger thermistor which currently
19 * is not supported by the PM6150 ADC driver. Disable the charger thermal zone
20 * to avoid using bogus temperature values.
21 */
22&charger_thermal {
23	status = "disabled";
24};
25
26/*
27 * CoachZ rev1 is stuffed with a 47k NTC as thermistor for skin temperature,
28 * which currently is not supported by the PM6150 ADC driver. Disable the
29 * skin temperature thermal zone to avoid using bogus temperature values.
30 */
31&skin_temp_thermal {
32	status = "disabled";
33};
34
35&tlmm {
36	gpio-line-names = "HUB_RST_L",
37			  "AP_RAM_ID0",
38			  "AP_SKU_ID2",
39			  "AP_RAM_ID1",
40			  "FP_TO_AP_IRQ_L",
41			  "AP_RAM_ID2",
42			  "UF_CAM_EN",
43			  "WF_CAM_EN",
44			  "TS_RESET_L",
45			  "TS_INT_L",
46			  "FPMCU_BOOT0",
47			  "EDP_BRIJ_IRQ",
48			  "AP_EDP_BKLTEN",
49			  "UF_CAM_MCLK",
50			  "WF_CAM_CLK",
51			  "EDP_BRIJ_I2C_SDA",
52			  "EDP_BRIJ_I2C_SCL",
53			  "UF_CAM_SDA",
54			  "UF_CAM_SCL",
55			  "WF_CAM_SDA",
56			  "WF_CAM_SCL",
57			  "WLC_IRQ",
58			  "FP_RST_L",
59			  "AMP_EN",
60			  "WLC_NRST",
61			  "AP_SAR_SENSOR_SDA",
62			  "AP_SAR_SENSOR_SCL",
63			  "",
64			  "",
65			  "WF_CAM_RST_L",
66			  "UF_CAM_RST_L",
67			  "AP_BRD_ID2",
68			  "BRIJ_SUSPEND",
69			  "AP_BRD_ID0",
70			  "AP_H1_SPI_MISO",
71			  "AP_H1_SPI_MOSI",
72			  "AP_H1_SPI_CLK",
73			  "AP_H1_SPI_CS_L",
74			  "",
75			  "",
76			  "",
77			  "",
78			  "H1_AP_INT_ODL",
79			  "",
80			  "UART_AP_TX_DBG_RX",
81			  "UART_DBG_TX_AP_RX",
82			  "",
83			  "",
84			  "FORCED_USB_BOOT",
85			  "AMP_BCLK",
86			  "AMP_LRCLK",
87			  "AMP_DIN",
88			  "EN_PP3300_DX_EDP",
89			  "HP_BCLK",
90			  "HP_LRCLK",
91			  "HP_DOUT",
92			  "HP_DIN",
93			  "HP_MCLK",
94			  "AP_SKU_ID0",
95			  "AP_EC_SPI_MISO",
96			  "AP_EC_SPI_MOSI",
97			  "AP_EC_SPI_CLK",
98			  "AP_EC_SPI_CS_L",
99			  "AP_SPI_CLK",
100			  "AP_SPI_MOSI",
101			  "AP_SPI_MISO",
102			  /*
103			   * AP_FLASH_WP_L is crossystem ABI. Schematics
104			   * call it BIOS_FLASH_WP_L.
105			   */
106			  "AP_FLASH_WP_L",
107			  "",
108			  "AP_SPI_CS0_L",
109			  "SD_CD_ODL",
110			  "",
111			  "",
112			  "",
113			  "",
114			  "FPMCU_SEL",
115			  "UIM2_DATA",
116			  "UIM2_CLK",
117			  "UIM2_RST",
118			  "UIM2_PRESENT_L",
119			  "UIM1_DATA",
120			  "UIM1_CLK",
121			  "UIM1_RST",
122			  "",
123			  "DMIC_CLK_EN",
124			  "HUB_EN",
125			  "",
126			  "AP_SPI_FP_MISO",
127			  "AP_SPI_FP_MOSI",
128			  "AP_SPI_FP_CLK",
129			  "AP_SPI_FP_CS_L",
130			  "AP_SKU_ID1",
131			  "AP_RST_REQ",
132			  "",
133			  "AP_BRD_ID1",
134			  "AP_EC_INT_L",
135			  "",
136			  "",
137			  "",
138			  "",
139			  "",
140			  "",
141			  "",
142			  "",
143			  "",
144			  "EDP_BRIJ_EN",
145			  "",
146			  "",
147			  "",
148			  "",
149			  "",
150			  "",
151			  "",
152			  "",
153			  "",
154			  "",
155			  "AP_TS_PEN_I2C_SDA",
156			  "AP_TS_PEN_I2C_SCL",
157			  "DP_HOT_PLUG_DET",
158			  "EC_IN_RW_ODL";
159};
160