~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sc7180-trogdor-pompom.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/qcom/sc7180-trogdor-pompom.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/qcom/sc7180-trogdor-pompom.dtsi (Architecture sparc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Google Pompom board device tree source           3  * Google Pompom board device tree source
  4  *                                                  4  *
  5  * Copyright 2020 Google LLC.                       5  * Copyright 2020 Google LLC.
  6  */                                                 6  */
  7                                                     7 
  8 #include "sc7180-trogdor.dtsi"                      8 #include "sc7180-trogdor.dtsi"
  9 #include "sc7180-trogdor-clamshell.dtsi"            9 #include "sc7180-trogdor-clamshell.dtsi"
 10 #include "sc7180-trogdor-rt5682i-sku.dtsi"         10 #include "sc7180-trogdor-rt5682i-sku.dtsi"
 11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"        11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
 12                                                    12 
 13 / {                                                13 / {
 14         thermal-zones {                            14         thermal-zones {
 15                 5v-choke-thermal {                 15                 5v-choke-thermal {
 16                         thermal-sensors = <&pm     16                         thermal-sensors = <&pm6150_adc_tm 1>;
 17                                                    17 
 18                         trips {                    18                         trips {
 19                                 5v-choke-crit      19                                 5v-choke-crit {
 20                                         temper     20                                         temperature = <125000>;
 21                                         hyster     21                                         hysteresis = <1000>;
 22                                         type =     22                                         type = "critical";
 23                                 };                 23                                 };
 24                         };                         24                         };
 25                 };                                 25                 };
 26         };                                         26         };
 27 };                                                 27 };
 28                                                    28 
 29 &alc5682 {                                         29 &alc5682 {
 30         realtek,dmic-clk-driving-high;             30         realtek,dmic-clk-driving-high;
 31 };                                                 31 };
 32                                                    32 
 33 &ap_tp_i2c {                                       33 &ap_tp_i2c {
 34         status = "okay";                           34         status = "okay";
 35 };                                                 35 };
 36                                                    36 
 37 &cpu6_alert0 {                                     37 &cpu6_alert0 {
 38         temperature = <60000>;                     38         temperature = <60000>;
 39 };                                                 39 };
 40                                                    40 
 41 &cpu6_alert1 {                                     41 &cpu6_alert1 {
 42         temperature = <65000>;                     42         temperature = <65000>;
 43 };                                                 43 };
 44                                                    44 
 45 &cpu6_thermal {                                    45 &cpu6_thermal {
 46         sustainable-power = <1124>;                46         sustainable-power = <1124>;
 47 };                                                 47 };
 48                                                    48 
 49 &cpu7_alert0 {                                     49 &cpu7_alert0 {
 50         temperature = <60000>;                     50         temperature = <60000>;
 51 };                                                 51 };
 52                                                    52 
 53 &cpu7_alert1 {                                     53 &cpu7_alert1 {
 54         temperature = <65000>;                     54         temperature = <65000>;
 55 };                                                 55 };
 56                                                    56 
 57 &cpu7_thermal {                                    57 &cpu7_thermal {
 58         sustainable-power = <1124>;                58         sustainable-power = <1124>;
 59 };                                                 59 };
 60                                                    60 
 61 &cpu8_alert0 {                                     61 &cpu8_alert0 {
 62         temperature = <60000>;                     62         temperature = <60000>;
 63 };                                                 63 };
 64                                                    64 
 65 &cpu8_alert1 {                                     65 &cpu8_alert1 {
 66         temperature = <65000>;                     66         temperature = <65000>;
 67 };                                                 67 };
 68                                                    68 
 69 &cpu8_thermal {                                    69 &cpu8_thermal {
 70         sustainable-power = <1124>;                70         sustainable-power = <1124>;
 71 };                                                 71 };
 72                                                    72 
 73 &cpu9_alert0 {                                     73 &cpu9_alert0 {
 74         temperature = <60000>;                     74         temperature = <60000>;
 75 };                                                 75 };
 76                                                    76 
 77 &cpu9_alert1 {                                     77 &cpu9_alert1 {
 78         temperature = <65000>;                     78         temperature = <65000>;
 79 };                                                 79 };
 80                                                    80 
 81 &cpu9_thermal {                                    81 &cpu9_thermal {
 82         sustainable-power = <1124>;                82         sustainable-power = <1124>;
 83 };                                                 83 };
 84                                                    84 
 85 &gpio_keys {                                       85 &gpio_keys {
 86         status = "okay";                           86         status = "okay";
 87 };                                                 87 };
 88                                                    88 
 89 ap_ts_pen_1v8: &i2c4 {                             89 ap_ts_pen_1v8: &i2c4 {
 90         status = "okay";                           90         status = "okay";
 91         clock-frequency = <400000>;                91         clock-frequency = <400000>;
 92                                                    92 
 93         ap_ts: touchscreen@10 {                    93         ap_ts: touchscreen@10 {
 94                 compatible = "hid-over-i2c";       94                 compatible = "hid-over-i2c";
 95                 reg = <0x10>;                      95                 reg = <0x10>;
 96                 pinctrl-names = "default";         96                 pinctrl-names = "default";
 97                 pinctrl-0 = <&ts_int_l>, <&ts_     97                 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
 98                                                    98 
 99                 interrupt-parent = <&tlmm>;        99                 interrupt-parent = <&tlmm>;
100                 interrupts = <9 IRQ_TYPE_LEVEL    100                 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
101                                                   101 
102                 panel = <&panel>;                 102                 panel = <&panel>;
103                 post-power-on-delay-ms = <20>;    103                 post-power-on-delay-ms = <20>;
104                 hid-descr-addr = <0x0001>;        104                 hid-descr-addr = <0x0001>;
105                                                   105 
106                 vdd-supply = <&pp3300_ts>;        106                 vdd-supply = <&pp3300_ts>;
107         };                                        107         };
108 };                                                108 };
109                                                   109 
110 &keyboard_controller {                            110 &keyboard_controller {
111         function-row-physmap = <                  111         function-row-physmap = <
112                 MATRIX_KEY(0x00, 0x02, 0)         112                 MATRIX_KEY(0x00, 0x02, 0)       /* T1 */
113                 MATRIX_KEY(0x03, 0x02, 0)         113                 MATRIX_KEY(0x03, 0x02, 0)       /* T2 */
114                 MATRIX_KEY(0x02, 0x02, 0)         114                 MATRIX_KEY(0x02, 0x02, 0)       /* T3 */
115                 MATRIX_KEY(0x01, 0x02, 0)         115                 MATRIX_KEY(0x01, 0x02, 0)       /* T4 */
116                 MATRIX_KEY(0x03, 0x04, 0)         116                 MATRIX_KEY(0x03, 0x04, 0)       /* T5 */
117                 MATRIX_KEY(0x02, 0x04, 0)         117                 MATRIX_KEY(0x02, 0x04, 0)       /* T6 */
118                 MATRIX_KEY(0x01, 0x04, 0)         118                 MATRIX_KEY(0x01, 0x04, 0)       /* T7 */
119                 MATRIX_KEY(0x02, 0x09, 0)         119                 MATRIX_KEY(0x02, 0x09, 0)       /* T8 */
120                 MATRIX_KEY(0x01, 0x09, 0)         120                 MATRIX_KEY(0x01, 0x09, 0)       /* T9 */
121                 MATRIX_KEY(0x00, 0x04, 0)         121                 MATRIX_KEY(0x00, 0x04, 0)       /* T10 */
122         >;                                        122         >;
123         linux,keymap = <                          123         linux,keymap = <
124                 MATRIX_KEY(0x00, 0x02, KEY_BAC    124                 MATRIX_KEY(0x00, 0x02, KEY_BACK)
125                 MATRIX_KEY(0x03, 0x02, KEY_REF    125                 MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
126                 MATRIX_KEY(0x02, 0x02, KEY_ZOO    126                 MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
127                 MATRIX_KEY(0x01, 0x02, KEY_SCA    127                 MATRIX_KEY(0x01, 0x02, KEY_SCALE)
128                 MATRIX_KEY(0x03, 0x04, KEY_SYS    128                 MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
129                 MATRIX_KEY(0x02, 0x04, KEY_BRI    129                 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
130                 MATRIX_KEY(0x01, 0x04, KEY_BRI    130                 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
131                 MATRIX_KEY(0x02, 0x09, KEY_MUT    131                 MATRIX_KEY(0x02, 0x09, KEY_MUTE)
132                 MATRIX_KEY(0x01, 0x09, KEY_VOL    132                 MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
133                 MATRIX_KEY(0x00, 0x04, KEY_VOL    133                 MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
134                                                   134 
135                 CROS_STD_MAIN_KEYMAP              135                 CROS_STD_MAIN_KEYMAP
136         >;                                        136         >;
137 };                                                137 };
138                                                   138 
139 &panel {                                          139 &panel {
140         compatible = "edp-panel";                 140         compatible = "edp-panel";
141 };                                                141 };
142                                                   142 
143 &pen_insert {                                     143 &pen_insert {
144         /* Insert = high, eject = low */          144         /* Insert = high, eject = low */
145         gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;      145         gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
146 };                                                146 };
147                                                   147 
148 &pm6150_adc {                                     148 &pm6150_adc {
149         channel@4e {                              149         channel@4e {
150                 reg = <ADC5_AMUX_THM2_100K_PU>    150                 reg = <ADC5_AMUX_THM2_100K_PU>;
151                 qcom,ratiometric;                 151                 qcom,ratiometric;
152                 qcom,hw-settle-time = <200>;      152                 qcom,hw-settle-time = <200>;
153                 label = "5v_choke_therm";         153                 label = "5v_choke_therm";
154         };                                        154         };
155 };                                                155 };
156                                                   156 
157 &pm6150_adc_tm {                                  157 &pm6150_adc_tm {
158         status = "okay";                          158         status = "okay";
159                                                   159 
160         5v-choke-thermistor@1 {                   160         5v-choke-thermistor@1 {
161                 reg = <1>;                        161                 reg = <1>;
162                 io-channels = <&pm6150_adc ADC    162                 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>;
163                 qcom,ratiometric;                 163                 qcom,ratiometric;
164                 qcom,hw-settle-time-us = <200>    164                 qcom,hw-settle-time-us = <200>;
165         };                                        165         };
166 };                                                166 };
167                                                   167 
168 &sdhc_2 {                                         168 &sdhc_2 {
169         status = "okay";                          169         status = "okay";
170 };                                                170 };
171                                                   171 
172 &sound {                                          172 &sound {
173         model = "sc7180-rt5682-max98357a-2mic"    173         model = "sc7180-rt5682-max98357a-2mic";
174         pinctrl-names = "default";                174         pinctrl-names = "default";
175         pinctrl-0 = <&dmic_sel>;                  175         pinctrl-0 = <&dmic_sel>;
176         dmic-gpios = <&tlmm 86 GPIO_ACTIVE_HIG    176         dmic-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
177 };                                                177 };
178                                                   178 
179 &usb_c1 {                                         179 &usb_c1 {
180         status = "disabled";                      180         status = "disabled";
181 };                                                181 };
182                                                   182 
183 &wifi {                                           183 &wifi {
184         qcom,ath10k-calibration-variant = "GO_    184         qcom,ath10k-calibration-variant = "GO_POMPOM";
185 };                                                185 };
186                                                   186 
187 /* PINCTRL - board-specific pinctrl */            187 /* PINCTRL - board-specific pinctrl */
188                                                   188 
189 &tlmm {                                           189 &tlmm {
190         gpio-line-names = "TP_INT_ODL",           190         gpio-line-names = "TP_INT_ODL",
191                           "AP_RAM_ID0",           191                           "AP_RAM_ID0",
192                           "AP_SKU_ID2",           192                           "AP_SKU_ID2",
193                           "AP_RAM_ID1",           193                           "AP_RAM_ID1",
194                           "",                     194                           "",
195                           "AP_RAM_ID2",           195                           "AP_RAM_ID2",
196                           "AP_TP_I2C_SDA",        196                           "AP_TP_I2C_SDA",
197                           "AP_TP_I2C_SCL",        197                           "AP_TP_I2C_SCL",
198                           "TS_RESET_L",           198                           "TS_RESET_L",
199                           "TS_INT_L",             199                           "TS_INT_L",
200                           "",                     200                           "",
201                           "EDP_BRIJ_IRQ",         201                           "EDP_BRIJ_IRQ",
202                           "AP_EDP_BKLTEN",        202                           "AP_EDP_BKLTEN",
203                           "",                     203                           "",
204                           "",                     204                           "",
205                           "EDP_BRIJ_I2C_SDA",     205                           "EDP_BRIJ_I2C_SDA",
206                           "EDP_BRIJ_I2C_SCL",     206                           "EDP_BRIJ_I2C_SCL",
207                           "HUB_RST_L",            207                           "HUB_RST_L",
208                           "",                     208                           "",
209                           "",                     209                           "",
210                           "",                     210                           "",
211                           "",                     211                           "",
212                           "",                     212                           "",
213                           "AMP_EN",               213                           "AMP_EN",
214                           "P_SENSOR_INT_L",       214                           "P_SENSOR_INT_L",
215                           "AP_SAR_SENSOR_SDA",    215                           "AP_SAR_SENSOR_SDA",
216                           "AP_SAR_SENSOR_SCL",    216                           "AP_SAR_SENSOR_SCL",
217                           "",                     217                           "",
218                           "HP_IRQ",               218                           "HP_IRQ",
219                           "",                     219                           "",
220                           "EN_PP3300_DX_EDP",     220                           "EN_PP3300_DX_EDP",
221                           "AP_BRD_ID2",           221                           "AP_BRD_ID2",
222                           "BRIJ_SUSPEND",         222                           "BRIJ_SUSPEND",
223                           "AP_BRD_ID0",           223                           "AP_BRD_ID0",
224                           "AP_H1_SPI_MISO",       224                           "AP_H1_SPI_MISO",
225                           "AP_H1_SPI_MOSI",       225                           "AP_H1_SPI_MOSI",
226                           "AP_H1_SPI_CLK",        226                           "AP_H1_SPI_CLK",
227                           "AP_H1_SPI_CS_L",       227                           "AP_H1_SPI_CS_L",
228                           "",                     228                           "",
229                           "",                     229                           "",
230                           "",                     230                           "",
231                           "",                     231                           "",
232                           "H1_AP_INT_ODL",        232                           "H1_AP_INT_ODL",
233                           "",                     233                           "",
234                           "UART_AP_TX_DBG_RX",    234                           "UART_AP_TX_DBG_RX",
235                           "UART_DBG_TX_AP_RX",    235                           "UART_DBG_TX_AP_RX",
236                           "HP_I2C_SDA",           236                           "HP_I2C_SDA",
237                           "HP_I2C_SCL",           237                           "HP_I2C_SCL",
238                           "FORCED_USB_BOOT",      238                           "FORCED_USB_BOOT",
239                           "AMP_BCLK",             239                           "AMP_BCLK",
240                           "AMP_LRCLK",            240                           "AMP_LRCLK",
241                           "AMP_DIN",              241                           "AMP_DIN",
242                           "PEN_PDCT_L",           242                           "PEN_PDCT_L",
243                           "HP_BCLK",              243                           "HP_BCLK",
244                           "HP_LRCLK",             244                           "HP_LRCLK",
245                           "HP_DOUT",              245                           "HP_DOUT",
246                           "HP_DIN",               246                           "HP_DIN",
247                           "HP_MCLK",              247                           "HP_MCLK",
248                           "AP_SKU_ID0",           248                           "AP_SKU_ID0",
249                           "AP_EC_SPI_MISO",       249                           "AP_EC_SPI_MISO",
250                           "AP_EC_SPI_MOSI",       250                           "AP_EC_SPI_MOSI",
251                           "AP_EC_SPI_CLK",        251                           "AP_EC_SPI_CLK",
252                           "AP_EC_SPI_CS_L",       252                           "AP_EC_SPI_CS_L",
253                           "AP_SPI_CLK",           253                           "AP_SPI_CLK",
254                           "AP_SPI_MOSI",          254                           "AP_SPI_MOSI",
255                           "AP_SPI_MISO",          255                           "AP_SPI_MISO",
256                           /*                      256                           /*
257                            * AP_FLASH_WP_L is     257                            * AP_FLASH_WP_L is crossystem ABI. Schematics
258                            * call it BIOS_FLAS    258                            * call it BIOS_FLASH_WP_L.
259                            */                     259                            */
260                           "AP_FLASH_WP_L",        260                           "AP_FLASH_WP_L",
261                           "",                     261                           "",
262                           "AP_SPI_CS0_L",         262                           "AP_SPI_CS0_L",
263                           "SD_CD_ODL",            263                           "SD_CD_ODL",
264                           "",                     264                           "",
265                           "",                     265                           "",
266                           "",                     266                           "",
267                           "",                     267                           "",
268                           "",                     268                           "",
269                           "UIM2_DATA",            269                           "UIM2_DATA",
270                           "UIM2_CLK",             270                           "UIM2_CLK",
271                           "UIM2_RST",             271                           "UIM2_RST",
272                           "UIM2_PRESENT",         272                           "UIM2_PRESENT",
273                           "UIM1_DATA",            273                           "UIM1_DATA",
274                           "UIM1_CLK",             274                           "UIM1_CLK",
275                           "UIM1_RST",             275                           "UIM1_RST",
276                           "",                     276                           "",
277                           "EN_PP3300_CODEC",      277                           "EN_PP3300_CODEC",
278                           "EN_PP3300_HUB",        278                           "EN_PP3300_HUB",
279                           "",                     279                           "",
280                           "DMIC_SEL",             280                           "DMIC_SEL",
281                           "",                     281                           "",
282                           "",                     282                           "",
283                           "",                     283                           "",
284                           "AP_SKU_ID1",           284                           "AP_SKU_ID1",
285                           "AP_RST_REQ",           285                           "AP_RST_REQ",
286                           "",                     286                           "",
287                           "AP_BRD_ID1",           287                           "AP_BRD_ID1",
288                           "AP_EC_INT_R_L",        288                           "AP_EC_INT_R_L",
289                           "",                     289                           "",
290                           "",                     290                           "",
291                           "",                     291                           "",
292                           "",                     292                           "",
293                           "",                     293                           "",
294                           "",                     294                           "",
295                           "",                     295                           "",
296                           "",                     296                           "",
297                           "",                     297                           "",
298                           "EDP_BRIJ_EN",          298                           "EDP_BRIJ_EN",
299                           "",                     299                           "",
300                           "",                     300                           "",
301                           "",                     301                           "",
302                           "",                     302                           "",
303                           "",                     303                           "",
304                           "",                     304                           "",
305                           "",                     305                           "",
306                           "",                     306                           "",
307                           "",                     307                           "",
308                           "",                     308                           "",
309                           "AP_TS_PEN_I2C_SDA",    309                           "AP_TS_PEN_I2C_SDA",
310                           "AP_TS_PEN_I2C_SCL",    310                           "AP_TS_PEN_I2C_SCL",
311                           "DP_HOT_PLUG_DET",      311                           "DP_HOT_PLUG_DET",
312                           "EC_IN_RW_ODL";         312                           "EC_IN_RW_ODL";
313                                                   313 
314         dmic_sel: dmic-sel-state {                314         dmic_sel: dmic-sel-state {
315                 pins = "gpio86";                  315                 pins = "gpio86";
316                 function = "gpio";                316                 function = "gpio";
317                 bias-pull-down;                   317                 bias-pull-down;
318         };                                        318         };
319 };                                                319 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php