1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e67e8565SEmmanuel Vadot%YAML 1.2 3e67e8565SEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/net/vertexcom-mse102x.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6e67e8565SEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: The Vertexcom MSE102x (SPI) 8e67e8565SEmmanuel Vadot 9e67e8565SEmmanuel Vadotmaintainers: 107ef62cebSEmmanuel Vadot - Stefan Wahren <stefan.wahren@chargebyte.com> 11e67e8565SEmmanuel Vadot 12e67e8565SEmmanuel Vadotdescription: 13e67e8565SEmmanuel Vadot Vertexcom's MSE102x are a family of HomePlug GreenPHY chips. 14e67e8565SEmmanuel Vadot They can be connected either via RGMII, RMII or SPI to a host CPU. 15e67e8565SEmmanuel Vadot 16e67e8565SEmmanuel Vadot In order to use a MSE102x chip as SPI device, it must be defined as 17e67e8565SEmmanuel Vadot a child of an SPI master device in the device tree. 18e67e8565SEmmanuel Vadot 19e67e8565SEmmanuel Vadot More information can be found at 20e67e8565SEmmanuel Vadot http://www.vertexcom.com/doc/MSE1022%20Product%20Brief.pdf 21e67e8565SEmmanuel Vadot 22e67e8565SEmmanuel VadotallOf: 23e67e8565SEmmanuel Vadot - $ref: ethernet-controller.yaml# 24e67e8565SEmmanuel Vadot 25e67e8565SEmmanuel Vadotproperties: 26e67e8565SEmmanuel Vadot compatible: 27e67e8565SEmmanuel Vadot enum: 28e67e8565SEmmanuel Vadot - vertexcom,mse1021 29e67e8565SEmmanuel Vadot - vertexcom,mse1022 30e67e8565SEmmanuel Vadot 31e67e8565SEmmanuel Vadot reg: 32e67e8565SEmmanuel Vadot maxItems: 1 33e67e8565SEmmanuel Vadot 34e67e8565SEmmanuel Vadot interrupts: 35e67e8565SEmmanuel Vadot maxItems: 1 36e67e8565SEmmanuel Vadot 37e67e8565SEmmanuel Vadot spi-cpha: true 38e67e8565SEmmanuel Vadot 39e67e8565SEmmanuel Vadot spi-cpol: true 40e67e8565SEmmanuel Vadot 41e67e8565SEmmanuel Vadot spi-max-frequency: 42e67e8565SEmmanuel Vadot minimum: 6000000 43e67e8565SEmmanuel Vadot maximum: 7142857 44e67e8565SEmmanuel Vadot 45e67e8565SEmmanuel Vadotrequired: 46e67e8565SEmmanuel Vadot - compatible 47e67e8565SEmmanuel Vadot - reg 48e67e8565SEmmanuel Vadot - interrupts 49e67e8565SEmmanuel Vadot - spi-cpha 50e67e8565SEmmanuel Vadot - spi-cpol 51e67e8565SEmmanuel Vadot - spi-max-frequency 52e67e8565SEmmanuel Vadot 53e67e8565SEmmanuel VadotadditionalProperties: false 54e67e8565SEmmanuel Vadot 55e67e8565SEmmanuel Vadotexamples: 56e67e8565SEmmanuel Vadot - | 57e67e8565SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 58*fac71e4eSEmmanuel Vadot spi { 59e67e8565SEmmanuel Vadot #address-cells = <1>; 60e67e8565SEmmanuel Vadot #size-cells = <0>; 61e67e8565SEmmanuel Vadot 62e67e8565SEmmanuel Vadot ethernet@0 { 63e67e8565SEmmanuel Vadot compatible = "vertexcom,mse1021"; 64e67e8565SEmmanuel Vadot reg = <0>; 65e67e8565SEmmanuel Vadot interrupt-parent = <&gpio>; 66e67e8565SEmmanuel Vadot interrupts = <23 IRQ_TYPE_EDGE_RISING>; 67e67e8565SEmmanuel Vadot spi-cpha; 68e67e8565SEmmanuel Vadot spi-cpol; 69e67e8565SEmmanuel Vadot spi-max-frequency = <7142857>; 70e67e8565SEmmanuel Vadot }; 71e67e8565SEmmanuel Vadot }; 72