1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/renesas,ethertsn.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas Ethernet TSN End-station
10 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
13 The RTSN device provides Ethernet network using a 10 Mbps, 100 Mbps, or 1
14 Gbps full-duplex link via MII/GMII/RMII/RGMII. Depending on the connected PHY.
17 - $ref: ethernet-controller.yaml#
23 - renesas,r8a779g0-ethertsn # R-Car V4H
24 - const: renesas,rcar-gen4-ethertsn
28 - description: TSN End Station target
29 - description: generalized Precision Time Protocol target
38 - description: TX data interrupt
39 - description: RX data interrupt
62 $ref: /schemas/types.yaml#/definitions/phandle
64 Specifies a reference to a node representing a PHY device.
81 "^ethernet-phy@[0-9a-f]$":
83 $ref: ethernet-phy.yaml#
84 unevaluatedProperties: false
100 additionalProperties: false
104 #include <dt-bindings/clock/r8a779g0-cpg-mssr.h>
105 #include <dt-bindings/interrupt-controller/arm-gic.h>
106 #include <dt-bindings/power/r8a779g0-sysc.h>
107 #include <dt-bindings/gpio/gpio.h>
109 tsn0: ethernet@e6460000 {
110 compatible = "renesas,r8a779g0-ethertsn", "renesas,rcar-gen4-ethertsn";
111 reg = <0xe6460000 0x7000>,
113 reg-names = "tsnes", "gptp";
114 interrupts = <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>,
115 <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
116 interrupt-names = "tx", "rx";
117 clocks = <&cpg CPG_MOD 2723>;
118 power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
119 resets = <&cpg 2723>;
122 tx-internal-delay-ps = <2000>;
123 phy-handle = <&phy3>;
125 #address-cells = <1>;
128 phy3: ethernet-phy@3 {
129 compatible = "ethernet-phy-ieee802.3-c45";
131 interrupt-parent = <&gpio4>;
132 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
133 reset-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;