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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/renesas,ethertsn.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,ethertsn.yaml (Architecture i386) and /Documentation/devicetree/bindings/net/renesas,ethertsn.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/net/renesas      4 $id: http://devicetree.org/schemas/net/renesas,ethertsn.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Renesas Ethernet TSN End-station             7 title: Renesas Ethernet TSN End-station
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Niklas Söderlund <niklas.soderlund@ragnate     10   - Niklas Söderlund <niklas.soderlund@ragnatech.se>
 11                                                    11 
 12 description:                                       12 description:
 13   The RTSN device provides Ethernet network us     13   The RTSN device provides Ethernet network using a 10 Mbps, 100 Mbps, or 1
 14   Gbps full-duplex link via MII/GMII/RMII/RGMI     14   Gbps full-duplex link via MII/GMII/RMII/RGMII. Depending on the connected PHY.
 15                                                    15 
 16 allOf:                                             16 allOf:
 17   - $ref: ethernet-controller.yaml#                17   - $ref: ethernet-controller.yaml#
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     items:                                         21     items:
 22       - enum:                                      22       - enum:
 23           - renesas,r8a779g0-ethertsn       #      23           - renesas,r8a779g0-ethertsn       # R-Car V4H
 24       - const: renesas,rcar-gen4-ethertsn          24       - const: renesas,rcar-gen4-ethertsn
 25                                                    25 
 26   reg:                                             26   reg:
 27     items:                                         27     items:
 28       - description: TSN End Station target        28       - description: TSN End Station target
 29       - description: generalized Precision Tim     29       - description: generalized Precision Time Protocol target
 30                                                    30 
 31   reg-names:                                       31   reg-names:
 32     items:                                         32     items:
 33       - const: tsnes                               33       - const: tsnes
 34       - const: gptp                                34       - const: gptp
 35                                                    35 
 36   interrupts:                                      36   interrupts:
 37     items:                                         37     items:
 38       - description: TX data interrupt             38       - description: TX data interrupt
 39       - description: RX data interrupt             39       - description: RX data interrupt
 40                                                    40 
 41   interrupt-names:                                 41   interrupt-names:
 42     items:                                         42     items:
 43       - const: tx                                  43       - const: tx
 44       - const: rx                                  44       - const: rx
 45                                                    45 
 46   clocks:                                          46   clocks:
 47     maxItems: 1                                    47     maxItems: 1
 48                                                    48 
 49   power-domains:                                   49   power-domains:
 50     maxItems: 1                                    50     maxItems: 1
 51                                                    51 
 52   resets:                                          52   resets:
 53     maxItems: 1                                    53     maxItems: 1
 54                                                    54 
 55   phy-mode:                                        55   phy-mode:
 56     contains:                                      56     contains:
 57       enum:                                        57       enum:
 58         - mii                                      58         - mii
 59         - rgmii                                    59         - rgmii
 60                                                    60 
 61   phy-handle:                                      61   phy-handle:
 62     $ref: /schemas/types.yaml#/definitions/pha     62     $ref: /schemas/types.yaml#/definitions/phandle
 63     description:                                   63     description:
 64       Specifies a reference to a node represen     64       Specifies a reference to a node representing a PHY device.
 65                                                    65 
 66   rx-internal-delay-ps:                            66   rx-internal-delay-ps:
 67     enum: [0, 1800]                                67     enum: [0, 1800]
 68     default: 0                                     68     default: 0
 69                                                    69 
 70   tx-internal-delay-ps:                            70   tx-internal-delay-ps:
 71     enum: [0, 2000]                                71     enum: [0, 2000]
 72     default: 0                                     72     default: 0
 73                                                    73 
 74   mdio:                                            74   mdio:
 75     $ref: /schemas/net/mdio.yaml#                  75     $ref: /schemas/net/mdio.yaml#
 76     unevaluatedProperties: false                   76     unevaluatedProperties: false
 77                                                    77 
 78 required:                                          78 required:
 79   - compatible                                     79   - compatible
 80   - reg                                            80   - reg
 81   - reg-names                                      81   - reg-names
 82   - interrupts                                     82   - interrupts
 83   - interrupt-names                                83   - interrupt-names
 84   - clocks                                         84   - clocks
 85   - power-domains                                  85   - power-domains
 86   - resets                                         86   - resets
 87   - phy-mode                                       87   - phy-mode
 88   - phy-handle                                     88   - phy-handle
 89   - mdio                                           89   - mdio
 90                                                    90 
 91 additionalProperties: false                        91 additionalProperties: false
 92                                                    92 
 93 examples:                                          93 examples:
 94   - |                                              94   - |
 95     #include <dt-bindings/clock/r8a779g0-cpg-m     95     #include <dt-bindings/clock/r8a779g0-cpg-mssr.h>
 96     #include <dt-bindings/interrupt-controller     96     #include <dt-bindings/interrupt-controller/arm-gic.h>
 97     #include <dt-bindings/power/r8a779g0-sysc.     97     #include <dt-bindings/power/r8a779g0-sysc.h>
 98     #include <dt-bindings/gpio/gpio.h>             98     #include <dt-bindings/gpio/gpio.h>
 99                                                    99 
100     tsn0: ethernet@e6460000 {                     100     tsn0: ethernet@e6460000 {
101         compatible = "renesas,r8a779g0-etherts    101         compatible = "renesas,r8a779g0-ethertsn", "renesas,rcar-gen4-ethertsn";
102         reg = <0xe6460000 0x7000>,                102         reg = <0xe6460000 0x7000>,
103               <0xe6449000 0x500>;                 103               <0xe6449000 0x500>;
104         reg-names = "tsnes", "gptp";              104         reg-names = "tsnes", "gptp";
105         interrupts = <GIC_SPI 429 IRQ_TYPE_LEV    105         interrupts = <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>,
106                      <GIC_SPI 430 IRQ_TYPE_LEV    106                      <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
107         interrupt-names = "tx", "rx";             107         interrupt-names = "tx", "rx";
108         clocks = <&cpg CPG_MOD 2723>;             108         clocks = <&cpg CPG_MOD 2723>;
109         power-domains = <&sysc R8A779G0_PD_ALW    109         power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
110         resets = <&cpg 2723>;                     110         resets = <&cpg 2723>;
111                                                   111 
112         phy-mode = "rgmii";                       112         phy-mode = "rgmii";
113         tx-internal-delay-ps = <2000>;            113         tx-internal-delay-ps = <2000>;
114         phy-handle = <&phy3>;                     114         phy-handle = <&phy3>;
115                                                   115 
116         mdio {                                    116         mdio {
117             #address-cells = <1>;                 117             #address-cells = <1>;
118             #size-cells = <0>;                    118             #size-cells = <0>;
119                                                   119 
120             reset-gpios = <&gpio1 23 GPIO_ACTI    120             reset-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
121             reset-post-delay-us = <4000>;         121             reset-post-delay-us = <4000>;
122                                                   122 
123             phy3: ethernet-phy@0 {                123             phy3: ethernet-phy@0 {
124                 compatible = "ethernet-phy-iee    124                 compatible = "ethernet-phy-ieee802.3-c45";
125                 reg = <0>;                        125                 reg = <0>;
126                 interrupt-parent = <&gpio4>;      126                 interrupt-parent = <&gpio4>;
127                 interrupts = <3 IRQ_TYPE_LEVEL    127                 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
128             };                                    128             };
129         };                                        129         };
130     };                                            130     };
                                                      

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