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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/msm8992-xiaomi-libra.dts

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/msm8992-xiaomi-libra.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/msm8992-xiaomi-libra.dts (Version linux-4.18.20)


  1 // SPDX-License-Identifier: BSD-3-Clause          
  2 /*                                                
  3  * Copyright (c) 2020, Konrad Dybcio              
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7                                                   
  8 #include "msm8992.dtsi"                           
  9 #include "pm8994.dtsi"                            
 10 #include "pmi8994.dtsi"                           
 11 #include <dt-bindings/gpio/gpio.h>                
 12 #include <dt-bindings/input/gpio-keys.h>          
 13                                                   
 14 /delete-node/ &adsp_mem;                          
 15 /delete-node/ &audio_mem;                         
 16 /delete-node/ &mpss_mem;                          
 17 /delete-node/ &peripheral_region;                 
 18 /delete-node/ &res_hyp_mem;                       
 19 /delete-node/ &rmtfs_mem;                         
 20                                                   
 21 / {                                               
 22         model = "Xiaomi Mi 4C";                   
 23         compatible = "xiaomi,libra", "qcom,msm    
 24         chassis-type = "handset";                 
 25                                                   
 26         /* required for bootloader to select c    
 27         qcom,msm-id = <251 0>, <252 0>;           
 28         qcom,pmic-id = <65545 65546 0 0>;         
 29         qcom,board-id = <12 0>;                   
 30                                                   
 31         /* This enables graphical output via b    
 32         chosen {                                  
 33                 bootargs = "earlycon=tty0 cons    
 34                                                   
 35                 #address-cells = <2>;             
 36                 #size-cells = <2>;                
 37                 ranges;                           
 38                                                   
 39                 framebuffer0: framebuffer@3400    
 40                         compatible = "simple-f    
 41                         reg = <0 0x3400000 0 (    
 42                         width = <1080>;           
 43                         height = <1920>;          
 44                         stride = <(1080 * 3)>;    
 45                         format = "r8g8b8";        
 46                         /*                        
 47                          * That's a lot of clo    
 48                          * to unused clk clean    
 49                          */                       
 50                         clocks = <&mmcc MDSS_A    
 51                                  <&mmcc MDSS_A    
 52                                  <&mmcc MDSS_V    
 53                                  <&mmcc MDSS_M    
 54                                  <&mmcc MDSS_B    
 55                                  <&mmcc MDSS_P    
 56                                  <&mmcc MDSS_E    
 57                         power-domains = <&mmcc    
 58                 };                                
 59         };                                        
 60                                                   
 61         gpio-keys {                               
 62                 compatible = "gpio-keys";         
 63                 autorepeat;                       
 64                                                   
 65                 button {                          
 66                         label = "Volume Up";      
 67                         gpios = <&pm8994_gpios    
 68                         linux,input-type = <1>    
 69                         linux,code = <KEY_VOLU    
 70                         wakeup-source;            
 71                         debounce-interval = <1    
 72                 };                                
 73         };                                        
 74                                                   
 75         reserved-memory {                         
 76                 #address-cells = <2>;             
 77                 #size-cells = <2>;                
 78                 ranges;                           
 79                                                   
 80                 memory_hole: hole@6400000 {       
 81                         reg = <0 0x06400000 0     
 82                         no-map;                   
 83                 };                                
 84                                                   
 85                 memory_hole2: hole2@6c00000 {     
 86                         reg = <0 0x06c00000 0     
 87                         no-map;                   
 88                 };                                
 89                                                   
 90                 mpss_mem: mpss@9000000 {          
 91                         reg = <0 0x09000000 0     
 92                         no-map;                   
 93                 };                                
 94                                                   
 95                 tzapp: tzapp@ea00000 {            
 96                         reg = <0 0x0ea00000 0     
 97                         no-map;                   
 98                 };                                
 99                                                   
100                 mdm_rfsa_mem: mdm-rfsa@ca0b000    
101                         reg = <0 0xca0b0000 0     
102                         no-map;                   
103                 };                                
104                                                   
105                 rmtfs_mem: rmtfs@ca100000 {       
106                         compatible = "qcom,rmt    
107                         reg = <0 0xca100000 0     
108                         no-map;                   
109                                                   
110                         qcom,client-id = <1>;     
111                 };                                
112                                                   
113                 qseecom_mem: qseecom@cb400000     
114                         reg = <0 0xcb400000 0     
115                         no-mem;                   
116                 };                                
117                                                   
118                 adsp_rfsa_mem: adsp-rfsa@cd000    
119                         reg = <0 0xcd000000 0     
120                         no-map;                   
121                 };                                
122                                                   
123                 sensor_rfsa_mem: sensor-rfsa@c    
124                         reg = <0 0xcd010000 0     
125                         no-map;                   
126                 };                                
127                                                   
128                 ramoops@dfc00000 {                
129                         compatible = "ramoops"    
130                         reg = <0 0xdfc00000 0     
131                         console-size = <0x1000    
132                         record-size = <0x10000    
133                         ftrace-size = <0x10000    
134                         pmsg-size = <0x20000>;    
135                 };                                
136         };                                        
137 };                                                
138                                                   
139 &blsp1_i2c2 {                                     
140         status = "okay";                          
141                                                   
142         /* Atmel or Synaptics touchscreen */      
143 };                                                
144                                                   
145 &blsp1_i2c5 {                                     
146         status = "okay";                          
147                                                   
148         /* ST lsm6db0 gyro/accelerometer */       
149 };                                                
150                                                   
151 &blsp1_i2c6 {                                     
152         status = "okay";                          
153                                                   
154         /*                                        
155          * NXP NCI NFC,                           
156          * TI USB320 Type-C controller,           
157          * Pericom 30216a USB (de)mux switch      
158          */                                       
159 };                                                
160                                                   
161 &blsp2_i2c1 {                                     
162         status = "okay";                          
163                                                   
164         /* cm36686 proximity and ambient light    
165 };                                                
166                                                   
167 &blsp2_i2c5 {                                     
168         status = "okay";                          
169                                                   
170         /* Silabs si4705 FM transmitter */        
171 };                                                
172                                                   
173 &blsp2_uart2 {                                    
174         status = "okay";                          
175 };                                                
176                                                   
177 &pm8994_spmi_regulators {                         
178         VDD_APC0: s8 {                            
179                 regulator-min-microvolt = <680    
180                 regulator-max-microvolt = <118    
181                 regulator-always-on;              
182                 regulator-boot-on;                
183         };                                        
184                                                   
185         /* APC1 is 3-phase, but quoting downst    
186         VDD_APC1: s11 {                           
187                 regulator-min-microvolt = <700    
188                 regulator-max-microvolt = <122    
189                 regulator-always-on;              
190                 regulator-boot-on;                
191         };                                        
192 };                                                
193                                                   
194 &rpm_requests {                                   
195         regulators-0 {                            
196                 compatible = "qcom,rpm-pm8994-    
197                                                   
198                 vdd_l1-supply = <&pm8994_s7>;     
199                 vdd_l2_26_28-supply = <&pm8994    
200                 vdd_l3_11-supply = <&pm8994_s3    
201                 vdd_l4_27_31-supply = <&pm8994    
202                 vdd_l5_7-supply = <&pm8994_s3>    
203                 vdd_l6_12_32-supply = <&pm8994    
204                 vdd_l8_16_30-supply = <&vph_pw    
205                 vdd_l9_10_18_22-supply = <&vph    
206                 vdd_l13_19_23_24-supply = <&vp    
207                 vdd_l14_15-supply = <&pm8994_s    
208                 vdd_l17_29-supply = <&vph_pwr>    
209                 vdd_l20_21-supply = <&vph_pwr>    
210                 vdd_l25-supply = <&pm8994_s5>;    
211                 vdd_lvs1_2-supply = <&pm8994_s    
212                                                   
213                 /* S1, S2, S6 and S12 are mana    
214                                                   
215                 pm8994_s3: s3 {                   
216                         regulator-min-microvol    
217                         regulator-max-microvol    
218                 };                                
219                                                   
220                 pm8994_s4: s4 {                   
221                         regulator-min-microvol    
222                         regulator-max-microvol    
223                         regulator-allow-set-lo    
224                         regulator-always-on;      
225                         regulator-system-load     
226                 };                                
227                                                   
228                 pm8994_s5: s5 {                   
229                         regulator-min-microvol    
230                         regulator-max-microvol    
231                 };                                
232                                                   
233                 pm8994_s7: s7 {                   
234                         regulator-min-microvol    
235                         regulator-max-microvol    
236                 };                                
237                                                   
238                 /* S8, S9, S10 and S11 - SPMI-    
239                                                   
240                 pm8994_l1: l1 {                   
241                         regulator-min-microvol    
242                         regulator-max-microvol    
243                 };                                
244                                                   
245                 pm8994_l2: l2 {                   
246                         regulator-min-microvol    
247                         regulator-max-microvol    
248                 };                                
249                                                   
250                 pm8994_l3: l3 {                   
251                         regulator-min-microvol    
252                         regulator-max-microvol    
253                 };                                
254                                                   
255                 pm8994_l4: l4 {                   
256                         regulator-min-microvol    
257                         regulator-max-microvol    
258                 };                                
259                                                   
260                 /* L5 is inaccessible from RPM    
261                                                   
262                 pm8994_l6: l6 {                   
263                         regulator-min-microvol    
264                         regulator-max-microvol    
265                 };                                
266                                                   
267                 /* L7 is inaccessible from RPM    
268                                                   
269                 pm8994_l8: l8 {                   
270                         regulator-min-microvol    
271                         regulator-max-microvol    
272                 };                                
273                                                   
274                 pm8994_l9: l9 {                   
275                         regulator-min-microvol    
276                         regulator-max-microvol    
277                 };                                
278                                                   
279                 pm8994_l10: l10 {                 
280                         regulator-min-microvol    
281                         regulator-max-microvol    
282                 };                                
283                                                   
284                 pm8994_l11: l11 {                 
285                         regulator-min-microvol    
286                         regulator-max-microvol    
287                 };                                
288                                                   
289                 pm8994_l12: l12 {                 
290                         regulator-min-microvol    
291                         regulator-max-microvol    
292                 };                                
293                                                   
294                 pm8994_l13: l13 {                 
295                         regulator-min-microvol    
296                         regulator-max-microvol    
297                 };                                
298                                                   
299                 pm8994_l14: l14 {                 
300                         regulator-min-microvol    
301                         regulator-max-microvol    
302                 };                                
303                                                   
304                 pm8994_l15: l15 {                 
305                         regulator-min-microvol    
306                         regulator-max-microvol    
307                 };                                
308                                                   
309                 pm8994_l16: l16 {                 
310                         regulator-min-microvol    
311                         regulator-max-microvol    
312                 };                                
313                                                   
314                 pm8994_l17: l17 {                 
315                         regulator-min-microvol    
316                         regulator-max-microvol    
317                 };                                
318                                                   
319                 pm8994_l18: l18 {                 
320                         regulator-min-microvol    
321                         regulator-max-microvol    
322                         regulator-always-on;      
323                 };                                
324                                                   
325                 pm8994_l19: l19 {                 
326                         regulator-min-microvol    
327                         regulator-max-microvol    
328                 };                                
329                                                   
330                 pm8994_l20: l20 {                 
331                         regulator-min-microvol    
332                         regulator-max-microvol    
333                         regulator-always-on;      
334                         regulator-boot-on;        
335                         regulator-allow-set-lo    
336                         regulator-system-load     
337                 };                                
338                                                   
339                 pm8994_l21: l21 {                 
340                         regulator-min-microvol    
341                         regulator-max-microvol    
342                         regulator-always-on;      
343                 };                                
344                                                   
345                 pm8994_l22: l22 {                 
346                         regulator-min-microvol    
347                         regulator-max-microvol    
348                 };                                
349                                                   
350                 pm8994_l23: l23 {                 
351                         regulator-min-microvol    
352                         regulator-max-microvol    
353                 };                                
354                                                   
355                 pm8994_l24: l24 {                 
356                         regulator-min-microvol    
357                         regulator-max-microvol    
358                 };                                
359                                                   
360                 pm8994_l25: l25 {                 
361                         regulator-min-microvol    
362                         regulator-max-microvol    
363                 };                                
364                                                   
365                 pm8994_l26: l26 {                 
366                         regulator-min-microvol    
367                         regulator-max-microvol    
368                                                   
369                 };                                
370                                                   
371                 pm8994_l27: l27 {                 
372                         regulator-min-microvol    
373                         regulator-max-microvol    
374                 };                                
375                                                   
376                 pm8994_l28: l28 {                 
377                         regulator-min-microvol    
378                         regulator-max-microvol    
379                 };                                
380                                                   
381                 pm8994_l29: l29 {                 
382                         regulator-min-microvol    
383                         regulator-max-microvol    
384                 };                                
385                                                   
386                 pm8994_l30: l30 {                 
387                         regulator-min-microvol    
388                         regulator-max-microvol    
389                 };                                
390                                                   
391                 pm8994_l31: l31 {                 
392                         regulator-min-microvol    
393                         regulator-max-microvol    
394                 };                                
395                                                   
396                 pm8994_l32: l32 {                 
397                         regulator-min-microvol    
398                         regulator-max-microvol    
399                 };                                
400                                                   
401                 pm8994_lvs1: lvs1 {};             
402                 pm8994_lvs2: lvs2 {};             
403         };                                        
404                                                   
405         pmi8994_regulators: regulators-1 {        
406                 compatible = "qcom,rpm-pmi8994    
407                 vdd_s1-supply = <&vph_pwr>;       
408                 vdd_bst_byp-supply = <&vph_pwr    
409                                                   
410                 pmi8994_s1: s1 {                  
411                         regulator-min-microvol    
412                         regulator-max-microvol    
413                 };                                
414                                                   
415                 /* S2 & S3 - VDD_GFX */           
416                                                   
417                 pmi8994_bby: boost-bypass {       
418                         regulator-min-microvol    
419                         regulator-max-microvol    
420                 };                                
421         };                                        
422 };                                                
423                                                   
424 &sdhc1 {                                          
425         status = "okay";                          
426                                                   
427         mmc-hs400-1_8v;                           
428         vmmc-supply = <&pm8994_l20>;              
429         vqmmc-supply = <&pm8994_s4>;              
430 };                                                
                                                      

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