The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/net/arc_emac.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * Synopsys ARC EMAC 10/100 Ethernet driver (EMAC)
    2 
    3 Required properties:
    4 - compatible: Should be "snps,arc-emac"
    5 - reg: Address and length of the register set for the device
    6 - interrupts: Should contain the EMAC interrupts
    7 - max-speed: see ethernet.txt file in the same directory.
    8 - phy: see ethernet.txt file in the same directory.
    9 
   10 Optional properties:
   11 - phy-reset-gpios : Should specify the gpio for phy reset
   12 - phy-reset-duration : Reset duration in milliseconds.  Should present
   13   only if property "phy-reset-gpios" is available.  Missing the property
   14   will have the duration be 1 millisecond.  Numbers greater than 1000 are
   15   invalid and 1 millisecond will be used instead.
   16 
   17 Clock handling:
   18 The clock frequency is needed to calculate and set polling period of EMAC.
   19 It must be provided by one of:
   20 - clock-frequency: CPU frequency.
   21 - clocks: reference to the clock supplying the EMAC.
   22 
   23 Child nodes of the driver are the individual PHY devices connected to the
   24 MDIO bus. They must have a "reg" property given the PHY address on the MDIO bus.
   25 
   26 Examples:
   27 
   28         ethernet@c0fc2000 {
   29                 compatible = "snps,arc-emac";
   30                 reg = <0xc0fc2000 0x3c>;
   31                 interrupts = <6>;
   32                 mac-address = [ 00 11 22 33 44 55 ];
   33 
   34                 clock-frequency = <80000000>;
   35                 /* or */
   36                 clocks = <&emac_clock>;
   37 
   38                 max-speed = <100>;
   39                 phy = <&phy0>;
   40 
   41                 #address-cells = <1>;
   42                 #size-cells = <0>;
   43                 phy0: ethernet-phy@0 {
   44                         reg = <1>;
   45                 };
   46         };

Cache object: 696d445d553f7578a99030a94ba8be3d


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.