Merge tag 'for-linus-6.3-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / Documentation / devicetree / bindings / net / vertexcom-mse102x.yaml
CommitLineData
2717566f
SW
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/net/vertexcom-mse102x.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
dd3cb467 7title: The Vertexcom MSE102x (SPI)
2717566f
SW
8
9maintainers:
d56ef29a 10 - Stefan Wahren <stefan.wahren@chargebyte.com>
2717566f
SW
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 as
17 a child of an SPI master device in the device tree.
18
19 More information can be found at
20 http://www.vertexcom.com/doc/MSE1022%20Product%20Brief.pdf
21
22allOf:
23 - $ref: ethernet-controller.yaml#
24
25properties:
26 compatible:
27 enum:
28 - vertexcom,mse1021
29 - vertexcom,mse1022
30
31 reg:
32 maxItems: 1
33
34 interrupts:
35 maxItems: 1
36
37 spi-cpha: true
38
39 spi-cpol: true
40
41 spi-max-frequency:
42 minimum: 6000000
43 maximum: 7142857
44
45required:
46 - compatible
47 - reg
48 - interrupts
49 - spi-cpha
50 - spi-cpol
51 - spi-max-frequency
52
53additionalProperties: false
54
55examples:
56 - |
57 #include <dt-bindings/interrupt-controller/irq.h>
58 spi0 {
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 };