smsc911x.txt 1.8 KB

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