17ec3e673SRob Clark// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 27ec3e673SRob Clark/* 37ec3e673SRob Clark * Google Trogdor board device tree source 47ec3e673SRob Clark * 57ec3e673SRob Clark * Copyright 2020 Google LLC. 67ec3e673SRob Clark */ 77ec3e673SRob Clark 87ec3e673SRob Clark/dts-v1/; 97ec3e673SRob Clark 107ec3e673SRob Clark#include "sc7180-trogdor.dtsi" 11a10b760bSStephen Boyd/* Must come after sc7180-trogdor.dtsi to modify cros_ec */ 12a10b760bSStephen Boyd#include <arm/cros-ec-keyboard.dtsi> 134537977aSPhilip Chen#include "sc7180-trogdor-ti-sn65dsi86.dtsi" 147ec3e673SRob Clark 157ec3e673SRob Clark/ { 167ec3e673SRob Clark model = "Google Trogdor (rev1+)"; 177ec3e673SRob Clark compatible = "google,trogdor", "qcom,sc7180"; 187ec3e673SRob Clark}; 197ec3e673SRob Clark 2051d30402SStephen Boyd&ap_tp_i2c { 2151d30402SStephen Boyd status = "okay"; 2251d30402SStephen Boyd}; 2351d30402SStephen Boyd 247ec3e673SRob Clarkap_ts_pen_1v8: &i2c4 { 257ec3e673SRob Clark status = "okay"; 267ec3e673SRob Clark clock-frequency = <400000>; 277ec3e673SRob Clark 287ec3e673SRob Clark ap_ts: touchscreen@10 { 297ec3e673SRob Clark compatible = "elan,ekth3500"; 307ec3e673SRob Clark reg = <0x10>; 317ec3e673SRob Clark pinctrl-names = "default"; 327ec3e673SRob Clark pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; 337ec3e673SRob Clark 347ec3e673SRob Clark interrupt-parent = <&tlmm>; 357ec3e673SRob Clark interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 367ec3e673SRob Clark 377ec3e673SRob Clark vcc33-supply = <&pp3300_ts>; 387ec3e673SRob Clark 397ec3e673SRob Clark reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; 407ec3e673SRob Clark }; 417ec3e673SRob Clark}; 427ec3e673SRob Clark 43f415e0f5SDouglas Anderson&panel { 44f415e0f5SDouglas Anderson compatible = "auo,b116xa01"; 45f415e0f5SDouglas Anderson}; 46f415e0f5SDouglas Anderson 477ec3e673SRob Clark&sdhc_2 { 487ec3e673SRob Clark status = "okay"; 497ec3e673SRob Clark}; 507ec3e673SRob Clark 51ce250024SDouglas Anderson&trackpad { 52ce250024SDouglas Anderson interrupts = <58 IRQ_TYPE_EDGE_FALLING>; 53ce250024SDouglas Anderson}; 54ce250024SDouglas Anderson 55*a73dd03bSMatthias Kaehlcke&usb_hub_2_x { 56*a73dd03bSMatthias Kaehlcke vdd-supply = <&pp3300_l7c>; 57*a73dd03bSMatthias Kaehlcke}; 58*a73dd03bSMatthias Kaehlcke 59*a73dd03bSMatthias Kaehlcke&usb_hub_3_x { 60*a73dd03bSMatthias Kaehlcke vdd-supply = <&pp3300_l7c>; 61*a73dd03bSMatthias Kaehlcke}; 62*a73dd03bSMatthias Kaehlcke 63ce250024SDouglas Anderson/* PINCTRL - modifications to sc7180-trogdor.dtsi */ 64ce250024SDouglas Anderson 65ce250024SDouglas Anderson&trackpad_int_1v8_odl { 66ce250024SDouglas Anderson pins = "gpio58"; 67ce250024SDouglas Anderson}; 68ce250024SDouglas Anderson 697ec3e673SRob Clark/* PINCTRL - board-specific pinctrl */ 707ec3e673SRob Clark 717ec3e673SRob Clark&tlmm { 727ec3e673SRob Clark gpio-line-names = "ESIM_MISO", 737ec3e673SRob Clark "ESIM_MOSI", 747ec3e673SRob Clark "ESIM_CLK", 757ec3e673SRob Clark "ESIM_CS_L", 767ec3e673SRob Clark "FP_TO_AP_IRQ_L", 777ec3e673SRob Clark "FP_RST_L", 787ec3e673SRob Clark "AP_TP_I2C_SDA", 797ec3e673SRob Clark "AP_TP_I2C_SCL", 807ec3e673SRob Clark "TS_RESET_L", 817ec3e673SRob Clark "TS_INT_L", 827ec3e673SRob Clark "FPMCU_BOOT0", 837ec3e673SRob Clark "EDP_BRIJ_IRQ", 847ec3e673SRob Clark "AP_EDP_BKLTEN", 857ec3e673SRob Clark "", 867ec3e673SRob Clark "", 877ec3e673SRob Clark "EDP_BRIJ_I2C_SDA", 887ec3e673SRob Clark "EDP_BRIJ_I2C_SCL", 897ec3e673SRob Clark "HUB_RST_L", 907ec3e673SRob Clark "PEN_RST_ODL", 917ec3e673SRob Clark "AP_RAM_ID1", 927ec3e673SRob Clark "AP_RAM_ID2", 937ec3e673SRob Clark "PEN_IRQ_L", 947ec3e673SRob Clark "FPMCU_SEL", 957ec3e673SRob Clark "AMP_EN", 967ec3e673SRob Clark "P_SENSOR_INT_L", 977ec3e673SRob Clark "AP_SAR_SENSOR_SDA", 987ec3e673SRob Clark "AP_SAR_SENSOR_SCL", 997ec3e673SRob Clark "", 1007ec3e673SRob Clark "HP_IRQ", 1017ec3e673SRob Clark "AP_RAM_ID0", 1027ec3e673SRob Clark "EN_PP3300_DX_EDP", 1037ec3e673SRob Clark "AP_BRD_ID2", 1047ec3e673SRob Clark "BRIJ_SUSPEND", 1057ec3e673SRob Clark "AP_BRD_ID0", 1067ec3e673SRob Clark "AP_H1_SPI_MISO", 1077ec3e673SRob Clark "AP_H1_SPI_MOSI", 1087ec3e673SRob Clark "AP_H1_SPI_CLK", 1097ec3e673SRob Clark "AP_H1_SPI_CS_L", 1107ec3e673SRob Clark "", 1117ec3e673SRob Clark "", 1127ec3e673SRob Clark "", 1137ec3e673SRob Clark "", 1147ec3e673SRob Clark "H1_AP_INT_ODL", 1157ec3e673SRob Clark "", 1167ec3e673SRob Clark "UART_AP_TX_DBG_RX", 1177ec3e673SRob Clark "UART_DBG_TX_AP_RX", 1187ec3e673SRob Clark "HP_I2C_SDA", 1197ec3e673SRob Clark "HP_I2C_SCL", 1207ec3e673SRob Clark "FORCED_USB_BOOT", 1217ec3e673SRob Clark "", 1227ec3e673SRob Clark "", 1237ec3e673SRob Clark "AMP_DIN", 1247ec3e673SRob Clark "PEN_PDCT_L", 1257ec3e673SRob Clark "HP_BCLK", 1267ec3e673SRob Clark "HP_LRCLK", 1277ec3e673SRob Clark "HP_DOUT", 1287ec3e673SRob Clark "HP_DIN", 1297ec3e673SRob Clark "HP_MCLK", 1307ec3e673SRob Clark "TRACKPAD_INT_1V8_ODL", 1317ec3e673SRob Clark "AP_EC_SPI_MISO", 1327ec3e673SRob Clark "AP_EC_SPI_MOSI", 1337ec3e673SRob Clark "AP_EC_SPI_CLK", 1347ec3e673SRob Clark "AP_EC_SPI_CS_L", 1357ec3e673SRob Clark "AP_SPI_CLK", 1367ec3e673SRob Clark "AP_SPI_MOSI", 1377ec3e673SRob Clark "AP_SPI_MISO", 1387ec3e673SRob Clark /* 1397ec3e673SRob Clark * AP_FLASH_WP_L is crossystem ABI. Schematics 1407ec3e673SRob Clark * call it BIOS_FLASH_WP_L. 1417ec3e673SRob Clark */ 1427ec3e673SRob Clark "AP_FLASH_WP_L", 1437ec3e673SRob Clark "DBG_SPI_HOLD_L", 1447ec3e673SRob Clark "AP_SPI_CS0_L", 1457ec3e673SRob Clark "SD_CD_ODL", 1467ec3e673SRob Clark "", 1477ec3e673SRob Clark "", 1487ec3e673SRob Clark "", 1497ec3e673SRob Clark "", 1507ec3e673SRob Clark "", 1517ec3e673SRob Clark "UIM2_DATA", 1527ec3e673SRob Clark "UIM2_CLK", 1537ec3e673SRob Clark "UIM2_RST", 1547ec3e673SRob Clark "UIM2_PRESENT", 1557ec3e673SRob Clark "UIM1_DATA", 1567ec3e673SRob Clark "UIM1_CLK", 1577ec3e673SRob Clark "UIM1_RST", 1587ec3e673SRob Clark "", 1597ec3e673SRob Clark "EN_PP3300_CODEC", 1607ec3e673SRob Clark "EN_PP3300_HUB", 1617ec3e673SRob Clark "", 1627ec3e673SRob Clark "AP_SPI_FP_MISO", 1637ec3e673SRob Clark "AP_SPI_FP_MOSI", 1647ec3e673SRob Clark "AP_SPI_FP_CLK", 1657ec3e673SRob Clark "AP_SPI_FP_CS_L", 1667ec3e673SRob Clark "AP_SKU_ID1", 1677ec3e673SRob Clark "AP_RST_REQ", 1687ec3e673SRob Clark "", 1697ec3e673SRob Clark "AP_BRD_ID1", 1707ec3e673SRob Clark "AP_EC_INT_L", 1717ec3e673SRob Clark "", 1727ec3e673SRob Clark "", 1737ec3e673SRob Clark "", 1747ec3e673SRob Clark "", 1757ec3e673SRob Clark "", 1767ec3e673SRob Clark "", 1777ec3e673SRob Clark "", 1787ec3e673SRob Clark "", 1797ec3e673SRob Clark "", 1807ec3e673SRob Clark "EDP_BRIJ_EN", 1817ec3e673SRob Clark "AP_SKU_ID0", 1827ec3e673SRob Clark "", 1837ec3e673SRob Clark "", 1847ec3e673SRob Clark "", 1857ec3e673SRob Clark "", 1867ec3e673SRob Clark "", 1877ec3e673SRob Clark "", 1887ec3e673SRob Clark "", 1897ec3e673SRob Clark "", 1907ec3e673SRob Clark "", 1917ec3e673SRob Clark "AP_TS_PEN_I2C_SDA", 1927ec3e673SRob Clark "AP_TS_PEN_I2C_SCL", 1937ec3e673SRob Clark "DP_HOT_PLUG_DET", 1947ec3e673SRob Clark "EC_IN_RW_ODL"; 1957ec3e673SRob Clark}; 196