1127474Stjr# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2127474Stjr%YAML 1.2 3127474Stjr--- 4127474Stjr$id: http://devicetree.org/schemas/net/adi,adin1110.yaml# 5174990Sache$schema: http://devicetree.org/meta-schemas/core.yaml# 6127474Stjr 7127474Stjrtitle: ADI ADIN1110 MAC-PHY 8127474Stjr 9127474Stjrmaintainers: 10127474Stjr - Alexandru Tachici <alexandru.tachici@analog.com> 11127474Stjr 12127474Stjrdescription: | 13127474Stjr The ADIN1110 is a low power single port 10BASE-T1L MAC- 14127474Stjr PHY designed for industrial Ethernet applications. It integrates 15127474Stjr an Ethernet PHY core with a MAC and all the associated analog 16127474Stjr circuitry, input and output clock buffering. 17127474Stjr 18127474Stjr The ADIN2111 is a low power, low complexity, two-Ethernet ports 19127474Stjr switch with integrated 10BASE-T1L PHYs and one serial peripheral 20174990Sache interface (SPI) port. The device is designed for industrial Ethernet 21127474Stjr applications using low power constrained nodes and is compliant 22127474Stjr with the IEEE 802.3cg-2019 Ethernet standard for long reach 23127474Stjr 10 Mbps single pair Ethernet (SPE). 24127474Stjr 25127474Stjr The device has a 4-wire SPI interface for communication 26127474Stjr between the MAC and host processor. 27127474Stjr 28127474StjrallOf: 29127474Stjr - $ref: ethernet-controller.yaml# 30127474Stjr - $ref: /schemas/spi/spi-peripheral-props.yaml# 31127474Stjr 32127474Stjrproperties: 33127474Stjr compatible: 34127474Stjr enum: 35174990Sache - adi,adin1110 36127474Stjr - adi,adin2111 37127474Stjr 38127474Stjr reg: 39127474Stjr maxItems: 1 40127474Stjr 41127474Stjr adi,spi-crc: 42127474Stjr description: | 43127474Stjr Enable CRC8 checks on SPI read/writes. 44127474Stjr type: boolean 45174990Sache 46127474Stjr interrupts: 47127474Stjr maxItems: 1 48127474Stjr 49127474Stjr reset-gpios: 50127474Stjr maxItems: 1 51127474Stjr description: GPIO connected to active low reset 52127474Stjr 53127474Stjrrequired: 54127474Stjr - compatible 55127474Stjr - reg 56127474Stjr - interrupts 57127474Stjr 58127474StjrunevaluatedProperties: false 59127474Stjr 60127474Stjrexamples: 61127474Stjr - | 62127474Stjr #include <dt-bindings/interrupt-controller/irq.h> 63127474Stjr 64127474Stjr spi { 65127474Stjr 66127474Stjr #address-cells = <1>; 67127474Stjr #size-cells = <0>; 68127474Stjr 69127474Stjr ethernet@0 { 70127474Stjr compatible = "adi,adin2111"; 71127474Stjr reg = <0>; 72127474Stjr spi-max-frequency = <24500000>; 73127474Stjr 74127474Stjr adi,spi-crc; 75127474Stjr 76127474Stjr interrupt-parent = <&gpio>; 77127474Stjr interrupts = <25 IRQ_TYPE_LEVEL_LOW>; 78127474Stjr 79174990Sache local-mac-address = [ 00 11 22 33 44 55 ]; 80127474Stjr }; 81127474Stjr }; 82127474Stjr