xref: /freebsd/sys/contrib/device-tree/Bindings/net/qcom,ipq4019-mdio.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/qcom,ipq4019-mdio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm IPQ40xx MDIO Controller Device Tree Bindings
8
9maintainers:
10  - Robert Marko <robert.marko@sartura.hr>
11
12allOf:
13  - $ref: "mdio.yaml#"
14
15properties:
16  compatible:
17    const: qcom,ipq4019-mdio
18
19  "#address-cells":
20    const: 1
21
22  "#size-cells":
23    const: 0
24
25  reg:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - "#address-cells"
32  - "#size-cells"
33
34examples:
35  - |
36    mdio@90000 {
37      #address-cells = <1>;
38      #size-cells = <0>;
39      compatible = "qcom,ipq4019-mdio";
40      reg = <0x90000 0x64>;
41
42      ethphy0: ethernet-phy@0 {
43        reg = <0>;
44      };
45
46      ethphy1: ethernet-phy@1 {
47        reg = <1>;
48      };
49
50      ethphy2: ethernet-phy@2 {
51        reg = <2>;
52      };
53
54      ethphy3: ethernet-phy@3 {
55        reg = <3>;
56      };
57
58      ethphy4: ethernet-phy@4 {
59        reg = <4>;
60      };
61    };
62