brcm,systemport.yaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/brcm,systemport.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom BCM7xxx Ethernet Systemport Controller (SYSTEMPORT)
  7. maintainers:
  8. - Florian Fainelli <f.fainelli@gmail.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - brcm,systemport-v1.00
  13. - brcm,systemportlite-v1.00
  14. - brcm,systemport
  15. reg:
  16. maxItems: 1
  17. interrupts:
  18. minItems: 2
  19. items:
  20. - description: interrupt line for RX queues
  21. - description: interrupt line for TX queues
  22. - description: interrupt line for Wake-on-LAN
  23. clocks:
  24. items:
  25. - description: main clock
  26. - description: Wake-on-LAN clock
  27. clock-names:
  28. items:
  29. - const: sw_sysport
  30. - const: sw_sysportwol
  31. systemport,num-tier2-arb:
  32. $ref: /schemas/types.yaml#/definitions/uint32
  33. description:
  34. Number of tier 2 arbiters
  35. systemport,num-tier1-arb:
  36. $ref: /schemas/types.yaml#/definitions/uint32
  37. description:
  38. Number of tier 2 arbiters
  39. systemport,num-txq:
  40. $ref: /schemas/types.yaml#/definitions/uint32
  41. minimum: 1
  42. maximum: 32
  43. description:
  44. Number of HW transmit queues
  45. systemport,num-rxq:
  46. $ref: /schemas/types.yaml#/definitions/uint32
  47. minimum: 1
  48. maximum: 32
  49. description:
  50. Number of HW receive queues
  51. required:
  52. - reg
  53. - interrupts
  54. - phy-mode
  55. allOf:
  56. - $ref: ethernet-controller.yaml#
  57. unevaluatedProperties: false
  58. examples:
  59. - |
  60. ethernet@f04a0000 {
  61. compatible = "brcm,systemport-v1.00";
  62. reg = <0xf04a0000 0x4650>;
  63. local-mac-address = [ 00 11 22 33 44 55 ];
  64. phy-mode = "gmii";
  65. interrupts = <0x0 0x16 0x0>,
  66. <0x0 0x17 0x0>;
  67. fixed-link {
  68. speed = <1000>;
  69. full-duplex;
  70. };
  71. };