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" 11*a10b760bSStephen Boyd/* Must come after sc7180-trogdor.dtsi to modify cros_ec */ 12*a10b760bSStephen 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 47066c2a94SMatthias Kaehlcke&pp3300_hub { 48066c2a94SMatthias Kaehlcke /* pp3300_l7c is used to power the USB hub */ 49066c2a94SMatthias Kaehlcke /delete-property/regulator-always-on; 50066c2a94SMatthias Kaehlcke /delete-property/regulator-boot-on; 51066c2a94SMatthias Kaehlcke}; 52066c2a94SMatthias Kaehlcke 53066c2a94SMatthias Kaehlcke&pp3300_l7c { 54066c2a94SMatthias Kaehlcke regulator-always-on; 55066c2a94SMatthias Kaehlcke regulator-boot-on; 56066c2a94SMatthias Kaehlcke}; 57066c2a94SMatthias Kaehlcke 587ec3e673SRob Clark&sdhc_2 { 597ec3e673SRob Clark status = "okay"; 607ec3e673SRob Clark}; 617ec3e673SRob Clark 62ce250024SDouglas Anderson&trackpad { 63ce250024SDouglas Anderson interrupts = <58 IRQ_TYPE_EDGE_FALLING>; 64ce250024SDouglas Anderson}; 65ce250024SDouglas Anderson 66ce250024SDouglas Anderson/* PINCTRL - modifications to sc7180-trogdor.dtsi */ 67ce250024SDouglas Anderson 68ce250024SDouglas Anderson&trackpad_int_1v8_odl { 69ce250024SDouglas Anderson pinmux { 70ce250024SDouglas Anderson pins = "gpio58"; 71ce250024SDouglas Anderson }; 72ce250024SDouglas Anderson 73ce250024SDouglas Anderson pinconf { 74ce250024SDouglas Anderson pins = "gpio58"; 75ce250024SDouglas Anderson }; 76ce250024SDouglas Anderson}; 77ce250024SDouglas Anderson 787ec3e673SRob Clark/* PINCTRL - board-specific pinctrl */ 797ec3e673SRob Clark 807ec3e673SRob Clark&tlmm { 817ec3e673SRob Clark gpio-line-names = "ESIM_MISO", 827ec3e673SRob Clark "ESIM_MOSI", 837ec3e673SRob Clark "ESIM_CLK", 847ec3e673SRob Clark "ESIM_CS_L", 857ec3e673SRob Clark "FP_TO_AP_IRQ_L", 867ec3e673SRob Clark "FP_RST_L", 877ec3e673SRob Clark "AP_TP_I2C_SDA", 887ec3e673SRob Clark "AP_TP_I2C_SCL", 897ec3e673SRob Clark "TS_RESET_L", 907ec3e673SRob Clark "TS_INT_L", 917ec3e673SRob Clark "FPMCU_BOOT0", 927ec3e673SRob Clark "EDP_BRIJ_IRQ", 937ec3e673SRob Clark "AP_EDP_BKLTEN", 947ec3e673SRob Clark "", 957ec3e673SRob Clark "", 967ec3e673SRob Clark "EDP_BRIJ_I2C_SDA", 977ec3e673SRob Clark "EDP_BRIJ_I2C_SCL", 987ec3e673SRob Clark "HUB_RST_L", 997ec3e673SRob Clark "PEN_RST_ODL", 1007ec3e673SRob Clark "AP_RAM_ID1", 1017ec3e673SRob Clark "AP_RAM_ID2", 1027ec3e673SRob Clark "PEN_IRQ_L", 1037ec3e673SRob Clark "FPMCU_SEL", 1047ec3e673SRob Clark "AMP_EN", 1057ec3e673SRob Clark "P_SENSOR_INT_L", 1067ec3e673SRob Clark "AP_SAR_SENSOR_SDA", 1077ec3e673SRob Clark "AP_SAR_SENSOR_SCL", 1087ec3e673SRob Clark "", 1097ec3e673SRob Clark "HP_IRQ", 1107ec3e673SRob Clark "AP_RAM_ID0", 1117ec3e673SRob Clark "EN_PP3300_DX_EDP", 1127ec3e673SRob Clark "AP_BRD_ID2", 1137ec3e673SRob Clark "BRIJ_SUSPEND", 1147ec3e673SRob Clark "AP_BRD_ID0", 1157ec3e673SRob Clark "AP_H1_SPI_MISO", 1167ec3e673SRob Clark "AP_H1_SPI_MOSI", 1177ec3e673SRob Clark "AP_H1_SPI_CLK", 1187ec3e673SRob Clark "AP_H1_SPI_CS_L", 1197ec3e673SRob Clark "", 1207ec3e673SRob Clark "", 1217ec3e673SRob Clark "", 1227ec3e673SRob Clark "", 1237ec3e673SRob Clark "H1_AP_INT_ODL", 1247ec3e673SRob Clark "", 1257ec3e673SRob Clark "UART_AP_TX_DBG_RX", 1267ec3e673SRob Clark "UART_DBG_TX_AP_RX", 1277ec3e673SRob Clark "HP_I2C_SDA", 1287ec3e673SRob Clark "HP_I2C_SCL", 1297ec3e673SRob Clark "FORCED_USB_BOOT", 1307ec3e673SRob Clark "", 1317ec3e673SRob Clark "", 1327ec3e673SRob Clark "AMP_DIN", 1337ec3e673SRob Clark "PEN_PDCT_L", 1347ec3e673SRob Clark "HP_BCLK", 1357ec3e673SRob Clark "HP_LRCLK", 1367ec3e673SRob Clark "HP_DOUT", 1377ec3e673SRob Clark "HP_DIN", 1387ec3e673SRob Clark "HP_MCLK", 1397ec3e673SRob Clark "TRACKPAD_INT_1V8_ODL", 1407ec3e673SRob Clark "AP_EC_SPI_MISO", 1417ec3e673SRob Clark "AP_EC_SPI_MOSI", 1427ec3e673SRob Clark "AP_EC_SPI_CLK", 1437ec3e673SRob Clark "AP_EC_SPI_CS_L", 1447ec3e673SRob Clark "AP_SPI_CLK", 1457ec3e673SRob Clark "AP_SPI_MOSI", 1467ec3e673SRob Clark "AP_SPI_MISO", 1477ec3e673SRob Clark /* 1487ec3e673SRob Clark * AP_FLASH_WP_L is crossystem ABI. Schematics 1497ec3e673SRob Clark * call it BIOS_FLASH_WP_L. 1507ec3e673SRob Clark */ 1517ec3e673SRob Clark "AP_FLASH_WP_L", 1527ec3e673SRob Clark "DBG_SPI_HOLD_L", 1537ec3e673SRob Clark "AP_SPI_CS0_L", 1547ec3e673SRob Clark "SD_CD_ODL", 1557ec3e673SRob Clark "", 1567ec3e673SRob Clark "", 1577ec3e673SRob Clark "", 1587ec3e673SRob Clark "", 1597ec3e673SRob Clark "", 1607ec3e673SRob Clark "UIM2_DATA", 1617ec3e673SRob Clark "UIM2_CLK", 1627ec3e673SRob Clark "UIM2_RST", 1637ec3e673SRob Clark "UIM2_PRESENT", 1647ec3e673SRob Clark "UIM1_DATA", 1657ec3e673SRob Clark "UIM1_CLK", 1667ec3e673SRob Clark "UIM1_RST", 1677ec3e673SRob Clark "", 1687ec3e673SRob Clark "EN_PP3300_CODEC", 1697ec3e673SRob Clark "EN_PP3300_HUB", 1707ec3e673SRob Clark "", 1717ec3e673SRob Clark "AP_SPI_FP_MISO", 1727ec3e673SRob Clark "AP_SPI_FP_MOSI", 1737ec3e673SRob Clark "AP_SPI_FP_CLK", 1747ec3e673SRob Clark "AP_SPI_FP_CS_L", 1757ec3e673SRob Clark "AP_SKU_ID1", 1767ec3e673SRob Clark "AP_RST_REQ", 1777ec3e673SRob Clark "", 1787ec3e673SRob Clark "AP_BRD_ID1", 1797ec3e673SRob Clark "AP_EC_INT_L", 1807ec3e673SRob Clark "", 1817ec3e673SRob Clark "", 1827ec3e673SRob Clark "", 1837ec3e673SRob Clark "", 1847ec3e673SRob Clark "", 1857ec3e673SRob Clark "", 1867ec3e673SRob Clark "", 1877ec3e673SRob Clark "", 1887ec3e673SRob Clark "", 1897ec3e673SRob Clark "EDP_BRIJ_EN", 1907ec3e673SRob Clark "AP_SKU_ID0", 1917ec3e673SRob Clark "", 1927ec3e673SRob Clark "", 1937ec3e673SRob Clark "", 1947ec3e673SRob Clark "", 1957ec3e673SRob Clark "", 1967ec3e673SRob Clark "", 1977ec3e673SRob Clark "", 1987ec3e673SRob Clark "", 1997ec3e673SRob Clark "", 2007ec3e673SRob Clark "AP_TS_PEN_I2C_SDA", 2017ec3e673SRob Clark "AP_TS_PEN_I2C_SCL", 2027ec3e673SRob Clark "DP_HOT_PLUG_DET", 2037ec3e673SRob Clark "EC_IN_RW_ODL"; 2047ec3e673SRob Clark}; 205