1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: "http://devicetree.org/schemas/net/toshiba,visconti-dwmac.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Toshiba Visconti DWMAC Ethernet controller
10 - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
17 - toshiba,visconti-dwmac
22 - $ref: "snps,dwmac.yaml#"
29 - toshiba,visconti-dwmac
30 - const: snps,dwmac-4.20a
37 - description: main clock
38 - description: PHY reference clock
51 unevaluatedProperties: false
55 #include <dt-bindings/clock/toshiba,tmpv770x.h>
56 #include <dt-bindings/interrupt-controller/arm-gic.h>
62 piether: ethernet@28000000 {
63 compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
64 reg = <0 0x28000000 0 0x10000>;
65 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
66 interrupt-names = "macirq";
67 clocks = <&pismu TMPV770X_CLK_PIETHER_BUS>, <&pismu TMPV770X_CLK_PIETHER_125M>;
68 clock-names = "stmmaceth", "phy_ref_clk";
72 phy-mode = "rgmii-id";
76 #address-cells = <0x1>;
78 compatible = "snps,dwmac-mdio";
80 phy0: ethernet-phy@1 {
81 device_type = "ethernet-phy";