nixge.txt 946 B

1234567891011121314151617181920212223242526272829303132
  1. * NI XGE Ethernet controller
  2. Required properties:
  3. - compatible: Should be "ni,xge-enet-2.00"
  4. - reg: Address and length of the register set for the device
  5. - interrupts: Should contain tx and rx interrupt
  6. - interrupt-names: Should be "rx" and "tx"
  7. - phy-mode: See ethernet.txt file in the same directory.
  8. - phy-handle: See ethernet.txt file in the same directory.
  9. - nvmem-cells: Phandle of nvmem cell containing the MAC address
  10. - nvmem-cell-names: Should be "address"
  11. Examples (10G generic PHY):
  12. nixge0: ethernet@40000000 {
  13. compatible = "ni,xge-enet-2.00";
  14. reg = <0x40000000 0x6000>;
  15. nvmem-cells = <&eth1_addr>;
  16. nvmem-cell-names = "address";
  17. interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>, <0 30 IRQ_TYPE_LEVEL_HIGH>;
  18. interrupt-names = "rx", "tx";
  19. interrupt-parent = <&intc>;
  20. phy-mode = "xgmii";
  21. phy-handle = <&ethernet_phy1>;
  22. ethernet_phy1: ethernet-phy@4 {
  23. compatible = "ethernet-phy-ieee802.3-c45";
  24. reg = <4>;
  25. };
  26. };