xlnx,emaclite.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/xlnx,emaclite.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Xilinx Emaclite Ethernet controller
  7. maintainers:
  8. - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
  9. - Harini Katakam <harini.katakam@amd.com>
  10. allOf:
  11. - $ref: ethernet-controller.yaml#
  12. properties:
  13. compatible:
  14. enum:
  15. - xlnx,opb-ethernetlite-1.01.a
  16. - xlnx,opb-ethernetlite-1.01.b
  17. - xlnx,xps-ethernetlite-1.00.a
  18. - xlnx,xps-ethernetlite-2.00.a
  19. - xlnx,xps-ethernetlite-2.01.a
  20. - xlnx,xps-ethernetlite-3.00.a
  21. reg:
  22. maxItems: 1
  23. interrupts:
  24. maxItems: 1
  25. clocks:
  26. maxItems: 1
  27. phy-handle: true
  28. local-mac-address: true
  29. xlnx,tx-ping-pong:
  30. type: boolean
  31. description: hardware supports tx ping pong buffer.
  32. xlnx,rx-ping-pong:
  33. type: boolean
  34. description: hardware supports rx ping pong buffer.
  35. required:
  36. - compatible
  37. - reg
  38. - interrupts
  39. - clocks
  40. - phy-handle
  41. additionalProperties: false
  42. examples:
  43. - |
  44. axi_ethernetlite_1: ethernet@40e00000 {
  45. compatible = "xlnx,xps-ethernetlite-3.00.a";
  46. reg = <0x40e00000 0x10000>;
  47. interrupt-parent = <&axi_intc_1>;
  48. interrupts = <1>;
  49. clocks = <&dummy>;
  50. local-mac-address = [00 00 00 00 00 00];
  51. phy-handle = <&phy0>;
  52. xlnx,rx-ping-pong;
  53. xlnx,tx-ping-pong;
  54. };