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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.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 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/net/socionext,uniphier-ave4.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Socionext AVE ethernet controller
  8 
  9 maintainers:
 10   - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
 11 
 12 description: |
 13   This describes the devicetree bindings for AVE ethernet controller
 14   implemented on Socionext UniPhier SoCs.
 15 
 16 properties:
 17   compatible:
 18     enum:
 19       - socionext,uniphier-pro4-ave4
 20       - socionext,uniphier-pxs2-ave4
 21       - socionext,uniphier-ld11-ave4
 22       - socionext,uniphier-ld20-ave4
 23       - socionext,uniphier-pxs3-ave4
 24       - socionext,uniphier-nx1-ave4
 25 
 26   reg:
 27     maxItems: 1
 28 
 29   interrupts:
 30     maxItems: 1
 31 
 32   phy-mode: true
 33 
 34   phy-handle: true
 35 
 36   mac-address: true
 37 
 38   local-mac-address: true
 39 
 40   clocks:
 41     minItems: 1
 42     maxItems: 4
 43 
 44   clock-names:
 45     minItems: 1
 46     maxItems: 4
 47 
 48   resets:
 49     minItems: 1
 50     maxItems: 2
 51 
 52   reset-names:
 53     minItems: 1
 54     maxItems: 2
 55 
 56   socionext,syscon-phy-mode:
 57     $ref: /schemas/types.yaml#/definitions/phandle-array
 58     items:
 59       - items:
 60           - description: phandle to syscon that configures phy mode
 61           - description: ID of MAC instance
 62     description:
 63       A phandle to syscon with one argument that configures phy mode.
 64       The argument is the ID of MAC instance.
 65 
 66   mdio:
 67     $ref: mdio.yaml#
 68     unevaluatedProperties: false
 69 
 70 allOf:
 71   - $ref: ethernet-controller.yaml#
 72   - if:
 73       properties:
 74         compatible:
 75           contains:
 76             const: socionext,uniphier-pro4-ave4
 77     then:
 78       properties:
 79         clocks:
 80           minItems: 4
 81           maxItems: 4
 82         clock-names:
 83           items:
 84             - const: gio
 85             - const: ether
 86             - const: ether-gb
 87             - const: ether-phy
 88         resets:
 89           minItems: 2
 90           maxItems: 2
 91         reset-names:
 92           items:
 93             - const: gio
 94             - const: ether
 95     else:
 96       properties:
 97         clocks:
 98           maxItems: 1
 99         clock-names:
100           const: ether
101         resets:
102           maxItems: 1
103         reset-names:
104           const: ether
105 
106 required:
107   - compatible
108   - reg
109   - interrupts
110   - phy-mode
111   - phy-handle
112   - clocks
113   - clock-names
114   - resets
115   - reset-names
116   - mdio
117 
118 unevaluatedProperties: false
119 
120 examples:
121   - |
122     ether: ethernet@65000000 {
123         compatible = "socionext,uniphier-ld20-ave4";
124                 reg = <0x65000000 0x8500>;
125                 interrupts = <0 66 4>;
126                 phy-mode = "rgmii";
127                 phy-handle = <&ethphy>;
128                 clock-names = "ether";
129                 clocks = <&sys_clk 6>;
130                 reset-names = "ether";
131                 resets = <&sys_rst 6>;
132                 socionext,syscon-phy-mode = <&soc_glue 0>;
133 
134                 mdio {
135                         #address-cells = <1>;
136                         #size-cells = <0>;
137 
138                         ethphy: ethernet-phy@1 {
139                                 reg = <1>;
140                         };
141                 };
142         };

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