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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-natrium.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-natrium.dts (Version linux-6.11.5) and /arch/i386/boot/dts/qcom/msm8996pro-xiaomi-natrium.dts (Version linux-4.4.302)


  1 // SPDX-License-Identifier: BSD-3-Clause          
  2 /*                                                
  3  * Copyright (c) 2022, Alec Su <ae40515@yahoo.c    
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7                                                   
  8 #include "msm8996pro.dtsi"                        
  9 #include "msm8996-xiaomi-common.dtsi"             
 10 #include "pmi8996.dtsi"                           
 11 #include <dt-bindings/sound/qcom,q6afe.h>         
 12 #include <dt-bindings/sound/qcom,q6asm.h>         
 13                                                   
 14 / {                                               
 15         model = "Xiaomi Mi 5s Plus";              
 16         compatible = "xiaomi,natrium", "qcom,m    
 17         chassis-type = "handset";                 
 18         qcom,msm-id = <305 0x10000>;              
 19         qcom,board-id = <47 0>;                   
 20 };                                                
 21                                                   
 22 &adsp_pil {                                       
 23         firmware-name = "qcom/msm8996/natrium/    
 24 };                                                
 25                                                   
 26 &blsp2_i2c6 {                                     
 27         touchscreen@20 {                          
 28                 compatible = "syna,rmi4-i2c";     
 29                 reg = <0x20>;                     
 30                 interrupt-parent = <&tlmm>;       
 31                 interrupts = <125 IRQ_TYPE_LEV    
 32                 vdd-supply = <&vdd_3v2_tp>;       
 33                 syna,reset-delay-ms = <200>;      
 34                 syna,startup-delay-ms = <5>;      
 35                                                   
 36                 pinctrl-names = "default", "sl    
 37                 pinctrl-0 = <&touchscreen_defa    
 38                 pinctrl-1 = <&touchscreen_slee    
 39         };                                        
 40 };                                                
 41                                                   
 42 &gpu {                                            
 43         zap-shader {                              
 44                 firmware-name = "qcom/msm8996/    
 45         };                                        
 46 };                                                
 47                                                   
 48 &mdss_dsi0 {                                      
 49         status = "okay";                          
 50                                                   
 51         vdda-supply = <&vreg_l2a_1p25>;           
 52         vcca-supply = <&vreg_l28a_0p925>;         
 53                                                   
 54         pinctrl-names = "default", "sleep";       
 55         pinctrl-0 = <&mdss_dsi_default &mdss_t    
 56         pinctrl-1 = <&mdss_dsi_sleep &mdss_te_    
 57                                                   
 58         panel: panel@0 {                          
 59                 compatible = "jdi,fhd-r63452";    
 60                 reg = <0>;                        
 61                 reset-gpios = <&tlmm 8 GPIO_AC    
 62                 backlight = <&pmi8994_wled>;      
 63                                                   
 64                 port {                            
 65                         panel_in: endpoint {      
 66                                 remote-endpoin    
 67                         };                        
 68                 };                                
 69         };                                        
 70 };                                                
 71                                                   
 72 &mdss_dsi0_out {                                  
 73         remote-endpoint = <&panel_in>;            
 74 };                                                
 75                                                   
 76 &mss_pil {                                        
 77         firmware-name = "qcom/msm8996/natrium/    
 78                         "qcom/msm8996/natrium/    
 79 };                                                
 80                                                   
 81 &pmi8994_wled {                                   
 82         status = "okay";                          
 83                                                   
 84         qcom,enabled-strings = <0 1>;             
 85         qcom,switching-freq = <600>;              
 86 };                                                
 87                                                   
 88 &q6asmdai {                                       
 89         dai@0 {                                   
 90                 reg = <0>;                        
 91         };                                        
 92                                                   
 93         dai@1 {                                   
 94                 reg = <1>;                        
 95         };                                        
 96                                                   
 97         dai@2 {                                   
 98                 reg = <2>;                        
 99         };                                        
100 };                                                
101                                                   
102 &slpi_pil {                                       
103         firmware-name = "qcom/msm8996/natrium/    
104 };                                                
105                                                   
106 &sound {                                          
107         compatible = "qcom,apq8096-sndcard";      
108         model = "natrium";                        
109         audio-routing = "RX_BIAS", "MCLK";        
110                                                   
111         mm1-dai-link {                            
112                 link-name = "MultiMedia1";        
113                 cpu {                             
114                         sound-dai = <&q6asmdai    
115                 };                                
116         };                                        
117                                                   
118         mm2-dai-link {                            
119                 link-name = "MultiMedia2";        
120                 cpu {                             
121                         sound-dai = <&q6asmdai    
122                 };                                
123         };                                        
124                                                   
125         mm3-dai-link {                            
126                 link-name = "MultiMedia3";        
127                 cpu {                             
128                         sound-dai = <&q6asmdai    
129                 };                                
130         };                                        
131                                                   
132         slim-dai-link {                           
133                 link-name = "SLIM Playback";      
134                 cpu {                             
135                         sound-dai = <&q6afedai    
136                 };                                
137                                                   
138                 platform {                        
139                         sound-dai = <&q6routin    
140                 };                                
141                                                   
142                 codec {                           
143                         sound-dai = <&wcd9335     
144                 };                                
145         };                                        
146                                                   
147         slimcap-dai-link {                        
148                 link-name = "SLIM Capture";       
149                 cpu {                             
150                         sound-dai = <&q6afedai    
151                 };                                
152                                                   
153                 platform {                        
154                         sound-dai = <&q6routin    
155                 };                                
156                                                   
157                 codec {                           
158                         sound-dai = <&wcd9335     
159                 };                                
160         };                                        
161 };                                                
162                                                   
163 &venus {                                          
164         firmware-name = "qcom/msm8996/natrium/    
165 };                                                
166                                                   
167 &rpm_requests {                                   
168         regulators-0 {                            
169                 vreg_l3a_0p875: l3 {              
170                         regulator-name = "vreg    
171                         regulator-min-microvol    
172                         regulator-max-microvol    
173                 };                                
174                 vreg_l11a_1p1: l11 {              
175                         regulator-name = "vreg    
176                         regulator-min-microvol    
177                         regulator-max-microvol    
178                 };                                
179                 vreg_l17a_2p8: l17 {              
180                         regulator-name = "vreg    
181                         regulator-min-microvol    
182                         regulator-max-microvol    
183                 };                                
184                 vreg_l18a_2p8: l18 {              
185                         regulator-name = "vreg    
186                         regulator-min-microvol    
187                         regulator-max-microvol    
188                 };                                
189                 vreg_l29a_2p8: l29 {              
190                         regulator-name = "vreg    
191                         regulator-min-microvol    
192                         regulator-max-microvol    
193                 };                                
194         };                                        
195 };                                                
196                                                   
197 &pm8994_gpios {                                   
198         gpio-line-names =                         
199                 "NC",                   /* GPI    
200                 "VOL_UP_N",             /* GPI    
201                 "SPKR_ID",              /* GPI    
202                 "PWM_HAPTICS",          /* GPI    
203                 "INFARED_DRV",          /* GPI    
204                 "NC",                   /* GPI    
205                 "KEYPAD_LED_EN_A",      /* GPI    
206                 "WL_EN",                /* GPI    
207                 "3P3_ENABLE",           /* GPI    
208                 "NC",                   /* GPI    
209                 "NC",                   /* GPI    
210                 "NC",                   /* GPI    
211                 "NC",                   /* GPI    
212                 "NC",                   /* GPI    
213                 "DIVCLK1_CDC",          /* GPI    
214                 "DIVCLK2_HAPTICS",      /* GPI    
215                 "NC",                   /* GPI    
216                 "32KHz_CLK_IN",         /* GPI    
217                 "BT_EN",                /* GPI    
218                 "PMIC_SLB",             /* GPI    
219                 "UIM_BATT_ALARM",       /* GPI    
220                 "NC";                   /* GPI    
221 };                                                
222                                                   
223 &pm8994_mpps {                                    
224         gpio-line-names =                         
225                 "NC",                   /* MPP    
226                 "CCI_TIMER1",           /* MPP    
227                 "PMIC_SLB",             /* MPP    
228                 "EXT_FET_WLED_PWR_EN_N",/* MPP    
229                 "NC",                   /* MPP    
230                 "NC",                   /* MPP    
231                 "NC",                   /* MPP    
232                 "NC";                   /* MPP    
233 };                                                
234                                                   
235 &pmi8994_gpios {                                  
236         gpio-line-names =                         
237                 "NC",                   /* GPI    
238                 "SPKR_PA_EN",           /* GPI    
239                 "NC",                   /* GPI    
240                 "NC",                   /* GPI    
241                 "NC",                   /* GPI    
242                 "NC",                   /* GPI    
243                 "NC",                   /* GPI    
244                 "NC",                   /* GPI    
245                 "NC",                   /* GPI    
246                 "NC";                   /* GPI    
247 };                                                
248                                                   
249 &tlmm {                                           
250         gpio-line-names =                         
251                 "ESE_SPI_MOSI",         /* GPI    
252                 "ESE_SPI_MISO",         /* GPI    
253                 "NC",                   /* GPI    
254                 "ESE_SPI_CLK",          /* GPI    
255                 "MSM_UART_TX",          /* GPI    
256                 "MSM_UART_RX",          /* GPI    
257                 "NFC_I2C_SDA",          /* GPI    
258                 "NFC_I2C_SCL",          /* GPI    
259                 "LCD0_RESET_N",         /* GPI    
260                 "NFC_IRQ",              /* GPI    
261                 "LCD_TE",               /* GPI    
262                 "LCD_ID_DET1",          /* GPI    
263                 "NFC_DISABLE",          /* GPI    
264                 "CAM_MCLK0",            /* GPI    
265                 "CAM_MCLK1",            /* GPI    
266                 "CAM_MCLK2",            /* GPI    
267                 "ESE_PWR_REQ",          /* GPI    
268                 "CCI_I2C_SDA0",         /* GPI    
269                 "CCI_I2C_SCL0",         /* GPI    
270                 "CCI_I2C_SDA1",         /* GPI    
271                 "CCI_I2C_SCL1",         /* GPI    
272                 "NFC_DWL_REQ",          /* GPI    
273                 "CCI_TIMER1",           /* GPI    
274                 "WEBCAM1_RESET_N",      /* GPI    
275                 "ESE_IRQ",              /* GPI    
276                 "NC",                   /* GPI    
277                 "WEBCAM1_STANDBY",      /* GPI    
278                 "NC",                   /* GPI    
279                 "NC",                   /* GPI    
280                 "NC",                   /* GPI    
281                 "CAM_VDD_1P2_EN_2",     /* GPI    
282                 "CAM_RESET_0",          /* GPI    
283                 "CAM_RESET_1",          /* GPI    
284                 "NC",                   /* GPI    
285                 "NC",                   /* GPI    
286                 "PCI_E0_RST_N",         /* GPI    
287                 "PCI_E0_CLKREQ_N",      /* GPI    
288                 "PCI_E0_WAKE",          /* GPI    
289                 "CHARGER_INT",          /* GPI    
290                 "CHARGER_RESET",        /* GPI    
291                 "NC",                   /* GPI    
292                 "QCA_UART_TXD",         /* GPI    
293                 "QCA_UART_RXD",         /* GPI    
294                 "QCA_UART_CTS",         /* GPI    
295                 "QCA_UART_RTS",         /* GPI    
296                 "MAWC_UART_TX",         /* GPI    
297                 "MAWC_UART_RX",         /* GPI    
298                 "NC",                   /* GPI    
299                 "NC",                   /* GPI    
300                 "NC",                   /* GPI    
301                 "FP_SPI_RST",           /* GPI    
302                 "TYPEC_I2C_SDA",        /* GPI    
303                 "TYPEC_I2C_SCL",        /* GPI    
304                 "CODEC_INT2_N",         /* GPI    
305                 "CODEC_INT1_N",         /* GPI    
306                 "APPS_I2C7_SDA",        /* GPI    
307                 "APPS_I2C7_SCL",        /* GPI    
308                 "FORCE_USB_BOOT",       /* GPI    
309                 "NC",                   /* GPI    
310                 "NC",                   /* GPI    
311                 "NC",                   /* GPI    
312                 "NC",                   /* GPI    
313                 "ESE_RSTN",             /* GPI    
314                 "TYPEC_INT",            /* GPI    
315                 "CODEC_RESET_N",        /* GPI    
316                 "PCM_CLK",              /* GPI    
317                 "PCM_SYNC",             /* GPI    
318                 "PCM_DIN",              /* GPI    
319                 "PCM_DOUT",             /* GPI    
320                 "CDC_44K1_CLK",         /* GPI    
321                 "SLIMBUS_CLK",          /* GPI    
322                 "SLIMBUS_DATA0",        /* GPI    
323                 "SLIMBUS_DATA1",        /* GPI    
324                 "LDO_5V_IN_EN",         /* GPI    
325                 "TYPEC_EN_N",           /* GPI    
326                 "NC",                   /* GPI    
327                 "NC",                   /* GPI    
328                 "NC",                   /* GPI    
329                 "NC",                   /* GPI    
330                 "NC",                   /* GPI    
331                 "SENSOR_RESET_N",       /* GPI    
332                 "FP_SPI_MOSI",          /* GPI    
333                 "FP_SPI_MISO",          /* GPI    
334                 "FP_SPI_CS_N",          /* GPI    
335                 "FP_SPI_CLK",           /* GPI    
336                 "NC",                   /* GPI    
337                 "CAM_VDD_1P2_EN",       /* GPI    
338                 "MSM_TS_I2C_SDA",       /* GPI    
339                 "MSM_TS_I2C_SCL",       /* GPI    
340                 "TS_RESOUT_N",          /* GPI    
341                 "ESE_SPI_CS_N",         /* GPI    
342                 "NC",                   /* GPI    
343                 "CAM2_AVDD_EN",         /* GPI    
344                 "CAM2_VCM_EN",          /* GPI    
345                 "NC",                   /* GPI    
346                 "NC",                   /* GPI    
347                 "NC",                   /* GPI    
348                 "GRFC_0",               /* GPI    
349                 "GRFC_1",               /* GPI    
350                 "NC",                   /* GPI    
351                 "GRFC_3",               /* GPI    
352                 "GRFC_4",               /* GPI    
353                 "GRFC_5",               /* GPI    
354                 "NC",                   /* GPI    
355                 "GRFC_7",               /* GPI    
356                 "UIM2_DATA",            /* GPI    
357                 "UIM2_CLK",             /* GPI    
358                 "UIM2_RESET",           /* GPI    
359                 "UIM2_PRESENT",         /* GPI    
360                 "UIM1_DATA",            /* GPI    
361                 "UIM1_CLK",             /* GPI    
362                 "UIM1_RESET",           /* GPI    
363                 "UIM1_PRESENT",         /* GPI    
364                 "UIM_BATT_ALARM",       /* GPI    
365                 "GRFC_8",               /* GPI    
366                 "GRFC_9",               /* GPI    
367                 "TX_GTR_THRES",         /* GPI    
368                 "ACCEL_INT",            /* GPI    
369                 "GYRO_INT",             /* GPI    
370                 "COMPASS_INT",          /* GPI    
371                 "PROXIMITY_INT_N",      /* GPI    
372                 "FP_IRQ",               /* GPI    
373                 "P_SENSE",              /* GPI    
374                 "HALL_INTR2",           /* GPI    
375                 "HALL_INTR1",           /* GPI    
376                 "TS_INT_N",             /* GPI    
377                 "NC",                   /* GPI    
378                 "GRFC_11",              /* GPI    
379                 "NC",                   /* GPI    
380                 "EXT_GPS_LNA_EN",       /* GPI    
381                 "NC",                   /* GPI    
382                 "LCD_ID_DET2",          /* GPI    
383                 "LCD_TE2",              /* GPI    
384                 "GRFC_14",              /* GPI    
385                 "GSM_TX2_PHASE_D",      /* GPI    
386                 "NC",                   /* GPI    
387                 "GRFC_15",              /* GPI    
388                 "RFFE3_DATA",           /* GPI    
389                 "RFFE3_CLK",            /* GPI    
390                 "NC",                   /* GPI    
391                 "NC",                   /* GPI    
392                 "RFFE5_DATA",           /* GPI    
393                 "RFFE5_CLK",            /* GPI    
394                 "NC",                   /* GPI    
395                 "COEX_UART_TX",         /* GPI    
396                 "COEX_UART_RX",         /* GPI    
397                 "RFFE2_DATA",           /* GPI    
398                 "RFFE2_CLK",            /* GPI    
399                 "RFFE1_DATA",           /* GPI    
400                 "RFFE1_CLK";            /* GPI    
401                                                   
402         touchscreen_default: touchscreen-defau    
403                 pins = "gpio89", "gpio125";       
404                 function = "gpio";                
405                 drive-strength = <10>;            
406                 bias-pull-up;                     
407         };                                        
408                                                   
409         touchscreen_sleep: touchscreen-sleep-s    
410                 pins = "gpio89", "gpio125";       
411                 function = "gpio";                
412                 drive-strength = <2>;             
413                 bias-disable;                     
414         };                                        
415 };                                                
                                                      

~ [ 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