smsc911x.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 : Should contain SMSC LAN interrupt line
  6. - interrupt-parent : Should be the phandle for the interrupt controller
  7. that services interrupts for this device
  8. - phy-mode : String, operation mode of the PHY interface.
  9. Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii",
  10. "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii".
  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. - local-mac-address : 6 bytes, mac address
  25. Examples:
  26. lan9220@f4000000 {
  27. compatible = "smsc,lan9220", "smsc,lan9115";
  28. reg = <0xf4000000 0x2000000>;
  29. phy-mode = "mii";
  30. interrupt-parent = <&gpio1>;
  31. interrupts = <31>;
  32. reg-io-width = <4>;
  33. smsc,irq-push-pull;
  34. };