nxp,lpc-eth.yaml 886 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/nxp,lpc-eth.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: NXP LPC32xx SoC Ethernet Controller
  7. maintainers:
  8. - Frank Li <Frank.Li@nxp.com>
  9. properties:
  10. compatible:
  11. const: nxp,lpc-eth
  12. reg:
  13. maxItems: 1
  14. clocks:
  15. maxItems: 1
  16. interrupts:
  17. maxItems: 1
  18. use-iram:
  19. $ref: /schemas/types.yaml#/definitions/flag
  20. description: Use LPC32xx internal SRAM (IRAM) for DMA buffering
  21. required:
  22. - compatible
  23. - reg
  24. - interrupts
  25. allOf:
  26. - $ref: ethernet-controller.yaml#
  27. unevaluatedProperties: false
  28. examples:
  29. - |
  30. ethernet@31060000 {
  31. compatible = "nxp,lpc-eth";
  32. reg = <0x31060000 0x1000>;
  33. interrupt-parent = <&mic>;
  34. interrupts = <29 0>;
  35. phy-mode = "rmii";
  36. use-iram;
  37. };