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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.yaml

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 /Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.yaml (Version linux-4.15.18)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD    
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/pinctrl/msc    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: Microsemi Ocelot pin controller            
  8                                                   
  9 maintainers:                                      
 10   - Alexandre Belloni <alexandre.belloni@bootli    
 11   - Lars Povlsen <lars.povlsen@microchip.com>      
 12                                                   
 13 properties:                                       
 14   compatible:                                     
 15     enum:                                         
 16       - microchip,lan966x-pinctrl                 
 17       - microchip,sparx5-pinctrl                  
 18       - mscc,jaguar2-pinctrl                      
 19       - mscc,luton-pinctrl                        
 20       - mscc,ocelot-pinctrl                       
 21       - mscc,serval-pinctrl                       
 22       - mscc,servalt-pinctrl                      
 23                                                   
 24   reg:                                            
 25     items:                                        
 26       - description: Base address                 
 27       - description: Extended pin configuratio    
 28     minItems: 1                                   
 29                                                   
 30   gpio-controller: true                           
 31                                                   
 32   '#gpio-cells':                                  
 33     const: 2                                      
 34                                                   
 35   gpio-ranges: true                               
 36                                                   
 37   interrupts:                                     
 38     maxItems: 1                                   
 39                                                   
 40   interrupt-controller: true                      
 41                                                   
 42   "#interrupt-cells":                             
 43     const: 2                                      
 44                                                   
 45   resets:                                         
 46     maxItems: 1                                   
 47                                                   
 48   reset-names:                                    
 49     description: Optional shared switch reset.    
 50     items:                                        
 51       - const: switch                             
 52                                                   
 53 patternProperties:                                
 54   '-pins$':                                       
 55     type: object                                  
 56     allOf:                                        
 57       - $ref: pinmux-node.yaml                    
 58       - $ref: pincfg-node.yaml                    
 59                                                   
 60     properties:                                   
 61       function: true                              
 62       pins: true                                  
 63       output-high: true                           
 64       output-low: true                            
 65       drive-strength: true                        
 66                                                   
 67     required:                                     
 68       - function                                  
 69       - pins                                      
 70                                                   
 71     additionalProperties: false                   
 72                                                   
 73 required:                                         
 74   - compatible                                    
 75   - reg                                           
 76   - gpio-controller                               
 77   - '#gpio-cells'                                 
 78   - gpio-ranges                                   
 79                                                   
 80 allOf:                                            
 81   - $ref: pinctrl.yaml#                           
 82   - if:                                           
 83       properties:                                 
 84         compatible:                               
 85           contains:                               
 86             enum:                                 
 87               - microchip,lan966x-pinctrl         
 88               - microchip,sparx5-pinctrl          
 89     then:                                         
 90       properties:                                 
 91         reg:                                      
 92           minItems: 2                             
 93                                                   
 94 additionalProperties: false                       
 95                                                   
 96 examples:                                         
 97   - |                                             
 98     gpio: pinctrl@71070034 {                      
 99         compatible = "mscc,ocelot-pinctrl";       
100         reg = <0x71070034 0x28>;                  
101         gpio-controller;                          
102         #gpio-cells = <2>;                        
103         gpio-ranges = <&gpio 0 0 22>;             
104                                                   
105         uart_pins: uart-pins {                    
106             pins = "GPIO_6", "GPIO_7";            
107             function = "uart";                    
108         };                                        
109                                                   
110         uart2_pins: uart2-pins {                  
111             pins = "GPIO_12", "GPIO_13";          
112             function = "uart2";                   
113         };                                        
114     };                                            
115                                                   
116 ...                                               
                                                      

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