xref: /linux/arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Google Trogdor board device tree source
4 *
5 * Copyright 2020 Google LLC.
6 */
7
8/dts-v1/;
9
10#include "sc7180.dtsi"
11
12ap_ec_spi: &spi6 {};
13ap_h1_spi: &spi0 {};
14
15#include "sc7180-trogdor.dtsi"
16
17/ {
18	model = "Google Trogdor (rev1+)";
19	compatible = "google,trogdor", "qcom,sc7180";
20
21	panel: panel {
22		compatible = "auo,b116xa01";
23		power-supply = <&pp3300_dx_edp>;
24		backlight = <&backlight>;
25		hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;
26
27		ports {
28			port {
29				panel_in_edp: endpoint {
30					remote-endpoint = <&sn65dsi86_out>;
31				};
32			};
33		};
34	};
35};
36
37ap_ts_pen_1v8: &i2c4 {
38	status = "okay";
39	clock-frequency = <400000>;
40
41	ap_ts: touchscreen@10 {
42		compatible = "elan,ekth3500";
43		reg = <0x10>;
44		pinctrl-names = "default";
45		pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
46
47		interrupt-parent = <&tlmm>;
48		interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
49
50		vcc33-supply = <&pp3300_ts>;
51
52		reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
53	};
54};
55
56&pp3300_hub {
57	/* pp3300_l7c is used to power the USB hub */
58	/delete-property/regulator-always-on;
59	/delete-property/regulator-boot-on;
60};
61
62&pp3300_l7c {
63	regulator-always-on;
64	regulator-boot-on;
65};
66
67&sdhc_2 {
68	status = "okay";
69};
70
71/* PINCTRL - board-specific pinctrl */
72
73&tlmm {
74	gpio-line-names = "ESIM_MISO",
75			  "ESIM_MOSI",
76			  "ESIM_CLK",
77			  "ESIM_CS_L",
78			  "FP_TO_AP_IRQ_L",
79			  "FP_RST_L",
80			  "AP_TP_I2C_SDA",
81			  "AP_TP_I2C_SCL",
82			  "TS_RESET_L",
83			  "TS_INT_L",
84			  "FPMCU_BOOT0",
85			  "EDP_BRIJ_IRQ",
86			  "AP_EDP_BKLTEN",
87			  "",
88			  "",
89			  "EDP_BRIJ_I2C_SDA",
90			  "EDP_BRIJ_I2C_SCL",
91			  "HUB_RST_L",
92			  "PEN_RST_ODL",
93			  "AP_RAM_ID1",
94			  "AP_RAM_ID2",
95			  "PEN_IRQ_L",
96			  "FPMCU_SEL",
97			  "AMP_EN",
98			  "P_SENSOR_INT_L",
99			  "AP_SAR_SENSOR_SDA",
100			  "AP_SAR_SENSOR_SCL",
101			  "",
102			  "HP_IRQ",
103			  "AP_RAM_ID0",
104			  "EN_PP3300_DX_EDP",
105			  "AP_BRD_ID2",
106			  "BRIJ_SUSPEND",
107			  "AP_BRD_ID0",
108			  "AP_H1_SPI_MISO",
109			  "AP_H1_SPI_MOSI",
110			  "AP_H1_SPI_CLK",
111			  "AP_H1_SPI_CS_L",
112			  "",
113			  "",
114			  "",
115			  "",
116			  "H1_AP_INT_ODL",
117			  "",
118			  "UART_AP_TX_DBG_RX",
119			  "UART_DBG_TX_AP_RX",
120			  "HP_I2C_SDA",
121			  "HP_I2C_SCL",
122			  "FORCED_USB_BOOT",
123			  "",
124			  "",
125			  "AMP_DIN",
126			  "PEN_PDCT_L",
127			  "HP_BCLK",
128			  "HP_LRCLK",
129			  "HP_DOUT",
130			  "HP_DIN",
131			  "HP_MCLK",
132			  "TRACKPAD_INT_1V8_ODL",
133			  "AP_EC_SPI_MISO",
134			  "AP_EC_SPI_MOSI",
135			  "AP_EC_SPI_CLK",
136			  "AP_EC_SPI_CS_L",
137			  "AP_SPI_CLK",
138			  "AP_SPI_MOSI",
139			  "AP_SPI_MISO",
140			  /*
141			   * AP_FLASH_WP_L is crossystem ABI. Schematics
142			   * call it BIOS_FLASH_WP_L.
143			   */
144			  "AP_FLASH_WP_L",
145			  "DBG_SPI_HOLD_L",
146			  "AP_SPI_CS0_L",
147			  "SD_CD_ODL",
148			  "",
149			  "",
150			  "",
151			  "",
152			  "",
153			  "UIM2_DATA",
154			  "UIM2_CLK",
155			  "UIM2_RST",
156			  "UIM2_PRESENT",
157			  "UIM1_DATA",
158			  "UIM1_CLK",
159			  "UIM1_RST",
160			  "",
161			  "EN_PP3300_CODEC",
162			  "EN_PP3300_HUB",
163			  "",
164			  "AP_SPI_FP_MISO",
165			  "AP_SPI_FP_MOSI",
166			  "AP_SPI_FP_CLK",
167			  "AP_SPI_FP_CS_L",
168			  "AP_SKU_ID1",
169			  "AP_RST_REQ",
170			  "",
171			  "AP_BRD_ID1",
172			  "AP_EC_INT_L",
173			  "",
174			  "",
175			  "",
176			  "",
177			  "",
178			  "",
179			  "",
180			  "",
181			  "",
182			  "EDP_BRIJ_EN",
183			  "AP_SKU_ID0",
184			  "",
185			  "",
186			  "",
187			  "",
188			  "",
189			  "",
190			  "",
191			  "",
192			  "",
193			  "AP_TS_PEN_I2C_SDA",
194			  "AP_TS_PEN_I2C_SCL",
195			  "DP_HOT_PLUG_DET",
196			  "EC_IN_RW_ODL";
197};
198