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/interrupt-controller/arm-gic.h>
61 piether: ethernet@28000000 {
62 compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
63 reg = <0 0x28000000 0 0x10000>;
64 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
65 interrupt-names = "macirq";
66 clocks = <&clk300mhz>, <&clk125mhz>;
67 clock-names = "stmmaceth", "phy_ref_clk";
71 phy-mode = "rgmii-id";
75 #address-cells = <0x1>;
77 compatible = "snps,dwmac-mdio";
79 phy0: ethernet-phy@1 {
80 device_type = "ethernet-phy";