1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Google Lazor board device tree source 4 * 5 * Copyright 2020 Google LLC. 6 */ 7 8#include "sc7180.dtsi" 9 10ap_ec_spi: &spi6 {}; 11ap_h1_spi: &spi0 {}; 12 13#include "sc7180-trogdor.dtsi" 14 15/ { 16 panel: panel { 17 compatible = "boe,nv133fhm-n62"; 18 power-supply = <&pp3300_dx_edp>; 19 backlight = <&backlight>; 20 hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>; 21 22 ports { 23 port { 24 panel_in_edp: endpoint { 25 remote-endpoint = <&sn65dsi86_out>; 26 }; 27 }; 28 }; 29 }; 30}; 31 32&ap_sar_sensor { 33 semtech,cs0-ground; 34 semtech,combined-sensors = <3>; 35 semtech,resolution = "fine"; 36 semtech,startup-sensor = <0>; 37 semtech,proxraw-strength = <8>; 38 semtech,avg-pos-strength = <64>; 39}; 40 41ap_ts_pen_1v8: &i2c4 { 42 status = "okay"; 43 clock-frequency = <400000>; 44 45 ap_ts: touchscreen@10 { 46 compatible = "hid-over-i2c"; 47 reg = <0x10>; 48 pinctrl-names = "default"; 49 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; 50 51 interrupt-parent = <&tlmm>; 52 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 53 54 post-power-on-delay-ms = <20>; 55 hid-descr-addr = <0x0001>; 56 57 vdd-supply = <&pp3300_ts>; 58 }; 59}; 60 61/* PINCTRL - modifications to sc7180-trogdor.dtsi */ 62 63&ts_reset_l { 64 pinconf { 65 /* This pin is not connected on -rev0, pull up to park. */ 66 /delete-property/bias-disable; 67 bias-pull-up; 68 }; 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 "", 79 "", 80 "AP_TP_I2C_SDA", 81 "AP_TP_I2C_SCL", 82 "TS_RESET_L", 83 "TS_INT_L", 84 "", 85 "EDP_BRIJ_IRQ", 86 "AP_EDP_BKLTEN", 87 "AP_RAM_ID2", 88 "", 89 "EDP_BRIJ_I2C_SDA", 90 "EDP_BRIJ_I2C_SCL", 91 "HUB_RST_L", 92 "", 93 "AP_RAM_ID1", 94 "AP_SKU_ID2", 95 "", 96 "", 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 "", 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 "", 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 "", 165 "", 166 "", 167 "", 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