Skip to content

Commit

Permalink
devicetree: macb: Document clock properties
Browse files Browse the repository at this point in the history
The macb driver uses the clock bindings. Document the required
properties, especially the driver specific clock-names.

Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Soren Brinkmann <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
sorenb-xlnx authored and robherring committed Jan 16, 2014
1 parent 6514dff commit e2897d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/net/macb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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>;
};

0 comments on commit e2897d7

Please sign in to comment.