1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/net/adi,adi 4 $id: http://devicetree.org/schemas/net/adi,adin1110.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ADI ADIN1110 MAC-PHY 7 title: ADI ADIN1110 MAC-PHY 8 8 9 maintainers: 9 maintainers: 10 - Alexandru Tachici <alexandru.tachici@analog 10 - Alexandru Tachici <alexandru.tachici@analog.com> 11 11 12 description: | 12 description: | 13 The ADIN1110 is a low power single port 10BA 13 The ADIN1110 is a low power single port 10BASE-T1L MAC- 14 PHY designed for industrial Ethernet applica 14 PHY designed for industrial Ethernet applications. It integrates 15 an Ethernet PHY core with a MAC and all the 15 an Ethernet PHY core with a MAC and all the associated analog 16 circuitry, input and output clock buffering. 16 circuitry, input and output clock buffering. 17 17 18 The ADIN2111 is a low power, low complexity, 18 The ADIN2111 is a low power, low complexity, two-Ethernet ports 19 switch with integrated 10BASE-T1L PHYs and o 19 switch with integrated 10BASE-T1L PHYs and one serial peripheral 20 interface (SPI) port. The device is designed 20 interface (SPI) port. The device is designed for industrial Ethernet 21 applications using low power constrained nod 21 applications using low power constrained nodes and is compliant 22 with the IEEE 802.3cg-2019 Ethernet standard 22 with the IEEE 802.3cg-2019 Ethernet standard for long reach 23 10 Mbps single pair Ethernet (SPE). 23 10 Mbps single pair Ethernet (SPE). 24 24 25 The device has a 4-wire SPI interface for co 25 The device has a 4-wire SPI interface for communication 26 between the MAC and host processor. 26 between the MAC and host processor. 27 27 28 allOf: 28 allOf: 29 - $ref: ethernet-controller.yaml# 29 - $ref: ethernet-controller.yaml# 30 - $ref: /schemas/spi/spi-peripheral-props.ya 30 - $ref: /schemas/spi/spi-peripheral-props.yaml# 31 31 32 properties: 32 properties: 33 compatible: 33 compatible: 34 enum: 34 enum: 35 - adi,adin1110 35 - adi,adin1110 36 - adi,adin2111 36 - adi,adin2111 37 37 38 reg: 38 reg: 39 maxItems: 1 39 maxItems: 1 40 40 41 adi,spi-crc: 41 adi,spi-crc: 42 description: | 42 description: | 43 Enable CRC8 checks on SPI read/writes. 43 Enable CRC8 checks on SPI read/writes. 44 type: boolean 44 type: boolean 45 45 46 interrupts: 46 interrupts: 47 maxItems: 1 47 maxItems: 1 48 48 49 reset-gpios: 49 reset-gpios: 50 maxItems: 1 50 maxItems: 1 51 description: GPIO connected to active low 51 description: GPIO connected to active low reset 52 52 53 required: 53 required: 54 - compatible 54 - compatible 55 - reg 55 - reg 56 - interrupts 56 - interrupts 57 57 58 unevaluatedProperties: false 58 unevaluatedProperties: false 59 59 60 examples: 60 examples: 61 - | 61 - | 62 #include <dt-bindings/interrupt-controller 62 #include <dt-bindings/interrupt-controller/irq.h> 63 63 64 spi { 64 spi { 65 65 66 #address-cells = <1>; 66 #address-cells = <1>; 67 #size-cells = <0>; 67 #size-cells = <0>; 68 68 69 ethernet@0 { 69 ethernet@0 { 70 compatible = "adi,adin2111"; 70 compatible = "adi,adin2111"; 71 reg = <0>; 71 reg = <0>; 72 spi-max-frequency = <24500000>; 72 spi-max-frequency = <24500000>; 73 73 74 adi,spi-crc; 74 adi,spi-crc; 75 75 76 interrupt-parent = <&gpio>; 76 interrupt-parent = <&gpio>; 77 interrupts = <25 IRQ_TYPE_LEVEL_LO 77 interrupts = <25 IRQ_TYPE_LEVEL_LOW>; 78 78 79 local-mac-address = [ 00 11 22 33 79 local-mac-address = [ 00 11 22 33 44 55 ]; 80 }; 80 }; 81 }; 81 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.