Skip to content

Commit ae9e82c

Browse files
Ansueldavem330
authored andcommitted
dt-bindings: net: Add ipq806x mdio bindings
Add documentations for ipq806x mdio driver. Signed-off-by: Ansuel Smith <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent caaa71f commit ae9e82c

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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#
6+
7+
title: Qualcomm ipq806x MDIO bus controller
8+
9+
maintainers:
10+
- Ansuel Smith <[email protected]>
11+
12+
description:
13+
The ipq806x soc have a MDIO dedicated controller that is
14+
used to communicate with the gmac phy connected.
15+
16+
allOf:
17+
- $ref: "mdio.yaml#"
18+
19+
properties:
20+
compatible:
21+
const: qcom,ipq8064-mdio
22+
23+
reg:
24+
maxItems: 1
25+
26+
clocks:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
- clocks
33+
- "#address-cells"
34+
- "#size-cells"
35+
36+
examples:
37+
- |
38+
#include <dt-bindings/clock/qcom,gcc-ipq806x.h>
39+
40+
mdio0: mdio@37000000 {
41+
#address-cells = <1>;
42+
#size-cells = <0>;
43+
44+
compatible = "qcom,ipq8064-mdio";
45+
reg = <0x37000000 0x200000>;
46+
47+
clocks = <&gcc GMAC_CORE1_CLK>;
48+
49+
switch@10 {
50+
compatible = "qca,qca8337";
51+
/* ... */
52+
};
53+
};

0 commit comments

Comments
 (0)