15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 4fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/net/toshiba,visconti-dwmac.yaml# 5fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Toshiba Visconti DWMAC Ethernet controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotselect: 135def4c47SEmmanuel Vadot properties: 145def4c47SEmmanuel Vadot compatible: 155def4c47SEmmanuel Vadot contains: 165def4c47SEmmanuel Vadot enum: 175def4c47SEmmanuel Vadot - toshiba,visconti-dwmac 185def4c47SEmmanuel Vadot required: 195def4c47SEmmanuel Vadot - compatible 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel VadotallOf: 22*f126890aSEmmanuel Vadot - $ref: snps,dwmac.yaml# 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadotproperties: 255def4c47SEmmanuel Vadot compatible: 265def4c47SEmmanuel Vadot oneOf: 275def4c47SEmmanuel Vadot - items: 285def4c47SEmmanuel Vadot - enum: 295def4c47SEmmanuel Vadot - toshiba,visconti-dwmac 305def4c47SEmmanuel Vadot - const: snps,dwmac-4.20a 315def4c47SEmmanuel Vadot 325def4c47SEmmanuel Vadot reg: 335def4c47SEmmanuel Vadot maxItems: 1 345def4c47SEmmanuel Vadot 355def4c47SEmmanuel Vadot clocks: 365def4c47SEmmanuel Vadot items: 375def4c47SEmmanuel Vadot - description: main clock 385def4c47SEmmanuel Vadot - description: PHY reference clock 395def4c47SEmmanuel Vadot 405def4c47SEmmanuel Vadot clock-names: 415def4c47SEmmanuel Vadot items: 425def4c47SEmmanuel Vadot - const: stmmaceth 435def4c47SEmmanuel Vadot - const: phy_ref_clk 445def4c47SEmmanuel Vadot 455def4c47SEmmanuel Vadotrequired: 465def4c47SEmmanuel Vadot - compatible 475def4c47SEmmanuel Vadot - reg 485def4c47SEmmanuel Vadot - clocks 495def4c47SEmmanuel Vadot - clock-names 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel VadotunevaluatedProperties: false 525def4c47SEmmanuel Vadot 535def4c47SEmmanuel Vadotexamples: 545def4c47SEmmanuel Vadot - | 55d5b0e70fSEmmanuel Vadot #include <dt-bindings/clock/toshiba,tmpv770x.h> 565def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 575def4c47SEmmanuel Vadot 585def4c47SEmmanuel Vadot soc { 595def4c47SEmmanuel Vadot #address-cells = <2>; 605def4c47SEmmanuel Vadot #size-cells = <2>; 615def4c47SEmmanuel Vadot 625def4c47SEmmanuel Vadot piether: ethernet@28000000 { 635def4c47SEmmanuel Vadot compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a"; 645def4c47SEmmanuel Vadot reg = <0 0x28000000 0 0x10000>; 655def4c47SEmmanuel Vadot interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; 665def4c47SEmmanuel Vadot interrupt-names = "macirq"; 67d5b0e70fSEmmanuel Vadot clocks = <&pismu TMPV770X_CLK_PIETHER_BUS>, <&pismu TMPV770X_CLK_PIETHER_125M>; 685def4c47SEmmanuel Vadot clock-names = "stmmaceth", "phy_ref_clk"; 695def4c47SEmmanuel Vadot snps,txpbl = <4>; 705def4c47SEmmanuel Vadot snps,rxpbl = <4>; 715def4c47SEmmanuel Vadot snps,tso; 725def4c47SEmmanuel Vadot phy-mode = "rgmii-id"; 735def4c47SEmmanuel Vadot phy-handle = <&phy0>; 745def4c47SEmmanuel Vadot 75e67e8565SEmmanuel Vadot mdio { 765def4c47SEmmanuel Vadot #address-cells = <0x1>; 775def4c47SEmmanuel Vadot #size-cells = <0x0>; 785def4c47SEmmanuel Vadot compatible = "snps,dwmac-mdio"; 795def4c47SEmmanuel Vadot 805def4c47SEmmanuel Vadot phy0: ethernet-phy@1 { 815def4c47SEmmanuel Vadot device_type = "ethernet-phy"; 825def4c47SEmmanuel Vadot reg = <0x1>; 835def4c47SEmmanuel Vadot }; 845def4c47SEmmanuel Vadot }; 855def4c47SEmmanuel Vadot }; 865def4c47SEmmanuel Vadot }; 87