xref: /freebsd/sys/contrib/device-tree/Bindings/net/qcom,ipq4019-mdio.yaml (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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
34unevaluatedProperties: false
35
36examples:
37  - |
38    mdio@90000 {
39      #address-cells = <1>;
40      #size-cells = <0>;
41      compatible = "qcom,ipq4019-mdio";
42      reg = <0x90000 0x64>;
43
44      ethphy0: ethernet-phy@0 {
45        reg = <0>;
46      };
47
48      ethphy1: ethernet-phy@1 {
49        reg = <1>;
50      };
51
52      ethphy2: ethernet-phy@2 {
53        reg = <2>;
54      };
55
56      ethphy3: ethernet-phy@3 {
57        reg = <3>;
58      };
59
60      ethphy4: ethernet-phy@4 {
61        reg = <4>;
62      };
63    };
64