omap-gpmc-smsc9221.dtsi 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Common file for GPMC connected smsc9221 on omaps
  3. *
  4. * Compared to smsc911x, smsc9221 (and others like smsc9217
  5. * or smsc 9218) has faster timings, leading to higher
  6. * bandwidth.
  7. *
  8. * Note that the board specifc DTS file needs to specify
  9. * ranges, pinctrl, reg, interrupt parent and interrupts.
  10. */
  11. / {
  12. vddvario: regulator-vddvario {
  13. compatible = "regulator-fixed";
  14. regulator-name = "vddvario";
  15. regulator-always-on;
  16. };
  17. vdd33a: regulator-vdd33a {
  18. compatible = "regulator-fixed";
  19. regulator-name = "vdd33a";
  20. regulator-always-on;
  21. };
  22. };
  23. &gpmc {
  24. ethernet@gpmc {
  25. compatible = "smsc,lan9221","smsc,lan9115";
  26. bank-width = <2>;
  27. gpmc,mux-add-data;
  28. gpmc,cs-on-ns = <0>;
  29. gpmc,cs-rd-off-ns = <42>;
  30. gpmc,cs-wr-off-ns = <36>;
  31. gpmc,adv-on-ns = <6>;
  32. gpmc,adv-rd-off-ns = <12>;
  33. gpmc,adv-wr-off-ns = <12>;
  34. gpmc,oe-on-ns = <0>;
  35. gpmc,oe-off-ns = <42>;
  36. gpmc,we-on-ns = <0>;
  37. gpmc,we-off-ns = <36>;
  38. gpmc,rd-cycle-ns = <60>;
  39. gpmc,wr-cycle-ns = <54>;
  40. gpmc,access-ns = <36>;
  41. gpmc,page-burst-access-ns = <0>;
  42. gpmc,bus-turnaround-ns = <0>;
  43. gpmc,cycle2cycle-delay-ns = <0>;
  44. gpmc,wr-data-mux-bus-ns = <18>;
  45. gpmc,wr-access-ns = <42>;
  46. gpmc,cycle2cycle-samecsen;
  47. gpmc,cycle2cycle-diffcsen;
  48. vddvario-supply = <&vddvario>;
  49. vdd33a-supply = <&vdd33a>;
  50. reg-io-width = <4>;
  51. smsc,save-mac-address;
  52. };
  53. };