diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2013-12-13 17:03:25 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-01-16 15:11:31 -0500 |
commit | e2897d7e0b0460dca91b52d55ce41c888363502d (patch) | |
tree | a98f85e834c50accc2e3c25374de3d76b6b38a2d /Documentation/devicetree | |
parent | 6514dff9339fdd95efb8a0615c49e76bab3fe311 (diff) |
devicetree: macb: Document clock properties
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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/net/macb.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index 4ff65047bb9a..70af2ec12b09 100644 --- a/Documentation/devicetree/bindings/net/macb.txt +++ b/Documentation/devicetree/bindings/net/macb.txt | |||
@@ -10,6 +10,10 @@ Required properties: | |||
10 | - interrupts: Should contain macb interrupt | 10 | - interrupts: Should contain macb interrupt |
11 | - phy-mode: String, operation mode of the PHY interface. | 11 | - phy-mode: String, operation mode of the PHY interface. |
12 | Supported values are: "mii", "rmii", "gmii", "rgmii". | 12 | Supported values are: "mii", "rmii", "gmii", "rgmii". |
13 | - clock-names: Tuple listing input clock names. | ||
14 | Required elements: 'pclk', 'hclk' | ||
15 | Optional elements: 'tx_clk' | ||
16 | - clocks: Phandles to input clocks. | ||
13 | 17 | ||
14 | Optional properties: | 18 | Optional properties: |
15 | - local-mac-address: 6 bytes, mac address | 19 | - local-mac-address: 6 bytes, mac address |
@@ -22,4 +26,6 @@ Examples: | |||
22 | interrupts = <21>; | 26 | interrupts = <21>; |
23 | phy-mode = "rmii"; | 27 | phy-mode = "rmii"; |
24 | local-mac-address = [3a 0e 03 04 05 06]; | 28 | local-mac-address = [3a 0e 03 04 05 06]; |
29 | clock-names = "pclk", "hclk", "tx_clk"; | ||
30 | clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; | ||
25 | }; | 31 | }; |