devicetree: macb: Document clock properties
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Fri, 13 Dec 2013 22:03:25 +0000 (14:03 -0800)
committerRob Herring <robh@kernel.org>
Thu, 16 Jan 2014 20:11:31 +0000 (14:11 -0600)
The macb driver uses the clock bindings. Document the required
properties, especially the driver specific clock-names.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/net/macb.txt

index 4ff65047bb9a8c63e3e647331fe2f32e1551db56..70af2ec12b09306eebc6a809a9cf55feefc1635a 100644 (file)
@@ -10,6 +10,10 @@ Required properties:
 - interrupts: Should contain macb interrupt
 - phy-mode: String, operation mode of the PHY interface.
   Supported values are: "mii", "rmii", "gmii", "rgmii".
+- clock-names: Tuple listing input clock names.
+       Required elements: 'pclk', 'hclk'
+       Optional elements: 'tx_clk'
+- clocks: Phandles to input clocks.
 
 Optional properties:
 - local-mac-address: 6 bytes, mac address
@@ -22,4 +26,6 @@ Examples:
                interrupts = <21>;
                phy-mode = "rmii";
                local-mac-address = [3a 0e 03 04 05 06];
+               clock-names = "pclk", "hclk", "tx_clk";
+               clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
        };