dts: stmmac: Document the clocks property in the stmmac base document
authorDinh Nguyen <dinguyen@altera.com>
Thu, 27 Mar 2014 03:45:12 +0000 (22:45 -0500)
committerArnd Bergmann <arnd@arndb.de>
Sat, 29 Mar 2014 00:12:08 +0000 (01:12 +0100)
Add the clocks and clock-names property to the base stmmac dts bindings
document.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/net/stmmac.txt

index 9d92d42140f22109143f9d975a9fd2c96fec9837..9a0c1b7bee29788667745b3ca42357ae9bbf32f2 100644 (file)
@@ -34,6 +34,10 @@ Optional properties:
        reset phandle is given
 - max-frame-size:      Maximum Transfer Unit (IEEE defined MTU), rather
                        than the maximum frame size.
+- clocks: If present, the first clock should be the GMAC main clock,
+  further clocks may be specified in derived bindings.
+- clocks-names: One name for each entry in the clocks property, the
+  first one should be "stmmaceth".
 
 Examples:
 
@@ -46,4 +50,6 @@ Examples:
                mac-address = [000000000000]; /* Filled in by U-Boot */
                max-frame-size = <3800>;
                phy-mode = "gmii";
+               clocks = <&clock>;
+               clock-names = "stmmaceth">;
        };