aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-05-14 16:04:54 -0400
committerDavid S. Miller <davem@davemloft.net>2018-05-15 16:41:14 -0400
commitcd1436a26718b2c33a290e5db24d1507887626e6 (patch)
tree872741cf90fa23261e5e613ccdef6c7f4da0ffd4
parent961423f9fcbcfebee5b7a5d6cc0f1069835f25c0 (diff)
dt-bindings: net: add DT bindings for Microsemi MIIM
DT bindings for the Microsemi MII Management Controller found on Microsemi SoCs Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/devicetree/bindings/net/mscc-miim.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/mscc-miim.txt b/Documentation/devicetree/bindings/net/mscc-miim.txt
new file mode 100644
index 000000000000..7104679cf59d
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/mscc-miim.txt
@@ -0,0 +1,26 @@
1Microsemi MII Management Controller (MIIM) / MDIO
2=================================================
3
4Properties:
5- compatible: must be "mscc,ocelot-miim"
6- reg: The base address of the MDIO bus controller register bank. Optionally, a
7 second register bank can be defined if there is an associated reset register
8 for internal PHYs
9- #address-cells: Must be <1>.
10- #size-cells: Must be <0>. MDIO addresses have no size component.
11- interrupts: interrupt specifier (refer to the interrupt binding)
12
13Typically an MDIO bus might have several children.
14
15Example:
16 mdio@107009c {
17 #address-cells = <1>;
18 #size-cells = <0>;
19 compatible = "mscc,ocelot-miim";
20 reg = <0x107009c 0x36>, <0x10700f0 0x8>;
21 interrupts = <14>;
22
23 phy0: ethernet-phy@0 {
24 reg = <0>;
25 };
26 };