0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Google CoachZ board device tree source
0004 *
0005 * Copyright 2020 Google LLC.
0006 */
0007
0008 /dts-v1/;
0009
0010 #include "sc7180-trogdor-coachz.dtsi"
0011
0012 / {
0013 model = "Google CoachZ (rev1 - 2)";
0014 compatible = "google,coachz-rev1", "google,coachz-rev2", "qcom,sc7180";
0015 };
0016
0017 /*
0018 * CoachZ rev1 is stuffed with a 47k NTC as charger thermistor which currently
0019 * is not supported by the PM6150 ADC driver. Disable the charger thermal zone
0020 * to avoid using bogus temperature values.
0021 */
0022 &charger_thermal {
0023 status = "disabled";
0024 };
0025
0026 &pm6150_adc {
0027 status = "disabled";
0028
0029 /delete-node/ skin-temp-thermistor@4e;
0030 /delete-node/ charger-thermistor@4f;
0031 };
0032
0033 &pm6150_adc_tm {
0034 status = "disabled";
0035
0036 /delete-node/ charger-thermistor@0;
0037 /delete-node/ skin-temp-thermistor@1;
0038 };
0039
0040 /*
0041 * CoachZ rev1 is stuffed with a 47k NTC as thermistor for skin temperature,
0042 * which currently is not supported by the PM6150 ADC driver. Disable the
0043 * skin temperature thermal zone to avoid using bogus temperature values.
0044 */
0045 &skin_temp_thermal {
0046 status = "disabled";
0047 };
0048
0049 &tlmm {
0050 gpio-line-names = "HUB_RST_L",
0051 "AP_RAM_ID0",
0052 "AP_SKU_ID2",
0053 "AP_RAM_ID1",
0054 "FP_TO_AP_IRQ_L",
0055 "AP_RAM_ID2",
0056 "UF_CAM_EN",
0057 "WF_CAM_EN",
0058 "TS_RESET_L",
0059 "TS_INT_L",
0060 "FPMCU_BOOT0",
0061 "EDP_BRIJ_IRQ",
0062 "AP_EDP_BKLTEN",
0063 "UF_CAM_MCLK",
0064 "WF_CAM_CLK",
0065 "EDP_BRIJ_I2C_SDA",
0066 "EDP_BRIJ_I2C_SCL",
0067 "UF_CAM_SDA",
0068 "UF_CAM_SCL",
0069 "WF_CAM_SDA",
0070 "WF_CAM_SCL",
0071 "WLC_IRQ",
0072 "FP_RST_L",
0073 "AMP_EN",
0074 "WLC_NRST",
0075 "AP_SAR_SENSOR_SDA",
0076 "AP_SAR_SENSOR_SCL",
0077 "",
0078 "",
0079 "WF_CAM_RST_L",
0080 "UF_CAM_RST_L",
0081 "AP_BRD_ID2",
0082 "BRIJ_SUSPEND",
0083 "AP_BRD_ID0",
0084 "AP_H1_SPI_MISO",
0085 "AP_H1_SPI_MOSI",
0086 "AP_H1_SPI_CLK",
0087 "AP_H1_SPI_CS_L",
0088 "",
0089 "",
0090 "",
0091 "",
0092 "H1_AP_INT_ODL",
0093 "",
0094 "UART_AP_TX_DBG_RX",
0095 "UART_DBG_TX_AP_RX",
0096 "",
0097 "",
0098 "FORCED_USB_BOOT",
0099 "AMP_BCLK",
0100 "AMP_LRCLK",
0101 "AMP_DIN",
0102 "EN_PP3300_DX_EDP",
0103 "HP_BCLK",
0104 "HP_LRCLK",
0105 "HP_DOUT",
0106 "HP_DIN",
0107 "HP_MCLK",
0108 "AP_SKU_ID0",
0109 "AP_EC_SPI_MISO",
0110 "AP_EC_SPI_MOSI",
0111 "AP_EC_SPI_CLK",
0112 "AP_EC_SPI_CS_L",
0113 "AP_SPI_CLK",
0114 "AP_SPI_MOSI",
0115 "AP_SPI_MISO",
0116 /*
0117 * AP_FLASH_WP_L is crossystem ABI. Schematics
0118 * call it BIOS_FLASH_WP_L.
0119 */
0120 "AP_FLASH_WP_L",
0121 "",
0122 "AP_SPI_CS0_L",
0123 "SD_CD_ODL",
0124 "",
0125 "",
0126 "",
0127 "",
0128 "FPMCU_SEL",
0129 "UIM2_DATA",
0130 "UIM2_CLK",
0131 "UIM2_RST",
0132 "UIM2_PRESENT_L",
0133 "UIM1_DATA",
0134 "UIM1_CLK",
0135 "UIM1_RST",
0136 "",
0137 "DMIC_CLK_EN",
0138 "HUB_EN",
0139 "",
0140 "AP_SPI_FP_MISO",
0141 "AP_SPI_FP_MOSI",
0142 "AP_SPI_FP_CLK",
0143 "AP_SPI_FP_CS_L",
0144 "AP_SKU_ID1",
0145 "AP_RST_REQ",
0146 "",
0147 "AP_BRD_ID1",
0148 "AP_EC_INT_L",
0149 "",
0150 "",
0151 "",
0152 "",
0153 "",
0154 "",
0155 "",
0156 "",
0157 "",
0158 "EDP_BRIJ_EN",
0159 "",
0160 "",
0161 "",
0162 "",
0163 "",
0164 "",
0165 "",
0166 "",
0167 "",
0168 "",
0169 "AP_TS_PEN_I2C_SDA",
0170 "AP_TS_PEN_I2C_SCL",
0171 "DP_HOT_PLUG_DET",
0172 "EC_IN_RW_ODL";
0173 };