17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 27ef62cebSEmmanuel Vadot%YAML 1.2 37ef62cebSEmmanuel Vadot--- 47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/net/adi,adin1110.yaml# 57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 67ef62cebSEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: ADI ADIN1110 MAC-PHY 87ef62cebSEmmanuel Vadot 97ef62cebSEmmanuel Vadotmaintainers: 107ef62cebSEmmanuel Vadot - Alexandru Tachici <alexandru.tachici@analog.com> 117ef62cebSEmmanuel Vadot 127ef62cebSEmmanuel Vadotdescription: | 137ef62cebSEmmanuel Vadot The ADIN1110 is a low power single port 10BASE-T1L MAC- 147ef62cebSEmmanuel Vadot PHY designed for industrial Ethernet applications. It integrates 157ef62cebSEmmanuel Vadot an Ethernet PHY core with a MAC and all the associated analog 167ef62cebSEmmanuel Vadot circuitry, input and output clock buffering. 177ef62cebSEmmanuel Vadot 187ef62cebSEmmanuel Vadot The ADIN2111 is a low power, low complexity, two-Ethernet ports 197ef62cebSEmmanuel Vadot switch with integrated 10BASE-T1L PHYs and one serial peripheral 207ef62cebSEmmanuel Vadot interface (SPI) port. The device is designed for industrial Ethernet 217ef62cebSEmmanuel Vadot applications using low power constrained nodes and is compliant 227ef62cebSEmmanuel Vadot with the IEEE 802.3cg-2019 Ethernet standard for long reach 237ef62cebSEmmanuel Vadot 10 Mbps single pair Ethernet (SPE). 247ef62cebSEmmanuel Vadot 257ef62cebSEmmanuel Vadot The device has a 4-wire SPI interface for communication 267ef62cebSEmmanuel Vadot between the MAC and host processor. 277ef62cebSEmmanuel Vadot 287ef62cebSEmmanuel VadotallOf: 297ef62cebSEmmanuel Vadot - $ref: ethernet-controller.yaml# 307ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 317ef62cebSEmmanuel Vadot 327ef62cebSEmmanuel Vadotproperties: 337ef62cebSEmmanuel Vadot compatible: 347ef62cebSEmmanuel Vadot enum: 357ef62cebSEmmanuel Vadot - adi,adin1110 367ef62cebSEmmanuel Vadot - adi,adin2111 377ef62cebSEmmanuel Vadot 387ef62cebSEmmanuel Vadot reg: 397ef62cebSEmmanuel Vadot maxItems: 1 407ef62cebSEmmanuel Vadot 417ef62cebSEmmanuel Vadot adi,spi-crc: 427ef62cebSEmmanuel Vadot description: | 437ef62cebSEmmanuel Vadot Enable CRC8 checks on SPI read/writes. 447ef62cebSEmmanuel Vadot type: boolean 457ef62cebSEmmanuel Vadot 467ef62cebSEmmanuel Vadot interrupts: 477ef62cebSEmmanuel Vadot maxItems: 1 487ef62cebSEmmanuel Vadot 49*8bab661aSEmmanuel Vadot reset-gpios: 50*8bab661aSEmmanuel Vadot maxItems: 1 51*8bab661aSEmmanuel Vadot description: GPIO connected to active low reset 52*8bab661aSEmmanuel Vadot 537ef62cebSEmmanuel Vadotrequired: 547ef62cebSEmmanuel Vadot - compatible 557ef62cebSEmmanuel Vadot - reg 567ef62cebSEmmanuel Vadot - interrupts 577ef62cebSEmmanuel Vadot 587ef62cebSEmmanuel VadotunevaluatedProperties: false 597ef62cebSEmmanuel Vadot 607ef62cebSEmmanuel Vadotexamples: 617ef62cebSEmmanuel Vadot - | 627ef62cebSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 637ef62cebSEmmanuel Vadot 647ef62cebSEmmanuel Vadot spi { 657ef62cebSEmmanuel Vadot 667ef62cebSEmmanuel Vadot #address-cells = <1>; 677ef62cebSEmmanuel Vadot #size-cells = <0>; 687ef62cebSEmmanuel Vadot 697ef62cebSEmmanuel Vadot ethernet@0 { 707ef62cebSEmmanuel Vadot compatible = "adi,adin2111"; 717ef62cebSEmmanuel Vadot reg = <0>; 727ef62cebSEmmanuel Vadot spi-max-frequency = <24500000>; 737ef62cebSEmmanuel Vadot 747ef62cebSEmmanuel Vadot adi,spi-crc; 757ef62cebSEmmanuel Vadot 767ef62cebSEmmanuel Vadot interrupt-parent = <&gpio>; 777ef62cebSEmmanuel Vadot interrupts = <25 IRQ_TYPE_LEVEL_LOW>; 787ef62cebSEmmanuel Vadot 797ef62cebSEmmanuel Vadot local-mac-address = [ 00 11 22 33 44 55 ]; 807ef62cebSEmmanuel Vadot }; 817ef62cebSEmmanuel Vadot }; 82