smsc911x.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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 : See ethernet.txt file in the same directory
  9. Optional properties:
  10. - reg-shift : Specify the quantity to shift the register offsets by
  11. - reg-io-width : Specify the size (in bytes) of the IO accesses that
  12. should be performed on the device. Valid value for SMSC LAN is
  13. 2 or 4. If it's omitted or invalid, the size would be 2.
  14. - smsc,irq-active-high : Indicates the IRQ polarity is active-high
  15. - smsc,irq-push-pull : Indicates the IRQ type is push-pull
  16. - smsc,force-internal-phy : Forces SMSC LAN controller to use
  17. internal PHY
  18. - smsc,force-external-phy : Forces SMSC LAN controller to use
  19. external PHY
  20. - smsc,save-mac-address : Indicates that mac address needs to be saved
  21. before resetting the controller
  22. Examples:
  23. lan9220@f4000000 {
  24. compatible = "smsc,lan9220", "smsc,lan9115";
  25. reg = <0xf4000000 0x2000000>;
  26. phy-mode = "mii";
  27. interrupt-parent = <&gpio1>;
  28. interrupts = <31>;
  29. reg-io-width = <4>;
  30. smsc,irq-push-pull;
  31. };