Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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-trogdor.dtsi" |
| 11 | /* Must come after sc7180-trogdor.dtsi to modify cros_ec */ |
| 12 | #include <arm/cros-ec-keyboard.dtsi> |
| 13 | #include "sc7180-trogdor-rt5682i-sku.dtsi" |
| 14 | #include "sc7180-trogdor-ti-sn65dsi86.dtsi" |
| 15 | |
| 16 | / { |
| 17 | model = "Google Trogdor (rev1+)"; |
| 18 | compatible = "google,trogdor", "qcom,sc7180"; |
| 19 | }; |
| 20 | |
| 21 | &ap_tp_i2c { |
| 22 | status = "okay"; |
| 23 | }; |
| 24 | |
| 25 | ap_ts_pen_1v8: &i2c4 { |
| 26 | status = "okay"; |
| 27 | clock-frequency = <400000>; |
| 28 | |
| 29 | ap_ts: touchscreen@10 { |
| 30 | compatible = "elan,ekth3500"; |
| 31 | reg = <0x10>; |
| 32 | pinctrl-names = "default"; |
| 33 | pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; |
| 34 | |
| 35 | interrupt-parent = <&tlmm>; |
| 36 | interrupts = <9 IRQ_TYPE_LEVEL_LOW>; |
| 37 | |
| 38 | vcc33-supply = <&pp3300_ts>; |
| 39 | |
| 40 | reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | &panel { |
| 45 | compatible = "auo,b116xa01"; |
| 46 | }; |
| 47 | |
| 48 | &sdhc_2 { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &trackpad { |
| 53 | interrupts = <58 IRQ_TYPE_EDGE_FALLING>; |
| 54 | }; |
| 55 | |
| 56 | &usb_hub_2_x { |
| 57 | vdd-supply = <&pp3300_l7c>; |
| 58 | }; |
| 59 | |
| 60 | &usb_hub_3_x { |
| 61 | vdd-supply = <&pp3300_l7c>; |
| 62 | }; |
| 63 | |
| 64 | /* PINCTRL - modifications to sc7180-trogdor.dtsi */ |
| 65 | |
| 66 | &trackpad_int_1v8_odl { |
| 67 | pins = "gpio58"; |
| 68 | }; |
| 69 | |
| 70 | /* PINCTRL - board-specific pinctrl */ |
| 71 | |
| 72 | &tlmm { |
| 73 | gpio-line-names = "ESIM_MISO", |
| 74 | "ESIM_MOSI", |
| 75 | "ESIM_CLK", |
| 76 | "ESIM_CS_L", |
| 77 | "FP_TO_AP_IRQ_L", |
| 78 | "FP_RST_L", |
| 79 | "AP_TP_I2C_SDA", |
| 80 | "AP_TP_I2C_SCL", |
| 81 | "TS_RESET_L", |
| 82 | "TS_INT_L", |
| 83 | "FPMCU_BOOT0", |
| 84 | "EDP_BRIJ_IRQ", |
| 85 | "AP_EDP_BKLTEN", |
| 86 | "", |
| 87 | "", |
| 88 | "EDP_BRIJ_I2C_SDA", |
| 89 | "EDP_BRIJ_I2C_SCL", |
| 90 | "HUB_RST_L", |
| 91 | "PEN_RST_ODL", |
| 92 | "AP_RAM_ID1", |
| 93 | "AP_RAM_ID2", |
| 94 | "PEN_IRQ_L", |
| 95 | "FPMCU_SEL", |
| 96 | "AMP_EN", |
| 97 | "P_SENSOR_INT_L", |
| 98 | "AP_SAR_SENSOR_SDA", |
| 99 | "AP_SAR_SENSOR_SCL", |
| 100 | "", |
| 101 | "HP_IRQ", |
| 102 | "AP_RAM_ID0", |
| 103 | "EN_PP3300_DX_EDP", |
| 104 | "AP_BRD_ID2", |
| 105 | "BRIJ_SUSPEND", |
| 106 | "AP_BRD_ID0", |
| 107 | "AP_H1_SPI_MISO", |
| 108 | "AP_H1_SPI_MOSI", |
| 109 | "AP_H1_SPI_CLK", |
| 110 | "AP_H1_SPI_CS_L", |
| 111 | "", |
| 112 | "", |
| 113 | "", |
| 114 | "", |
| 115 | "H1_AP_INT_ODL", |
| 116 | "", |
| 117 | "UART_AP_TX_DBG_RX", |
| 118 | "UART_DBG_TX_AP_RX", |
| 119 | "HP_I2C_SDA", |
| 120 | "HP_I2C_SCL", |
| 121 | "FORCED_USB_BOOT", |
| 122 | "", |
| 123 | "", |
| 124 | "AMP_DIN", |
| 125 | "PEN_PDCT_L", |
| 126 | "HP_BCLK", |
| 127 | "HP_LRCLK", |
| 128 | "HP_DOUT", |
| 129 | "HP_DIN", |
| 130 | "HP_MCLK", |
| 131 | "TRACKPAD_INT_1V8_ODL", |
| 132 | "AP_EC_SPI_MISO", |
| 133 | "AP_EC_SPI_MOSI", |
| 134 | "AP_EC_SPI_CLK", |
| 135 | "AP_EC_SPI_CS_L", |
| 136 | "AP_SPI_CLK", |
| 137 | "AP_SPI_MOSI", |
| 138 | "AP_SPI_MISO", |
| 139 | /* |
| 140 | * AP_FLASH_WP_L is crossystem ABI. Schematics |
| 141 | * call it BIOS_FLASH_WP_L. |
| 142 | */ |
| 143 | "AP_FLASH_WP_L", |
| 144 | "DBG_SPI_HOLD_L", |
| 145 | "AP_SPI_CS0_L", |
| 146 | "SD_CD_ODL", |
| 147 | "", |
| 148 | "", |
| 149 | "", |
| 150 | "", |
| 151 | "", |
| 152 | "UIM2_DATA", |
| 153 | "UIM2_CLK", |
| 154 | "UIM2_RST", |
| 155 | "UIM2_PRESENT", |
| 156 | "UIM1_DATA", |
| 157 | "UIM1_CLK", |
| 158 | "UIM1_RST", |
| 159 | "", |
| 160 | "EN_PP3300_CODEC", |
| 161 | "EN_PP3300_HUB", |
| 162 | "", |
| 163 | "AP_SPI_FP_MISO", |
| 164 | "AP_SPI_FP_MOSI", |
| 165 | "AP_SPI_FP_CLK", |
| 166 | "AP_SPI_FP_CS_L", |
| 167 | "AP_SKU_ID1", |
| 168 | "AP_RST_REQ", |
| 169 | "", |
| 170 | "AP_BRD_ID1", |
| 171 | "AP_EC_INT_L", |
| 172 | "", |
| 173 | "", |
| 174 | "", |
| 175 | "", |
| 176 | "", |
| 177 | "", |
| 178 | "", |
| 179 | "", |
| 180 | "", |
| 181 | "EDP_BRIJ_EN", |
| 182 | "AP_SKU_ID0", |
| 183 | "", |
| 184 | "", |
| 185 | "", |
| 186 | "", |
| 187 | "", |
| 188 | "", |
| 189 | "", |
| 190 | "", |
| 191 | "", |
| 192 | "AP_TS_PEN_I2C_SDA", |
| 193 | "AP_TS_PEN_I2C_SCL", |
| 194 | "DP_HOT_PLUG_DET", |
| 195 | "EC_IN_RW_ODL"; |
| 196 | }; |