Message ID | 1443645163-2822-2-git-send-email-arunp@broadcom.com |
---|---|
State | Superseded, archived |
Headers | show |
On 30/09/15 13:32, Arun Parameswaran wrote: > Add device tree binding documentation for the Broadcom iProc MDIO > bus driver. > > Signed-off-by: Arun Parameswaran <arunp@broadcom.com> > --- > .../devicetree/bindings/net/brcm,iproc-mdio.txt | 23 ++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt > > diff --git a/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt > new file mode 100644 > index 0000000..689f97c > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt > @@ -0,0 +1,23 @@ > +* Broadcom iProc MDIO bus controller > + > +Required properties: > +- compatible: should be "brcm,iproc-mdio" > +- reg: address and length of the register set for the MDIO interface > +- #size-cells: must be 1 > +- #address-cells: must be 0 > + > +Child nodes of this MDIO bus controller node are standard Ethernet PHY device > +nodes as described in Documentation/devicetree/bindings/net/phy.txt > + > +Example: > + > +mdio@0x18002000 { Sorry for not catching this earlier, you might want to drop the leading 0x here from your example, other than that: Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
On 15-09-30 02:36 PM, Florian Fainelli wrote: > On 30/09/15 13:32, Arun Parameswaran wrote: >> Add device tree binding documentation for the Broadcom iProc MDIO >> bus driver. >> >> Signed-off-by: Arun Parameswaran <arunp@broadcom.com> >> --- >> .../devicetree/bindings/net/brcm,iproc-mdio.txt | 23 ++++++++++++++++++++++ >> 1 file changed, 23 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt >> >> diff --git a/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt >> new file mode 100644 >> index 0000000..689f97c >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt >> @@ -0,0 +1,23 @@ >> +* Broadcom iProc MDIO bus controller >> + >> +Required properties: >> +- compatible: should be "brcm,iproc-mdio" >> +- reg: address and length of the register set for the MDIO interface >> +- #size-cells: must be 1 >> +- #address-cells: must be 0 >> + >> +Child nodes of this MDIO bus controller node are standard Ethernet PHY device >> +nodes as described in Documentation/devicetree/bindings/net/phy.txt >> + >> +Example: >> + >> +mdio@0x18002000 { > Sorry for not catching this earlier, you might want to drop the leading > 0x here from your example, other than that: > > Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Will fix this. Thanks, Arun -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt new file mode 100644 index 0000000..689f97c --- /dev/null +++ b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt @@ -0,0 +1,23 @@ +* Broadcom iProc MDIO bus controller + +Required properties: +- compatible: should be "brcm,iproc-mdio" +- reg: address and length of the register set for the MDIO interface +- #size-cells: must be 1 +- #address-cells: must be 0 + +Child nodes of this MDIO bus controller node are standard Ethernet PHY device +nodes as described in Documentation/devicetree/bindings/net/phy.txt + +Example: + +mdio@0x18002000 { + compatible = "brcm,iproc-mdio"; + reg = <0x18002000 0x8>; + #size-cells = <1>; + #address-cells = <0>; + + enet-gphy@0 { + reg = <0>; + }; +};
Add device tree binding documentation for the Broadcom iProc MDIO bus driver. Signed-off-by: Arun Parameswaran <arunp@broadcom.com> --- .../devicetree/bindings/net/brcm,iproc-mdio.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt