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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.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/serial/snps-dw-apb-uart.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml (Version linux-4.15.18)


  1 # SPDX-License-Identifier: GPL-2.0                
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/serial/snps    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: Synopsys DesignWare ABP UART               
  8                                                   
  9 maintainers:                                      
 10   - Rob Herring <robh@kernel.org>                  
 11                                                   
 12 allOf:                                            
 13   - $ref: serial.yaml#                            
 14   - $ref: rs485.yaml#                             
 15                                                   
 16   - if:                                           
 17       properties:                                 
 18         compatible:                               
 19           contains:                               
 20             const: starfive,jh7110-uart           
 21     then:                                         
 22       properties:                                 
 23         resets:                                   
 24           minItems: 2                             
 25     else:                                         
 26       properties:                                 
 27         resets:                                   
 28           maxItems: 1                             
 29                                                   
 30 properties:                                       
 31   compatible:                                     
 32     oneOf:                                        
 33       - items:                                    
 34           - enum:                                 
 35               - renesas,r9a06g032-uart            
 36               - renesas,r9a06g033-uart            
 37           - const: renesas,rzn1-uart              
 38       - items:                                    
 39           - enum:                                 
 40               - rockchip,px30-uart                
 41               - rockchip,rk1808-uart              
 42               - rockchip,rk3036-uart              
 43               - rockchip,rk3066-uart              
 44               - rockchip,rk3128-uart              
 45               - rockchip,rk3188-uart              
 46               - rockchip,rk3288-uart              
 47               - rockchip,rk3308-uart              
 48               - rockchip,rk3328-uart              
 49               - rockchip,rk3368-uart              
 50               - rockchip,rk3399-uart              
 51               - rockchip,rk3568-uart              
 52               - rockchip,rk3588-uart              
 53               - rockchip,rv1108-uart              
 54               - rockchip,rv1126-uart              
 55           - const: snps,dw-apb-uart               
 56       - items:                                    
 57           - enum:                                 
 58               - brcm,bcm11351-dw-apb-uart         
 59               - brcm,bcm21664-dw-apb-uart         
 60           - const: snps,dw-apb-uart               
 61       - items:                                    
 62           - enum:                                 
 63               - starfive,jh7100-hsuart            
 64               - starfive,jh7100-uart              
 65               - starfive,jh7110-uart              
 66           - const: snps,dw-apb-uart               
 67       - const: snps,dw-apb-uart                   
 68                                                   
 69   reg:                                            
 70     maxItems: 1                                   
 71                                                   
 72   interrupts:                                     
 73     maxItems: 1                                   
 74                                                   
 75   clock-frequency: true                           
 76                                                   
 77   clocks:                                         
 78     minItems: 1                                   
 79     maxItems: 2                                   
 80                                                   
 81   clock-names:                                    
 82     items:                                        
 83       - const: baudclk                            
 84       - const: apb_pclk                           
 85                                                   
 86   dmas:                                           
 87     maxItems: 2                                   
 88                                                   
 89   dma-names:                                      
 90     items:                                        
 91       - const: tx                                 
 92       - const: rx                                 
 93                                                   
 94   snps,uart-16550-compatible:                     
 95     description: reflects the value of UART_16    
 96       parameter. Define this if your UART does    
 97     type: boolean                                 
 98                                                   
 99   resets:                                         
100     minItems: 1                                   
101     maxItems: 2                                   
102                                                   
103   reg-shift: true                                 
104                                                   
105   reg-io-width: true                              
106                                                   
107   dcd-override:                                   
108     description: Override the DCD modem status    
109       always be reported as active instead of     
110       status register. Define this if your ser    
111       pin.                                        
112     type: boolean                                 
113                                                   
114   dsr-override:                                   
115     description: Override the DTS modem status    
116       always be reported as active instead of     
117       status register. Define this if your ser    
118       pin.                                        
119     type: boolean                                 
120                                                   
121   cts-override:                                   
122     description: Override the CTS modem status    
123       always be reported as active instead of     
124       status register. Define this if your ser    
125       pin.                                        
126     type: boolean                                 
127                                                   
128   ri-override:                                    
129     description: Override the RI modem status     
130       be reported as inactive instead of being    
131       register. Define this if your serial por    
132     type: boolean                                 
133                                                   
134 required:                                         
135   - compatible                                    
136   - reg                                           
137                                                   
138 unevaluatedProperties: false                      
139                                                   
140 examples:                                         
141   - |                                             
142     serial@80230000 {                             
143       compatible = "snps,dw-apb-uart";            
144       reg = <0x80230000 0x100>;                   
145       clock-frequency = <3686400>;                
146       interrupts = <10>;                          
147       reg-shift = <2>;                            
148       reg-io-width = <4>;                         
149       dcd-override;                               
150       dsr-override;                               
151       cts-override;                               
152       ri-override;                                
153     };                                            
154                                                   
155   - |                                             
156     // Example with one clock:                    
157     serial@80230000 {                             
158       compatible = "snps,dw-apb-uart";            
159       reg = <0x80230000 0x100>;                   
160       clocks = <&baudclk>;                        
161       interrupts = <10>;                          
162       reg-shift = <2>;                            
163       reg-io-width = <4>;                         
164     };                                            
165                                                   
166   - |                                             
167     // Example with two clocks:                   
168     serial@80230000 {                             
169       compatible = "snps,dw-apb-uart";            
170       reg = <0x80230000 0x100>;                   
171       clocks = <&baudclk>, <&apb_pclk>;           
172       clock-names = "baudclk", "apb_pclk";        
173       interrupts = <10>;                          
174       reg-shift = <2>;                            
175       reg-io-width = <4>;                         
176     };                                            
177 ...                                               
                                                      

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