The Vertexcom MSE102x (SPI)
Schema identifier ($id): "http://devicetree.org/schemas/net/vertexcom-mse102x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stefan Wahren <stefan.wahren@chargebyte.com>"
Vertexcom's MSE102x are a family of HomePlug GreenPHY chips. They can be connected either via RGMII, RMII or SPI to a host CPU. In order to use a MSE102x chip as SPI device, it must be defined as a child of an SPI master device in the device tree. More information can be found at http://www.vertexcom.com/doc/MSE1022%20Product%20Brief.pdf
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ethernet-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "vertexcom,mse1021", "vertexcom,mse1022"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
spi-cpha — required here #
true — No constraints added by this property rule.
spi-cpol — required here #
true — No constraints added by this property rule.
spi-max-frequency — required here #
Minimum value (minimum): 6000000
Maximum value (maximum): 7142857
Required in this object (required): "compatible", "reg", "interrupts", "spi-cpha", "spi-cpol", "spi-max-frequency"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
ethernet@0 {
compatible = "vertexcom,mse1021";
reg = <0>;
interrupt-parent = <&gpio>;
interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
spi-cpha;
spi-cpol;
spi-max-frequency = <7142857>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)