aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/macb.txt
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2013-12-13 14:03:25 -0800
committerRob Herring <robh@kernel.org>2014-01-16 14:11:31 -0600
commite2897d7e0b0460dca91b52d55ce41c888363502d (patch)
treea98f85e834c50accc2e3c25374de3d76b6b38a2d /Documentation/devicetree/bindings/net/macb.txt
parentdts: bindings: trivial clock bindings doc fixes (diff)
downloadlinux-dev-e2897d7e0b0460dca91b52d55ce41c888363502d.tar.xz
linux-dev-e2897d7e0b0460dca91b52d55ce41c888363502d.zip
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/bindings/net/macb.txt')
-rw-r--r--Documentation/devicetree/bindings/net/macb.txt6
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:
- 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>;
};