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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/renesas,etheravb.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/net/renesas,etheravb.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/net/renesas,etheravb.yaml (Version linux-5.6.19)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS    
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/net/renesas    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: Renesas Ethernet AVB                       
  8                                                   
  9 maintainers:                                      
 10   - Sergei Shtylyov <sergei.shtylyov@gmail.com>    
 11                                                   
 12 properties:                                       
 13   compatible:                                     
 14     oneOf:                                        
 15       - items:                                    
 16           - enum:                                 
 17               - renesas,etheravb-r8a7742          
 18               - renesas,etheravb-r8a7743          
 19               - renesas,etheravb-r8a7744          
 20               - renesas,etheravb-r8a7745          
 21               - renesas,etheravb-r8a77470         
 22               - renesas,etheravb-r8a7790          
 23               - renesas,etheravb-r8a7791          
 24               - renesas,etheravb-r8a7792          
 25               - renesas,etheravb-r8a7793          
 26               - renesas,etheravb-r8a7794          
 27           - const: renesas,etheravb-rcar-gen2     
 28                                                   
 29       - items:                                    
 30           - enum:                                 
 31               - renesas,etheravb-r8a774a1         
 32               - renesas,etheravb-r8a774b1         
 33               - renesas,etheravb-r8a774c0         
 34               - renesas,etheravb-r8a774e1         
 35               - renesas,etheravb-r8a7795          
 36               - renesas,etheravb-r8a7796          
 37               - renesas,etheravb-r8a77961         
 38               - renesas,etheravb-r8a77965         
 39               - renesas,etheravb-r8a77970         
 40               - renesas,etheravb-r8a77980         
 41               - renesas,etheravb-r8a77990         
 42               - renesas,etheravb-r8a77995         
 43           - const: renesas,etheravb-rcar-gen3     
 44                                                   
 45       - items:                                    
 46           - enum:                                 
 47               - renesas,etheravb-r8a779a0         
 48               - renesas,etheravb-r8a779g0         
 49               - renesas,etheravb-r8a779h0         
 50           - const: renesas,etheravb-rcar-gen4     
 51                                                   
 52       - items:                                    
 53           - enum:                                 
 54               - renesas,etheravb-r9a09g011 # R    
 55           - const: renesas,etheravb-rzv2m  # R    
 56                                                   
 57       - items:                                    
 58           - enum:                                 
 59               - renesas,r9a07g043-gbeth # RZ/G    
 60               - renesas,r9a07g044-gbeth # RZ/G    
 61               - renesas,r9a07g054-gbeth # RZ/V    
 62               - renesas,r9a08g045-gbeth # RZ/G    
 63           - const: renesas,rzg2l-gbeth  # RZ/{    
 64                                                   
 65   reg:                                            
 66     minItems: 1                                   
 67     items:                                        
 68       - description: MAC register block           
 69       - description: Stream buffer                
 70                                                   
 71   interrupts:                                     
 72     minItems: 1                                   
 73     maxItems: 29                                  
 74                                                   
 75   interrupt-names:                                
 76     minItems: 1                                   
 77     maxItems: 29                                  
 78                                                   
 79   clocks:                                         
 80     minItems: 1                                   
 81     maxItems: 3                                   
 82                                                   
 83   clock-names:                                    
 84     minItems: 1                                   
 85     maxItems: 3                                   
 86                                                   
 87   iommus:                                         
 88     maxItems: 1                                   
 89                                                   
 90   power-domains:                                  
 91     maxItems: 1                                   
 92                                                   
 93   resets:                                         
 94     maxItems: 1                                   
 95                                                   
 96   phy-mode: true                                  
 97                                                   
 98   phy-handle: true                                
 99                                                   
100   '#address-cells':                               
101     description: Number of address cells for t    
102     const: 1                                      
103     deprecated: true                              
104                                                   
105   '#size-cells':                                  
106     description: Number of size cells on the M    
107     const: 0                                      
108     deprecated: true                              
109                                                   
110   mdio:                                           
111     $ref: /schemas/net/mdio.yaml#                 
112     unevaluatedProperties: false                  
113                                                   
114   renesas,no-ether-link:                          
115     type: boolean                                 
116     description:                                  
117       Specify when a board does not provide a     
118                                                   
119   renesas,ether-link-active-low:                  
120     type: boolean                                 
121     description:                                  
122       Specify when the AVB_LINK signal is acti    
123       active-high.                                
124                                                   
125   rx-internal-delay-ps:                           
126     enum: [0, 1800]                               
127                                                   
128   tx-internal-delay-ps:                           
129     enum: [0, 2000]                               
130                                                   
131 # In older bindings there where no mdio child-    
132 # and the PHY. To not fail older bindings acce    
133 # users should describe the PHY inside the mdi    
134 patternProperties:                                
135   "@[0-9a-f]$":                                   
136     type: object                                  
137     deprecated: true                              
138                                                   
139 required:                                         
140   - compatible                                    
141   - reg                                           
142   - interrupts                                    
143   - clocks                                        
144   - power-domains                                 
145   - resets                                        
146   - phy-mode                                      
147   - phy-handle                                    
148                                                   
149 allOf:                                            
150   - $ref: ethernet-controller.yaml#               
151                                                   
152   - if:                                           
153       properties:                                 
154         compatible:                               
155           contains:                               
156             enum:                                 
157               - renesas,etheravb-rcar-gen2        
158               - renesas,etheravb-r8a7795          
159               - renesas,etheravb-r8a7796          
160               - renesas,etheravb-r8a77961         
161               - renesas,etheravb-r8a77965         
162     then:                                         
163       properties:                                 
164         reg:                                      
165           minItems: 2                             
166     else:                                         
167       properties:                                 
168         reg:                                      
169           maxItems: 1                             
170                                                   
171   - if:                                           
172       properties:                                 
173         compatible:                               
174           contains:                               
175             enum:                                 
176               - renesas,etheravb-rcar-gen2        
177               - renesas,rzg2l-gbeth               
178     then:                                         
179       properties:                                 
180         interrupts:                               
181           minItems: 1                             
182           maxItems: 3                             
183         interrupt-names:                          
184           minItems: 1                             
185           items:                                  
186             - const: mux                          
187             - const: fil                          
188             - const: arp_ns                       
189         rx-internal-delay-ps: false               
190     else:                                         
191       if:                                         
192         properties:                               
193           compatible:                             
194             contains:                             
195               const: renesas,etheravb-rzv2m       
196       then:                                       
197         properties:                               
198           interrupts:                             
199             minItems: 29                          
200             maxItems: 29                          
201           interrupt-names:                        
202             items:                                
203               pattern: '^(ch(1?)[0-9])|ch20|ch    
204           rx-internal-delay-ps: false             
205         required:                                 
206           - interrupt-names                       
207       else:                                       
208         properties:                               
209           interrupts:                             
210             minItems: 25                          
211             maxItems: 25                          
212           interrupt-names:                        
213             items:                                
214               pattern: '^ch[0-9]+$'               
215         required:                                 
216           - interrupt-names                       
217           - rx-internal-delay-ps                  
218                                                   
219   - if:                                           
220       properties:                                 
221         compatible:                               
222           contains:                               
223             enum:                                 
224               - renesas,etheravb-r8a774a1         
225               - renesas,etheravb-r8a774b1         
226               - renesas,etheravb-r8a774e1         
227               - renesas,etheravb-r8a7795          
228               - renesas,etheravb-r8a7796          
229               - renesas,etheravb-r8a77961         
230               - renesas,etheravb-r8a77965         
231               - renesas,etheravb-r8a77970         
232               - renesas,etheravb-r8a77980         
233               - renesas,etheravb-rcar-gen4        
234     then:                                         
235       required:                                   
236         - tx-internal-delay-ps                    
237     else:                                         
238       properties:                                 
239         tx-internal-delay-ps: false               
240                                                   
241   - if:                                           
242       properties:                                 
243         compatible:                               
244           contains:                               
245             const: renesas,etheravb-r8a77995      
246     then:                                         
247       properties:                                 
248         rx-internal-delay-ps:                     
249           const: 1800                             
250                                                   
251   - if:                                           
252       properties:                                 
253         compatible:                               
254           contains:                               
255             const: renesas,etheravb-r8a77980      
256     then:                                         
257       properties:                                 
258         tx-internal-delay-ps:                     
259           const: 2000                             
260                                                   
261   - if:                                           
262       properties:                                 
263         compatible:                               
264           contains:                               
265             const: renesas,rzg2l-gbeth            
266     then:                                         
267       properties:                                 
268         clocks:                                   
269           items:                                  
270             - description: Main clock             
271             - description: Register access clo    
272             - description: Reference clock for    
273         clock-names:                              
274           items:                                  
275             - const: axi                          
276             - const: chi                          
277             - const: refclk                       
278     else:                                         
279       if:                                         
280         properties:                               
281           compatible:                             
282             contains:                             
283               const: renesas,etheravb-rzv2m       
284       then:                                       
285         properties:                               
286           clocks:                                 
287             items:                                
288               - description: Main clock           
289               - description: Coherent Hub Inte    
290               - description: gPTP reference cl    
291           clock-names:                            
292             items:                                
293               - const: axi                        
294               - const: chi                        
295               - const: gptp                       
296       else:                                       
297         properties:                               
298           clocks:                                 
299             minItems: 1                           
300             items:                                
301               - description: AVB functional cl    
302               - description: Optional TXC refe    
303           clock-names:                            
304             minItems: 1                           
305             items:                                
306               - const: fck                        
307               - const: refclk                     
308                                                   
309 additionalProperties: false                       
310                                                   
311 examples:                                         
312   - |                                             
313     #include <dt-bindings/clock/r8a7795-cpg-ms    
314     #include <dt-bindings/interrupt-controller    
315     #include <dt-bindings/power/r8a7795-sysc.h    
316     #include <dt-bindings/gpio/gpio.h>            
317     aliases {                                     
318             ethernet0 = &avb;                     
319     };                                            
320                                                   
321     avb: ethernet@e6800000 {                      
322             compatible = "renesas,etheravb-r8a    
323                          "renesas,etheravb-rca    
324             reg = <0xe6800000 0x800>, <0xe6a00    
325             interrupts = <GIC_SPI 39 IRQ_TYPE_    
326                          <GIC_SPI 40 IRQ_TYPE_    
327                          <GIC_SPI 41 IRQ_TYPE_    
328                          <GIC_SPI 42 IRQ_TYPE_    
329                          <GIC_SPI 43 IRQ_TYPE_    
330                          <GIC_SPI 44 IRQ_TYPE_    
331                          <GIC_SPI 45 IRQ_TYPE_    
332                          <GIC_SPI 46 IRQ_TYPE_    
333                          <GIC_SPI 47 IRQ_TYPE_    
334                          <GIC_SPI 48 IRQ_TYPE_    
335                          <GIC_SPI 49 IRQ_TYPE_    
336                          <GIC_SPI 50 IRQ_TYPE_    
337                          <GIC_SPI 51 IRQ_TYPE_    
338                          <GIC_SPI 52 IRQ_TYPE_    
339                          <GIC_SPI 53 IRQ_TYPE_    
340                          <GIC_SPI 54 IRQ_TYPE_    
341                          <GIC_SPI 55 IRQ_TYPE_    
342                          <GIC_SPI 56 IRQ_TYPE_    
343                          <GIC_SPI 57 IRQ_TYPE_    
344                          <GIC_SPI 58 IRQ_TYPE_    
345                          <GIC_SPI 59 IRQ_TYPE_    
346                          <GIC_SPI 60 IRQ_TYPE_    
347                          <GIC_SPI 61 IRQ_TYPE_    
348                          <GIC_SPI 62 IRQ_TYPE_    
349                          <GIC_SPI 63 IRQ_TYPE_    
350             interrupt-names = "ch0", "ch1", "c    
351                               "ch7", "ch8", "c    
352                               "ch13", "ch14",     
353                               "ch19", "ch20",     
354             clocks = <&cpg CPG_MOD 812>;          
355             clock-names = "fck";                  
356             iommus = <&ipmmu_ds0 16>;             
357             power-domains = <&sysc R8A7795_PD_    
358             resets = <&cpg 812>;                  
359             phy-mode = "rgmii";                   
360             phy-handle = <&phy0>;                 
361             rx-internal-delay-ps = <0>;           
362             tx-internal-delay-ps = <2000>;        
363             #address-cells = <1>;                 
364             #size-cells = <0>;                    
365                                                   
366             phy0: ethernet-phy@0 {                
367                     compatible = "ethernet-phy    
368                                  "ethernet-phy    
369                     rxc-skew-ps = <1500>;         
370                     reg = <0>;                    
371                     interrupt-parent = <&gpio2    
372                     interrupts = <11 IRQ_TYPE_    
373                     reset-gpios = <&gpio2 10 G    
374             };                                    
375     };                                            
                                                      

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