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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-catalina.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/arm/aspeed/aspeed-bmc-facebook-catalina.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-catalina.dts (Version linux-5.17.15)


  1 // SPDX-License-Identifier: GPL-2.0+              
  2 // Copyright (c) 2021 Facebook Inc.               
  3 /dts-v1/;                                         
  4                                                   
  5 #include "aspeed-g6.dtsi"                         
  6 #include <dt-bindings/gpio/aspeed-gpio.h>         
  7 #include <dt-bindings/usb/pd.h>                   
  8 #include <dt-bindings/leds/leds-pca955x.h>        
  9 #include <dt-bindings/interrupt-controller/irq    
 10 #include <dt-bindings/i2c/i2c.h>                  
 11                                                   
 12 / {                                               
 13         model = "Facebook Catalina BMC";          
 14         compatible = "facebook,catalina-bmc",     
 15                                                   
 16         aliases {                                 
 17                 serial0 = &uart1;                 
 18                 serial2 = &uart3;                 
 19                 serial3 = &uart4;                 
 20                 serial4 = &uart5;                 
 21                 i2c16 = &i2c1mux0ch0;             
 22                 i2c17 = &i2c1mux0ch1;             
 23                 i2c18 = &i2c1mux0ch2;             
 24                 i2c19 = &i2c1mux0ch3;             
 25                 i2c20 = &i2c1mux0ch4;             
 26                 i2c21 = &i2c1mux0ch5;             
 27                 i2c22 = &i2c1mux0ch6;             
 28                 i2c23 = &i2c1mux0ch7;             
 29                 i2c24 = &i2c0mux0ch0;             
 30                 i2c25 = &i2c0mux0ch1;             
 31                 i2c26 = &i2c0mux0ch2;             
 32                 i2c27 = &i2c0mux0ch3;             
 33                 i2c28 = &i2c0mux1ch0;             
 34                 i2c29 = &i2c0mux1ch1;             
 35                 i2c30 = &i2c0mux1ch2;             
 36                 i2c31 = &i2c0mux1ch3;             
 37                 i2c32 = &i2c0mux2ch0;             
 38                 i2c33 = &i2c0mux2ch1;             
 39                 i2c34 = &i2c0mux2ch2;             
 40                 i2c35 = &i2c0mux2ch3;             
 41                 i2c36 = &i2c0mux3ch0;             
 42                 i2c37 = &i2c0mux3ch1;             
 43                 i2c38 = &i2c0mux3ch2;             
 44                 i2c39 = &i2c0mux3ch3;             
 45                 i2c40 = &i2c0mux4ch0;             
 46                 i2c41 = &i2c0mux4ch1;             
 47                 i2c42 = &i2c0mux4ch2;             
 48                 i2c43 = &i2c0mux4ch3;             
 49                 i2c44 = &i2c0mux5ch0;             
 50                 i2c45 = &i2c0mux5ch1;             
 51                 i2c46 = &i2c0mux5ch2;             
 52                 i2c47 = &i2c0mux5ch3;             
 53                 i2c48 = &i2c30mux0ch0;            
 54                 i2c49 = &i2c30mux0ch1;            
 55                 i2c50 = &i2c30mux0ch2;            
 56                 i2c51 = &i2c30mux0ch3;            
 57                 i2c52 = &i2c30mux0ch4;            
 58                 i2c53 = &i2c30mux0ch5;            
 59                 i2c54 = &i2c30mux0ch6;            
 60                 i2c55 = &i2c30mux0ch7;            
 61         };                                        
 62                                                   
 63         chosen {                                  
 64                 stdout-path = "serial4:57600n8    
 65         };                                        
 66                                                   
 67         memory@80000000 {                         
 68                 device_type = "memory";           
 69                 reg = <0x80000000 0x80000000>;    
 70         };                                        
 71                                                   
 72         iio-hwmon {                               
 73                 compatible = "iio-hwmon";         
 74                 io-channels = <&adc0 0>, <&adc    
 75                               <&adc0 4>, <&adc    
 76                               <&adc1 2>;          
 77         };                                        
 78                                                   
 79         spi1_gpio: spi {                          
 80                 compatible = "spi-gpio";          
 81                 #address-cells = <1>;             
 82                 #size-cells = <0>;                
 83                                                   
 84                 sck-gpios = <&gpio0 ASPEED_GPI    
 85                 mosi-gpios = <&gpio0 ASPEED_GP    
 86                 miso-gpios = <&gpio0 ASPEED_GP    
 87                 cs-gpios = <&gpio0 ASPEED_GPIO    
 88                 num-chipselects = <1>;            
 89                                                   
 90                 tpm@0 {                           
 91                         compatible = "infineon    
 92                         spi-max-frequency = <3    
 93                         reg = <0>;                
 94                 };                                
 95         };                                        
 96                                                   
 97         leds {                                    
 98                 compatible = "gpio-leds";         
 99                                                   
100                 led-0 {                           
101                         label = "bmc_heartbeat    
102                         gpios = <&gpio0 ASPEED    
103                         linux,default-trigger     
104                 };                                
105                                                   
106                 led-1 {                           
107                         label = "fp_id_amber";    
108                         default-state = "off";    
109                         gpios = <&gpio0 ASPEED    
110                 };                                
111                                                   
112                 led-2 {                           
113                         label = "bmc_ready_nol    
114                         gpios = <&gpio0 ASPEED    
115                 };                                
116                                                   
117                 led-3 {                           
118                         label = "bmc_ready_cpl    
119                         gpios = <&gpio0 ASPEED    
120                 };                                
121         };                                        
122                                                   
123         p1v8_bmc_aux: regulator-p1v8-bmc-aux {    
124                 compatible = "regulator-fixed"    
125                 regulator-name = "p1v8_bmc_aux    
126                 regulator-min-microvolt = <180    
127                 regulator-max-microvolt = <180    
128                 regulator-always-on;              
129         };                                        
130                                                   
131         p2v5_bmc_aux: regulator-p2v5-bmc-aux {    
132                 compatible = "regulator-fixed"    
133                 regulator-name = "p2v5_bmc_aux    
134                 regulator-min-microvolt = <250    
135                 regulator-max-microvolt = <250    
136                 regulator-always-on;              
137         };                                        
138 };                                                
139                                                   
140 &uart1 {                                          
141         status = "okay";                          
142 };                                                
143                                                   
144 &uart3 {                                          
145         status = "okay";                          
146 };                                                
147                                                   
148 &uart4 {                                          
149         status = "okay";                          
150 };                                                
151                                                   
152 &uart5 {                                          
153         status = "okay";                          
154 };                                                
155                                                   
156 &mac3 {                                           
157         status = "okay";                          
158         pinctrl-names = "default";                
159         pinctrl-0 = <&pinctrl_ncsi4_default>;     
160         use-ncsi;                                 
161 };                                                
162                                                   
163 &fmc {                                            
164         status = "okay";                          
165         flash@0 {                                 
166                 status = "okay";                  
167                 m25p,fast-read;                   
168                 label = "bmc";                    
169                 spi-max-frequency = <50000000>    
170 #include "openbmc-flash-layout-128.dtsi"          
171         };                                        
172         flash@1 {                                 
173                 status = "okay";                  
174                 m25p,fast-read;                   
175                 label = "alt-bmc";                
176                 spi-max-frequency = <50000000>    
177         };                                        
178 };                                                
179                                                   
180 &i2c0 {                                           
181         status = "okay";                          
182                                                   
183         i2c-mux@71 {                              
184                 compatible = "nxp,pca9546";       
185                 reg = <0x71>;                     
186                 #address-cells = <1>;             
187                 #size-cells = <0>;                
188                                                   
189                 i2c0mux0ch0: i2c@0 {              
190                         #address-cells = <1>;     
191                         #size-cells = <0>;        
192                         reg = <0>;                
193                 };                                
194                 i2c0mux0ch1: i2c@1 {              
195                         #address-cells = <1>;     
196                         #size-cells = <0>;        
197                         reg = <1>;                
198                 };                                
199                 i2c0mux0ch2: i2c@2 {              
200                         #address-cells = <1>;     
201                         #size-cells = <0>;        
202                         reg = <2>;                
203                 };                                
204                 i2c0mux0ch3: i2c@3 {              
205                         #address-cells = <1>;     
206                         #size-cells = <0>;        
207                         reg = <3>;                
208                 };                                
209         };                                        
210                                                   
211         i2c-mux@72 {                              
212                 compatible = "nxp,pca9546";       
213                 reg = <0x72>;                     
214                 #address-cells = <1>;             
215                 #size-cells = <0>;                
216                                                   
217                 i2c0mux1ch0: i2c@0 {              
218                         #address-cells = <1>;     
219                         #size-cells = <0>;        
220                         reg = <0>;                
221                 };                                
222                 i2c0mux1ch1: i2c@1 {              
223                         #address-cells = <1>;     
224                         #size-cells = <0>;        
225                         reg = <1>;                
226                                                   
227                         // IO Mezz 0 IOEXP        
228                         io_expander7: gpio@20     
229                                 compatible = "    
230                                 reg = <0x20>;     
231                                 gpio-controlle    
232                                 #gpio-cells =     
233                         };                        
234                                                   
235                         // IO Mezz 0 FRU EEPRO    
236                         eeprom@50 {               
237                                 compatible = "    
238                                 reg = <0x50>;     
239                         };                        
240                 };                                
241                 i2c0mux1ch2: i2c@2 {              
242                         #address-cells = <1>;     
243                         #size-cells = <0>;        
244                         reg = <2>;                
245                         i2c-mux@70 {              
246                                 compatible = "    
247                                 reg = <0x70>;     
248                                 #address-cells    
249                                 #size-cells =     
250                                                   
251                                 i2c30mux0ch0:     
252                                         #addre    
253                                         #size-    
254                                         reg =     
255                                 };                
256                                 i2c30mux0ch1:     
257                                         #addre    
258                                         #size-    
259                                         reg =     
260                                 };                
261                                 i2c30mux0ch2:     
262                                         #addre    
263                                         #size-    
264                                         reg =     
265                                 };                
266                                 i2c30mux0ch3:     
267                                         #addre    
268                                         #size-    
269                                         reg =     
270                                 };                
271                                 i2c30mux0ch4:     
272                                         #addre    
273                                         #size-    
274                                         reg =     
275                                 };                
276                                 i2c30mux0ch5:     
277                                         #addre    
278                                         #size-    
279                                         reg =     
280                                 };                
281                                 i2c30mux0ch6:     
282                                         #addre    
283                                         #size-    
284                                         reg =     
285                                         // HDD    
286                                         eeprom    
287                                                   
288                                                   
289                                         };        
290                                 };                
291                                 i2c30mux0ch7:     
292                                         #addre    
293                                         #size-    
294                                         reg =     
295                                                   
296                                         power-    
297                                                   
298                                                   
299                                                   
300                                         };        
301                                         power-    
302                                                   
303                                                   
304                                                   
305                                         };        
306                                         power-    
307                                                   
308                                                   
309                                                   
310                                         };        
311                                         power-    
312                                                   
313                                                   
314                                                   
315                                         };        
316                                 };                
317                         };                        
318                 };                                
319                 i2c0mux1ch3: i2c@3 {              
320                         #address-cells = <1>;     
321                         #size-cells = <0>;        
322                         reg = <3>;                
323                 };                                
324         };                                        
325                                                   
326         i2c-mux@73 {                              
327                 compatible = "nxp,pca9546";       
328                 reg = <0x73>;                     
329                 #address-cells = <1>;             
330                 #size-cells = <0>;                
331                                                   
332                 i2c0mux2ch0: i2c@0 {              
333                         #address-cells = <1>;     
334                         #size-cells = <0>;        
335                         reg = <0>;                
336                 };                                
337                 i2c0mux2ch1: i2c@1 {              
338                         #address-cells = <1>;     
339                         #size-cells = <0>;        
340                         reg = <1>;                
341                 };                                
342                 i2c0mux2ch2: i2c@2 {              
343                         #address-cells = <1>;     
344                         #size-cells = <0>;        
345                         reg = <2>;                
346                 };                                
347                 i2c0mux2ch3: i2c@3 {              
348                         #address-cells = <1>;     
349                         #size-cells = <0>;        
350                         reg = <3>;                
351                 };                                
352         };                                        
353                                                   
354         i2c-mux@75 {                              
355                 compatible = "nxp,pca9546";       
356                 reg = <0x75>;                     
357                 #address-cells = <1>;             
358                 #size-cells = <0>;                
359                                                   
360                 i2c0mux3ch0: i2c@0 {              
361                         #address-cells = <1>;     
362                         #size-cells = <0>;        
363                         reg = <0>;                
364                 };                                
365                 i2c0mux3ch1: i2c@1 {              
366                         #address-cells = <1>;     
367                         #size-cells = <0>;        
368                         reg = <1>;                
369                 };                                
370                 i2c0mux3ch2: i2c@2 {              
371                         #address-cells = <1>;     
372                         #size-cells = <0>;        
373                         reg = <2>;                
374                 };                                
375                 i2c0mux3ch3: i2c@3 {              
376                         #address-cells = <1>;     
377                         #size-cells = <0>;        
378                         reg = <3>;                
379                 };                                
380         };                                        
381                                                   
382         i2c-mux@76 {                              
383                 compatible = "nxp,pca9546";       
384                 reg = <0x76>;                     
385                 #address-cells = <1>;             
386                 #size-cells = <0>;                
387                                                   
388                 i2c0mux4ch0: i2c@0 {              
389                         #address-cells = <1>;     
390                         #size-cells = <0>;        
391                         reg = <0>;                
392                 };                                
393                 i2c0mux4ch1: i2c@1 {              
394                         #address-cells = <1>;     
395                         #size-cells = <0>;        
396                         reg = <1>;                
397                                                   
398                         // IO Mezz 1 IOEXP        
399                         io_expander8: gpio@21     
400                                 compatible = "    
401                                 reg = <0x21>;     
402                                 gpio-controlle    
403                                 #gpio-cells =     
404                         };                        
405                                                   
406                         // IO Mezz 1 FRU EEPRO    
407                         eeprom@50 {               
408                                 compatible = "    
409                                 reg = <0x50>;     
410                         };                        
411                 };                                
412                 i2c0mux4ch2: i2c@2 {              
413                         #address-cells = <1>;     
414                         #size-cells = <0>;        
415                         reg = <2>;                
416                 };                                
417                 i2c0mux4ch3: i2c@3 {              
418                         #address-cells = <1>;     
419                         #size-cells = <0>;        
420                         reg = <3>;                
421                 };                                
422         };                                        
423                                                   
424         i2c-mux@77 {                              
425                 compatible = "nxp,pca9546";       
426                 reg = <0x77>;                     
427                 #address-cells = <1>;             
428                 #size-cells = <0>;                
429                                                   
430                 i2c0mux5ch0: i2c@0 {              
431                         #address-cells = <1>;     
432                         #size-cells = <0>;        
433                         reg = <0>;                
434                 };                                
435                 i2c0mux5ch1: i2c@1 {              
436                         #address-cells = <1>;     
437                         #size-cells = <0>;        
438                         reg = <1>;                
439                 };                                
440                 i2c0mux5ch2: i2c@2 {              
441                         #address-cells = <1>;     
442                         #size-cells = <0>;        
443                         reg = <2>;                
444                 };                                
445                 i2c0mux5ch3: i2c@3 {              
446                         #address-cells = <1>;     
447                         #size-cells = <0>;        
448                         reg = <3>;                
449                 };                                
450         };                                        
451 };                                                
452                                                   
453 &i2c1 {                                           
454         status = "okay";                          
455         i2c-mux@70 {                              
456                 compatible = "nxp,pca9548";       
457                 #address-cells = <1>;             
458                 #size-cells = <0>;                
459                 reg = <0x70>;                     
460                 i2c-mux-idle-disconnect;          
461                                                   
462                 i2c1mux0ch0: i2c@0 {              
463                         #address-cells = <1>;     
464                         #size-cells = <0>;        
465                         reg = <0x0>;              
466                                                   
467                         power-sensor@41 {         
468                                 compatible = "    
469                                 reg = <0x41>;     
470                                 shunt-resistor    
471                         };                        
472                         power-sensor@42 {         
473                                 compatible = "    
474                                 reg = <0x42>;     
475                                 shunt-resistor    
476                         };                        
477                         power-sensor@44 {         
478                                 compatible = "    
479                                 reg = <0x44>;     
480                                 shunt-resistor    
481                         };                        
482                 };                                
483                 i2c1mux0ch1: i2c@1 {              
484                         #address-cells = <1>;     
485                         #size-cells = <0>;        
486                         reg = <0x1>;              
487                                                   
488                         power-sensor@41 {         
489                                 compatible = "    
490                                 reg = <0x41>;     
491                         };                        
492                         power-sensor@43 {         
493                                 compatible = "    
494                                 reg = <0x43>;     
495                         };                        
496                 };                                
497                 i2c1mux0ch2: i2c@2 {              
498                         #address-cells = <1>;     
499                         #size-cells = <0>;        
500                         reg = <0x2>;              
501                 };                                
502                 i2c1mux0ch3: i2c@3 {              
503                         #address-cells = <1>;     
504                         #size-cells = <0>;        
505                         reg = <0x3>;              
506                 };                                
507                 i2c1mux0ch4: i2c@4 {              
508                         #address-cells = <1>;     
509                         #size-cells = <0>;        
510                         reg = <0x4>;              
511                                                   
512                         power-monitor@42 {        
513                                 compatible = "    
514                                 reg = <0x42>;     
515                                 shunt-resistor    
516                         };                        
517                         power-monitor@43 {        
518                                 compatible = "    
519                                 reg = <0x43>;     
520                                 shunt-resistor    
521                         };                        
522                 };                                
523                 i2c1mux0ch5: i2c@5 {              
524                         #address-cells = <1>;     
525                         #size-cells = <0>;        
526                         reg = <0x5>;              
527                                                   
528                         // PDB FRU EEPROM         
529                         eeprom@54 {               
530                                 compatible = "    
531                                 reg = <0x54>;     
532                         };                        
533                                                   
534                         // PDB TEMP SENSOR        
535                         temperature-sensor@4f     
536                                 compatible = "    
537                                 reg = <0x4f>;     
538                         };                        
539                 };                                
540                 i2c1mux0ch6: i2c@6 {              
541                         #address-cells = <1>;     
542                         #size-cells = <0>;        
543                         reg = <0x6>;              
544                                                   
545                         // PDB IOEXP              
546                         io_expander5: gpio@27     
547                                 compatible = "    
548                                 reg = <0x27>;     
549                                 gpio-controlle    
550                                 #gpio-cells =     
551                         };                        
552                                                   
553                         // OSFP IOEXP             
554                         io_expander6: gpio@25     
555                                 compatible = "    
556                                 reg = <0x25>;     
557                                 gpio-controlle    
558                                 #gpio-cells =     
559                         };                        
560                                                   
561                         // OSFP FRU EEPROM        
562                         eeprom@51 {               
563                                 compatible = "    
564                                 reg = <0x51>;     
565                         };                        
566                 };                                
567                 i2c1mux0ch7: i2c@7 {              
568                         #address-cells = <1>;     
569                         #size-cells = <0>;        
570                         reg = <0x7>;              
571                                                   
572                         // FIO FRU EEPROM         
573                         eeprom@53 {               
574                                 compatible = "    
575                                 reg = <0x53>;     
576                         };                        
577                                                   
578                         // FIO TEMP SENSOR        
579                         temperature-sensor@4b     
580                                 compatible = "    
581                                 reg = <0x4b>;     
582                         };                        
583                 };                                
584         };                                        
585 };                                                
586                                                   
587 &i2c2 {                                           
588         status = "okay";                          
589                                                   
590         // Module 0 IOEXP                         
591         io_expander0: gpio@20 {                   
592                 compatible = "nxp,pca9555";       
593                 reg = <0x20>;                     
594                 gpio-controller;                  
595                 #gpio-cells = <2>;                
596                 interrupt-parent = <&gpio0>;      
597                 interrupts = <ASPEED_GPIO(B, 4    
598         };                                        
599                                                   
600         // Module 1 IOEXP                         
601         io_expander1: gpio@21 {                   
602                 compatible = "nxp,pca9555";       
603                 reg = <0x21>;                     
604                 gpio-controller;                  
605                 #gpio-cells = <2>;                
606                 interrupt-parent = <&gpio0>;      
607                 interrupts = <ASPEED_GPIO(B, 4    
608         };                                        
609                                                   
610         // HMC IOEXP                              
611         io_expander2: gpio@27 {                   
612                 compatible = "nxp,pca9555";       
613                 reg = <0x27>;                     
614                 gpio-controller;                  
615                 #gpio-cells = <2>;                
616                 interrupt-parent = <&gpio0>;      
617                 interrupts = <ASPEED_GPIO(B, 4    
618         };                                        
619                                                   
620         // Module 0 EEPROM                        
621         eeprom@50 {                               
622                 compatible = "atmel,24c64";       
623                 reg = <0x50>;                     
624         };                                        
625                                                   
626         // Module 1 EEPROM                        
627         eeprom@51 {                               
628                 compatible = "atmel,24c64";       
629                 reg = <0x51>;                     
630         };                                        
631 };                                                
632                                                   
633 &i2c3 {                                           
634         status = "okay";                          
635 };                                                
636                                                   
637 &i2c4 {                                           
638         status = "okay";                          
639 };                                                
640                                                   
641 &i2c5 {                                           
642         status = "okay";                          
643 };                                                
644                                                   
645 &i2c6 {                                           
646         status = "okay";                          
647                                                   
648         // BMC IOEXP on Module 0                  
649         io_expander3: gpio@21 {                   
650                 compatible = "nxp,pca9555";       
651                 reg = <0x21>;                     
652                 gpio-controller;                  
653                 #gpio-cells = <2>;                
654         };                                        
655                                                   
656         rtc@6f {                                  
657                 compatible = "nuvoton,nct3018y    
658                 reg = <0x6f>;                     
659         };                                        
660 };                                                
661                                                   
662 &i2c7 {                                           
663         status = "okay";                          
664 };                                                
665                                                   
666 &i2c8 {                                           
667         status = "okay";                          
668 };                                                
669                                                   
670 &i2c9 {                                           
671         status = "okay";                          
672                                                   
673         // SCM CPLD IOEXP                         
674         io_expander4: gpio@4f {                   
675                 compatible = "nxp,pca9555";       
676                 reg = <0x4f>;                     
677                 gpio-controller;                  
678                 #gpio-cells = <2>;                
679         };                                        
680                                                   
681         // SCM TEMP SENSOR                        
682         temperature-sensor@4b {                   
683                 compatible = "ti,tmp75";          
684                 reg = <0x4b>;                     
685         };                                        
686                                                   
687         // SCM FRU EEPROM                         
688         eeprom@50 {                               
689                 compatible = "atmel,24c64";       
690                 reg = <0x50>;                     
691         };                                        
692                                                   
693         // BSM FRU EEPROM                         
694         eeprom@56 {                               
695                 compatible = "atmel,24c64";       
696                 reg = <0x56>;                     
697         };                                        
698 };                                                
699                                                   
700 &i2c10 {                                          
701         status = "okay";                          
702                                                   
703         // OCP NIC0 TEMP                          
704         temperature-sensor@1f {                   
705                 compatible = "ti,tmp421";         
706                 reg = <0x1f>;                     
707         };                                        
708                                                   
709         // OCP NIC0 FRU EEPROM                    
710         eeprom@50 {                               
711                 compatible = "atmel,24c64";       
712                 reg = <0x50>;                     
713         };                                        
714 };                                                
715                                                   
716 &i2c11 {                                          
717         status = "okay";                          
718                                                   
719         ssif-bmc@10 {                             
720                 compatible = "ssif-bmc";          
721                 reg = <0x10>;                     
722         };                                        
723 };                                                
724                                                   
725 &i2c12 {                                          
726         status = "okay";                          
727                                                   
728         // Module 1 FRU EEPROM                    
729         eeprom@50 {                               
730                 compatible = "atmel,24c64";       
731                 reg = <0x50>;                     
732         };                                        
733 };                                                
734                                                   
735 &i2c13 {                                          
736         status = "okay";                          
737                                                   
738         // Module 0 FRU EEPROM                    
739         eeprom@50 {                               
740                 compatible = "atmel,24c64";       
741                 reg = <0x50>;                     
742         };                                        
743                                                   
744         // Left CBC FRU EEPROM                    
745         eeprom@54 {                               
746                 compatible = "atmel,24c02";       
747                 reg = <0x54>;                     
748         };                                        
749                                                   
750         // Right CBC FRU EEPROM                   
751         eeprom@55 {                               
752                 compatible = "atmel,24c02";       
753                 reg = <0x55>;                     
754         };                                        
755                                                   
756         // HMC FRU EEPROM                         
757         eeprom@57 {                               
758                 compatible = "atmel,24c02";       
759                 reg = <0x57>;                     
760         };                                        
761 };                                                
762                                                   
763 &i2c14 {                                          
764         status = "okay";                          
765                                                   
766         // PDB CPLD IOEXP 0x10                    
767         io_expander9: gpio@10 {                   
768                 compatible = "nxp,pca9555";       
769                 interrupt-parent = <&gpio0>;      
770                 interrupts = <ASPEED_GPIO(I, 6    
771                 reg = <0x10>;                     
772                 gpio-controller;                  
773                 #gpio-cells = <2>;                
774         };                                        
775                                                   
776         // PDB CPLD IOEXP 0x11                    
777         io_expander10: gpio@11 {                  
778                 compatible = "nxp,pca9555";       
779                 interrupt-parent = <&gpio0>;      
780                 interrupts = <ASPEED_GPIO(I, 6    
781                 reg = <0x11>;                     
782                 gpio-controller;                  
783                 #gpio-cells = <2>;                
784         };                                        
785                                                   
786         // PDB CPLD IOEXP 0x12                    
787         io_expander11: gpio@12 {                  
788                 compatible = "nxp,pca9555";       
789                 interrupt-parent = <&gpio0>;      
790                 interrupts = <ASPEED_GPIO(I, 6    
791                 reg = <0x12>;                     
792                 gpio-controller;                  
793                 #gpio-cells = <2>;                
794         };                                        
795                                                   
796         // PDB CPLD IOEXP 0x13                    
797         io_expander12: gpio@13 {                  
798                 compatible = "nxp,pca9555";       
799                 interrupt-parent = <&gpio0>;      
800                 interrupts = <ASPEED_GPIO(I, 6    
801                 reg = <0x13>;                     
802                 gpio-controller;                  
803                 #gpio-cells = <2>;                
804         };                                        
805                                                   
806         // PDB CPLD IOEXP 0x14                    
807         io_expander13: gpio@14 {                  
808                 compatible = "nxp,pca9555";       
809                 interrupt-parent = <&gpio0>;      
810                 interrupts = <ASPEED_GPIO(I, 6    
811                 reg = <0x14>;                     
812                 gpio-controller;                  
813                 #gpio-cells = <2>;                
814         };                                        
815                                                   
816         // PDB CPLD IOEXP 0x15                    
817         io_expander14: gpio@15 {                  
818                 compatible = "nxp,pca9555";       
819                 interrupt-parent = <&gpio0>;      
820                 interrupts = <ASPEED_GPIO(I, 6    
821                 reg = <0x15>;                     
822                 gpio-controller;                  
823                 #gpio-cells = <2>;                
824         };                                        
825 };                                                
826                                                   
827 &i2c15 {                                          
828         status = "okay";                          
829                                                   
830         // OCP NIC1 TEMP                          
831         temperature-sensor@1f {                   
832                 compatible = "ti,tmp421";         
833                 reg = <0x1f>;                     
834         };                                        
835                                                   
836         // OCP NIC1 FRU EEPROM                    
837         eeprom@50 {                               
838                 compatible = "atmel,24c64";       
839                 reg = <0x50>;                     
840         };                                        
841 };                                                
842                                                   
843 &adc0 {                                           
844         vref-supply = <&p1v8_bmc_aux>;            
845         status = "okay";                          
846                                                   
847         pinctrl-names = "default";                
848         pinctrl-0 = <&pinctrl_adc0_default &pi    
849                 &pinctrl_adc2_default &pinctrl    
850                 &pinctrl_adc4_default &pinctrl    
851                 &pinctrl_adc6_default &pinctrl    
852 };                                                
853                                                   
854 &adc1 {                                           
855         vref-supply = <&p2v5_bmc_aux>;            
856         status = "okay";                          
857                                                   
858         pinctrl-names = "default";                
859         pinctrl-0 = <&pinctrl_adc10_default>;     
860 };                                                
861                                                   
862 &ehci0 {                                          
863         status = "okay";                          
864 };                                                
865                                                   
866 &wdt1 {                                           
867         status = "okay";                          
868         pinctrl-names = "default";                
869         pinctrl-0 = <&pinctrl_wdtrst1_default>    
870         aspeed,reset-type = "soc";                
871         aspeed,external-signal;                   
872         aspeed,ext-push-pull;                     
873         aspeed,ext-active-high;                   
874         aspeed,ext-pulse-duration = <256>;        
875 };                                                
876                                                   
877 &pinctrl {                                        
878         pinctrl_ncsi3_default: ncsi3_default {    
879                 function = "RMII3";               
880                 groups = "NCSI3";                 
881         };                                        
882                                                   
883         pinctrl_ncsi4_default: ncsi4_default {    
884                 function = "RMII4";               
885                 groups = "NCSI4";                 
886         };                                        
887 };                                                
888                                                   
889 &gpio0 {                                          
890         gpio-line-names =                         
891         /*A0-A7*/       "","","","","","","","    
892         /*B0-B7*/       "BATTERY_DETECT","PRSN    
893                         "BMC_I2C1_FPGA_ALERT_L    
894                         "IOEXP_INT_L","FM_ID_L    
895                         "","",                    
896         /*C0-C7*/       "","","","",              
897                         "PMBUS_REQ_N","PSU_FW_    
898                         "","BMC_I2C_SSIF_ALERT    
899         /*D0-D7*/       "","","","","","","","    
900         /*E0-E7*/       "","","","","","","","    
901         /*F0-F7*/       "","","","","","","","    
902         /*G0-G7*/       "","","","","","",        
903                         "FM_DEBUG_PORT_PRSNT_N    
904         /*H0-H7*/       "PWR_BRAKE_L","RUN_POW    
905                         "SHDN_FORCE_L","SHDN_R    
906                         "","","","",              
907         /*I0-I7*/       "","","","",              
908                         "","FLASH_WP_STATUS",     
909                         "FM_PDB_HEALTH_N","RUN    
910         /*J0-J7*/       "","","","","","","","    
911         /*K0-K7*/       "","","","","","","","    
912         /*L0-L7*/       "","","","","","","","    
913         /*M0-M7*/       "PCIE_EP_RST_EN","BMC_    
914                         "SCM_HPM_STBY_RST_N","    
915                         "STBY_POWER_PG_3V3","T    
916         /*N0-N7*/       "LED_POSTCODE_0","LED_    
917                         "LED_POSTCODE_2","LED_    
918                         "LED_POSTCODE_4","LED_    
919                         "LED_POSTCODE_6","LED_    
920         /*O0-O7*/       "HMC_I2C3_FPGA_ALERT_L    
921                         "CHASSIS_AC_LOSS_L","B    
922                         "PSU_SMB_ALERT_L","FM_    
923                         "","USBDBG_IPMI_EN_L",    
924         /*P0-P7*/       "PWR_BTN_BMC_N","IPEX_    
925                         "ID_RST_BTN_BMC_N","RS    
926                         "host0-ready","BMC_REA    
927         /*Q0-Q7*/       "IRQ_PCH_TPM_SPI_N","U    
928                         "UART_MUX_SEL","I2C_MU    
929                         "RSVD_NV_PLT_DETECT","    
930                         "CPU_JTAG_MUX_SELECT",    
931         /*R0-R7*/       "THERM_BB_WARN_L","SPI    
932                         "CPU_BOOT_DONE","PMBUS    
933                         "CHASSIS_PWR_BRK_L","P    
934                         "PDB_THERM_OVERT_L","H    
935         /*S0-S7*/       "","","SYS_BMC_PWRBTN_    
936                         "FM_BMC_DEBUG_SW_N","U    
937                         "SYS_FAULT_LED_N","RUN    
938         /*T0-T7*/       "","","","","","","","    
939         /*U0-U7*/       "","","","","","","","    
940         /*V0-V7*/       "L2_RST_REQ_OUT_L","L0    
941                         "BMC_ID_BEEP_SEL","BMC    
942                         "SMB_BMC_TMP_ALERT","P    
943                         "SYS_RST_OUT_L","IRQ_T    
944         /*W0-W7*/       "","","","","","","","    
945         /*X0-X7*/       "","","","","","","","    
946         /*Y0-Y7*/       "","RST_BMC_SELF_HW",     
947                         "FM_FLASH_LATCH_N","BM    
948                         "","","","",              
949         /*Z0-Z7*/       "","","","","","","","    
950 };                                                
951                                                   
952 &io_expander0 {                                   
953         gpio-line-names =                         
954                 "FPGA_THERM_OVERT_L","FPGA_REA    
955                 "HMC_BMC_DETECT","HMC_PGOOD",     
956                 "","BMC_SELF_PWR_CYCLE",          
957                 "FPGA_EROT_FATAL_ERROR_L","WP_    
958                 "EROT_FPGA_RST_L","FPGA_EROT_R    
959                 "BMC_EROT_FPGA_SPI_MUX_SEL","U    
960                 "NCSI_CS1_SEL","SGPIO_EN_L",      
961                 "B2B_IOEXP_INT_L","I2C_BUS_MUX    
962 };                                                
963                                                   
964 &io_expander1 {                                   
965         gpio-line-names =                         
966                 "SEC_FPGA_THERM_OVERT_L","SEC_    
967                 "","",                            
968                 "","",                            
969                 "SEC_FPGA_EROT_FATAL_ERROR_L",    
970                 "SEC_EROT_FPGA_RST_L","SEC_FPG    
971                 "SEC_BMC_EROT_FPGA_SPI_MUX_SEL    
972                 "","",                            
973                 "","SEC_I2C_BUS_MUX_RESET_L";     
974 };                                                
975                                                   
976 &io_expander2 {                                   
977         gpio-line-names =                         
978                 "HMC_PRSNT_L","HMC_READY",        
979                 "HMC_EROT_FATAL_ERROR_L","I2C_    
980                 "HMC_EROT_SPI_MUX_SEL","HMC_ER    
981                 "HMC_EROT_RST_L","GLOBAL_WP_HM    
982                 "FPGA_RST_L","USB2_HUB_RST",      
983                 "CPU_UART_MUX_SEL","",            
984                 "","","","";                      
985 };                                                
986                                                   
987 &io_expander3 {                                   
988         gpio-line-names =                         
989                 "RTC_MUX_SEL","PCI_MUX_SEL","T    
990                 "SGMII_MUX_SEL","DP_MUX_SEL","    
991                 "BMC_PHY_RST","RTC_CLR_L","BMC    
992                 "","","","";                      
993 };                                                
994                                                   
995 &io_expander4 {                                   
996         gpio-line-names =                         
997                 "stby_power_en_cpld","stby_pow    
998                 "","","","",                      
999                 "","","","",                      
1000                 "","","","";                     
1001 };                                               
1002                                                  
1003 &io_expander5 {                                  
1004         gpio-line-names =                        
1005                 "JTAG_MUX_SEL","IOX_BMC_RESET    
1006                 "","","","";                     
1007 };                                               
1008                                                  
1009 &io_expander6 {                                  
1010         gpio-line-names =                        
1011                 "OSFP_PHASE_ID0","OSFP_PHASE_    
1012                 "OSFP_PHASE_ID2","OSFP_PHASE_    
1013                 "","","","",                     
1014                 "OSFP_BOARD_ID0","OSFP_BOARD_    
1015                 "OSFP_BOARD_ID2","PWRGD_P3V3_    
1016                 "PWRGD_P3V3_N2","","","";        
1017 };                                               
1018                                                  
1019 &io_expander7 {                                  
1020         gpio-line-names =                        
1021                 "RST_CX7_0","RST_CX7_1",         
1022                 "CX0_SSD0_PRSNT_L","CX1_SSD1_    
1023                 "CX_BOOT_CMPLT_CX0","CX_BOOT_    
1024                 "CX_TWARN_CX0_L","CX_TWARN_CX    
1025                 "CX_OVT_SHDN_CX0","CX_OVT_SHD    
1026                 "FNP_L_CX0","FNP_L_CX1",         
1027                 "","MCU_GPIO","MCU_RST_N","MC    
1028 };                                               
1029                                                  
1030 &io_expander8 {                                  
1031         gpio-line-names =                        
1032                 "SEC_RST_CX7_0","SEC_RST_CX7_    
1033                 "SEC_CX0_SSD0_PRSNT_L","SEC_C    
1034                 "SEC_CX_BOOT_CMPLT_CX0","SEC_    
1035                 "SEC_CX_TWARN_CX0_L","SEC_CX_    
1036                 "SEC_CX_OVT_SHDN_CX0","SEC_CX    
1037                 "SEC_FNP_L_CX0","SEC_FNP_L_CX    
1038                 "","SEC_MCU_GPIO","SEC_MCU_RS    
1039 };                                               
1040                                                  
1041 &io_expander9 {                                  
1042         gpio-line-names =                        
1043                 "LEAK3_DETECT_R","LEAK1_DETEC    
1044                 "LEAK2_DETECT_R","LEAK0_DETEC    
1045                 "CHASSIS3_LEAK_Q_N_PLD","CHAS    
1046                 "CHASSIS2_LEAK_Q_N_PLD","CHAS    
1047                 "P12V_AUX_FAN_ALERT_PLD_N","P    
1048                 "P12V_AUX_FAN_FAULT_PLD_N","L    
1049                 "RSVD_RMC_GPIO3_R","SMB_RJ45_    
1050                 "","";                           
1051 };                                               
1052                                                  
1053 &io_expander10 {                                 
1054         gpio-line-names =                        
1055                 "FM_P12V_NIC1_FLTB_R_N","FM_P    
1056                 "OCP_V3_2_PWRBRK_FROM_HOST_IS    
1057                 "P12V_AUX_NIC1_SENSE_ALERT_R_    
1058                 "FM_P12V_NIC0_FLTB_R_N","FM_P    
1059                 "OCP_SFF_PWRBRK_FROM_HOST_ISO    
1060                 "P12V_AUX_NIC0_SENSE_ALERT_R_    
1061                 "P12V_AUX_PSU_SMB_ALERT_R_L",    
1062                 "NODEB_PSU_SMB_ALERT_R_L","NO    
1063                 "P52V_SENSE_ALERT_PLD_N","P48    
1064                 "P48V_HS1_FAULT_N_PLD","";       
1065 };                                               
1066                                                  
1067 &io_expander11 {                                 
1068         gpio-line-names =                        
1069                 "FAN_7_PRESENT_N","FAN_6_PRES    
1070                 "FAN_5_PRESENT_N","FAN_4_PRES    
1071                 "FAN_3_PRESENT_N","FAN_2_PRES    
1072                 "FAN_1_PRESENT_N","FAN_0_PRES    
1073                 "PRSNT_CHASSIS3_LEAK_CABLE_R_    
1074                 "PRSNT_CHASSIS2_LEAK_CABLE_R_    
1075                 "PRSNT_RJ45_FIO_N_R","PRSNT_H    
1076                 "PRSNT_OSFP_POWER_CABLE_N",""    
1077 };                                               
1078                                                  
1079 &io_expander12 {                                 
1080         gpio-line-names =                        
1081                 "RST_OCP_V3_1_R_N","NIC0_PERS    
1082                 "OCP_SFF_PERST_FROM_HOST_ISO_    
1083                 "FM_OCP_SFF_PWR_GOOD_PLD","OC    
1084                 "HP_LVC3_OCP_V3_1_PWRGD_PLD",    
1085                 "RST_OCP_V3_2_R_N","NIC1_PERS    
1086                 "OCP_V3_2_PERST_FROM_HOST_ISO    
1087                 "FM_OCP_V3_2_PWR_GOOD_PLD","O    
1088                 "HP_LVC3_OCP_V3_2_PWRGD_PLD",    
1089 };                                               
1090                                                  
1091 &io_expander13 {                                 
1092         gpio-line-names =                        
1093                 "NODEA_NODEB_PWOK_PLD_ISO_R",    
1094                 "PWRGD_P12V_AUX_FAN_PLD","P12    
1095                 "PWRGD_P3V3_AUX_PLD","PWRGD_P    
1096                 "FM_MAIN_PWREN_FROM_RMC_R","F    
1097                 "PWRGD_RMC_R","PWRGD_P12V_AUX    
1098                 "P12V_AUX_FAN_EN_PLD","FM_SYS    
1099                 "HP_LVC3_OCP_V3_2_PRSNT2_PLD_    
1100                 "","";                           
1101 };                                               
1102                                                  
1103 &io_expander14 {                                 
1104         gpio-line-names =                        
1105                 "","","","","","","","",         
1106                 "FM_BOARD_BMC_SKU_ID3","FM_BO    
1107                 "FM_BOARD_BMC_SKU_ID1","FM_BO    
1108                 "FAB_BMC_REV_ID2","FAB_BMC_RE    
1109                 "FAB_BMC_REV_ID0","";            
1110 };                                               
                                                      

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