1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/net/vertexc 4 $id: http://devicetree.org/schemas/net/vertexcom-mse102x.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: The Vertexcom MSE102x (SPI) 7 title: The Vertexcom MSE102x (SPI) 8 8 9 maintainers: 9 maintainers: 10 - Stefan Wahren <stefan.wahren@chargebyte.com 10 - Stefan Wahren <stefan.wahren@chargebyte.com> 11 11 12 description: 12 description: 13 Vertexcom's MSE102x are a family of HomePlug 13 Vertexcom's MSE102x are a family of HomePlug GreenPHY chips. 14 They can be connected either via RGMII, RMII 14 They can be connected either via RGMII, RMII or SPI to a host CPU. 15 15 16 In order to use a MSE102x chip as SPI device 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 devic 17 a child of an SPI master device in the device tree. 18 18 19 More information can be found at 19 More information can be found at 20 http://www.vertexcom.com/doc/MSE1022%20Pro 20 http://www.vertexcom.com/doc/MSE1022%20Product%20Brief.pdf 21 21 22 allOf: 22 allOf: 23 - $ref: ethernet-controller.yaml# 23 - $ref: ethernet-controller.yaml# 24 24 25 properties: 25 properties: 26 compatible: 26 compatible: 27 enum: 27 enum: 28 - vertexcom,mse1021 28 - vertexcom,mse1021 29 - vertexcom,mse1022 29 - vertexcom,mse1022 30 30 31 reg: 31 reg: 32 maxItems: 1 32 maxItems: 1 33 33 34 interrupts: 34 interrupts: 35 maxItems: 1 35 maxItems: 1 36 36 37 spi-cpha: true 37 spi-cpha: true 38 38 39 spi-cpol: true 39 spi-cpol: true 40 40 41 spi-max-frequency: 41 spi-max-frequency: 42 minimum: 6000000 42 minimum: 6000000 43 maximum: 7142857 43 maximum: 7142857 44 44 45 required: 45 required: 46 - compatible 46 - compatible 47 - reg 47 - reg 48 - interrupts 48 - interrupts 49 - spi-cpha 49 - spi-cpha 50 - spi-cpol 50 - spi-cpol 51 - spi-max-frequency 51 - spi-max-frequency 52 52 53 additionalProperties: false 53 additionalProperties: false 54 54 55 examples: 55 examples: 56 - | 56 - | 57 #include <dt-bindings/interrupt-controller 57 #include <dt-bindings/interrupt-controller/irq.h> 58 spi { 58 spi { 59 #address-cells = <1>; 59 #address-cells = <1>; 60 #size-cells = <0>; 60 #size-cells = <0>; 61 61 62 ethernet@0 { 62 ethernet@0 { 63 compatible = "vertexcom,mse1021"; 63 compatible = "vertexcom,mse1021"; 64 reg = <0>; 64 reg = <0>; 65 interrupt-parent = <&gpio>; 65 interrupt-parent = <&gpio>; 66 interrupts = <23 IRQ_TYPE_EDGE_RIS 66 interrupts = <23 IRQ_TYPE_EDGE_RISING>; 67 spi-cpha; 67 spi-cpha; 68 spi-cpol; 68 spi-cpol; 69 spi-max-frequency = <7142857>; 69 spi-max-frequency = <7142857>; 70 }; 70 }; 71 }; 71 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.