brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 4158673 Raw
72 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/net/vertexcom-mse102x.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: The Vertexcom MSE102x (SPI)8 9maintainers:10  - Stefan Wahren <stefan.wahren@chargebyte.com>11 12description:13  Vertexcom's MSE102x are a family of HomePlug GreenPHY chips.14  They can be connected either via RGMII, RMII or SPI to a host CPU.15 16  In order to use a MSE102x chip as SPI device, it must be defined as17  a child of an SPI master device in the device tree.18 19  More information can be found at20    http://www.vertexcom.com/doc/MSE1022%20Product%20Brief.pdf21 22allOf:23  - $ref: ethernet-controller.yaml#24 25properties:26  compatible:27    enum:28      - vertexcom,mse102129      - vertexcom,mse102230 31  reg:32    maxItems: 133 34  interrupts:35    maxItems: 136 37  spi-cpha: true38 39  spi-cpol: true40 41  spi-max-frequency:42    minimum: 600000043    maximum: 714285744 45required:46  - compatible47  - reg48  - interrupts49  - spi-cpha50  - spi-cpol51  - spi-max-frequency52 53additionalProperties: false54 55examples:56  - |57    #include <dt-bindings/interrupt-controller/irq.h>58    spi {59        #address-cells = <1>;60        #size-cells = <0>;61 62        ethernet@0 {63            compatible = "vertexcom,mse1021";64            reg = <0>;65            interrupt-parent = <&gpio>;66            interrupts = <23 IRQ_TYPE_EDGE_RISING>;67            spi-cpha;68            spi-cpol;69            spi-max-frequency = <7142857>;70        };71    };72