Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / qcom,ipq8064-mdio.yaml
blob948677ade6d16c787e7e6f67ff500ea4f5ce3887
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,ipq8064-mdio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm ipq806x MDIO bus controller
9 maintainers:
10   - Ansuel Smith <ansuelsmth@gmail.com>
12 description:
13   The ipq806x soc have a MDIO dedicated controller that is
14   used to communicate with the gmac phy connected.
16 allOf:
17   - $ref: "mdio.yaml#"
19 properties:
20   compatible:
21     const: qcom,ipq8064-mdio
23   reg:
24     maxItems: 1
26   clocks:
27     maxItems: 1
29 required:
30   - compatible
31   - reg
32   - clocks
33   - "#address-cells"
34   - "#size-cells"
36 unevaluatedProperties: false
38 examples:
39   - |
40     #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
42     mdio0: mdio@37000000 {
43         #address-cells = <1>;
44         #size-cells = <0>;
46         compatible = "qcom,ipq8064-mdio";
47         reg = <0x37000000 0x200000>;
49         clocks = <&gcc GMAC_CORE1_CLK>;
51         switch@10 {
52             compatible = "qca,qca8337";
53             reg = <0x10>;
54             /* ... */
55         };
56     };