summaryrefslogtreecommitdiffstats
path: root/dts/Bindings
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-19 10:11:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-19 10:11:28 +0200
commit3fae863387928806666951f19e8f0ba3e7ab0aa8 (patch)
treeaeda4b16d84890a1f4167d043329d38f236a9389 /dts/Bindings
parent08827bfc18c8b2325729e6d7e001b92665d9a9fe (diff)
downloadbarebox-3fae863387928806666951f19e8f0ba3e7ab0aa8.tar.gz
barebox-3fae863387928806666951f19e8f0ba3e7ab0aa8.tar.xz
dts: update to v3.15-rc5
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings')
-rw-r--r--dts/Bindings/net/arc_emac.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/dts/Bindings/net/arc_emac.txt b/dts/Bindings/net/arc_emac.txt
index 7fbb02721..a1d71eb43 100644
--- a/dts/Bindings/net/arc_emac.txt
+++ b/dts/Bindings/net/arc_emac.txt
@@ -4,11 +4,15 @@ Required properties:
- compatible: Should be "snps,arc-emac"
- reg: Address and length of the register set for the device
- interrupts: Should contain the EMAC interrupts
-- clock-frequency: CPU frequency. It is needed to calculate and set polling
-period of EMAC.
- max-speed: see ethernet.txt file in the same directory.
- phy: see ethernet.txt file in the same directory.
+Clock handling:
+The clock frequency is needed to calculate and set polling period of EMAC.
+It must be provided by one of:
+- clock-frequency: CPU frequency.
+- clocks: reference to the clock supplying the EMAC.
+
Child nodes of the driver are the individual PHY devices connected to the
MDIO bus. They must have a "reg" property given the PHY address on the MDIO bus.
@@ -19,7 +23,11 @@ Examples:
reg = <0xc0fc2000 0x3c>;
interrupts = <6>;
mac-address = [ 00 11 22 33 44 55 ];
+
clock-frequency = <80000000>;
+ /* or */
+ clocks = <&emac_clock>;
+
max-speed = <100>;
phy = <&phy0>;