diff options
Diffstat (limited to 'dts/Bindings/net/arc_emac.txt')
-rw-r--r-- | dts/Bindings/net/arc_emac.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dts/Bindings/net/arc_emac.txt b/dts/Bindings/net/arc_emac.txt new file mode 100644 index 0000000000..7fbb027218 --- /dev/null +++ b/dts/Bindings/net/arc_emac.txt @@ -0,0 +1,31 @@ +* Synopsys ARC EMAC 10/100 Ethernet driver (EMAC) + +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. + +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. + +Examples: + + ethernet@c0fc2000 { + compatible = "snps,arc-emac"; + reg = <0xc0fc2000 0x3c>; + interrupts = <6>; + mac-address = [ 00 11 22 33 44 55 ]; + clock-frequency = <80000000>; + max-speed = <100>; + phy = <&phy0>; + + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@0 { + reg = <1>; + }; + }; |