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/smsc911x.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 * Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller
    2 
    3 Required properties:
    4 - compatible : Should be "smsc,lan<model>", "smsc,lan9115"
    5 - reg : Address and length of the io space for SMSC LAN
    6 - interrupts : one or two interrupt specifiers
    7   - The first interrupt is the SMSC LAN interrupt line
    8   - The second interrupt (if present) is the PME (power
    9     management event) interrupt that is able to wake up the host
   10      system with a 50ms pulse on network activity
   11 - phy-mode : See ethernet.txt file in the same directory
   12 
   13 Optional properties:
   14 - reg-shift : Specify the quantity to shift the register offsets by
   15 - reg-io-width : Specify the size (in bytes) of the IO accesses that
   16   should be performed on the device.  Valid value for SMSC LAN is
   17   2 or 4.  If it's omitted or invalid, the size would be 2.
   18 - smsc,irq-active-high : Indicates the IRQ polarity is active-high
   19 - smsc,irq-push-pull : Indicates the IRQ type is push-pull
   20 - smsc,force-internal-phy : Forces SMSC LAN controller to use
   21   internal PHY
   22 - smsc,force-external-phy : Forces SMSC LAN controller to use
   23   external PHY
   24 - smsc,save-mac-address : Indicates that mac address needs to be saved
   25   before resetting the controller
   26 - reset-gpios : a GPIO line connected to the RESET (active low) signal
   27   of the device. On many systems this is wired high so the device goes
   28   out of reset at power-on, but if it is under program control, this
   29   optional GPIO can wake up in response to it.
   30 - vdd33a-supply, vddvario-supply : 3.3V analog and IO logic power supplies
   31 
   32 Examples:
   33 
   34 lan9220@f4000000 {
   35         compatible = "smsc,lan9220", "smsc,lan9115";
   36         reg = <0xf4000000 0x2000000>;
   37         phy-mode = "mii";
   38         interrupt-parent = <&gpio1>;
   39         interrupts = <31>, <32>;
   40         reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
   41         reg-io-width = <4>;
   42         smsc,irq-push-pull;
   43 };

Cache object: 33dafde5190779da94afbf1b64a54946


[ 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.