sh_eth.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. * Renesas Electronics SH EtherMAC
  2. This file provides information on what the device node for the SH EtherMAC
  3. interface contains.
  4. Required properties:
  5. - compatible: "renesas,gether-r8a7740" if the device is a part of R8A7740 SoC.
  6. "renesas,ether-r8a7778" if the device is a part of R8A7778 SoC.
  7. "renesas,ether-r8a7779" if the device is a part of R8A7779 SoC.
  8. "renesas,ether-r8a7790" if the device is a part of R8A7790 SoC.
  9. "renesas,ether-r8a7791" if the device is a part of R8A7791 SoC.
  10. "renesas,ether-r8a7793" if the device is a part of R8A7793 SoC.
  11. "renesas,ether-r8a7794" if the device is a part of R8A7794 SoC.
  12. "renesas,ether-r7s72100" if the device is a part of R7S72100 SoC.
  13. - reg: offset and length of (1) the E-DMAC/feLic register block (required),
  14. (2) the TSU register block (optional).
  15. - interrupts: interrupt specifier for the sole interrupt.
  16. - phy-mode: see ethernet.txt file in the same directory.
  17. - phy-handle: see ethernet.txt file in the same directory.
  18. - #address-cells: number of address cells for the MDIO bus, must be equal to 1.
  19. - #size-cells: number of size cells on the MDIO bus, must be equal to 0.
  20. - clocks: clock phandle and specifier pair.
  21. - pinctrl-0: phandle, referring to a default pin configuration node.
  22. Optional properties:
  23. - interrupt-parent: the phandle for the interrupt controller that services
  24. interrupts for this device.
  25. - pinctrl-names: pin configuration state name ("default").
  26. - renesas,no-ether-link: boolean, specify when a board does not provide a proper
  27. Ether LINK signal.
  28. - renesas,ether-link-active-low: boolean, specify when the Ether LINK signal is
  29. active-low instead of normal active-high.
  30. Example (Lager board):
  31. ethernet@ee700000 {
  32. compatible = "renesas,ether-r8a7790";
  33. reg = <0 0xee700000 0 0x400>;
  34. interrupt-parent = <&gic>;
  35. interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
  36. clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
  37. phy-mode = "rmii";
  38. phy-handle = <&phy1>;
  39. pinctrl-0 = <&ether_pins>;
  40. pinctrl-names = "default";
  41. renesas,ether-link-active-low;
  42. #address-cells = <1>;
  43. #size-cells = <0>;
  44. phy1: ethernet-phy@1 {
  45. reg = <1>;
  46. interrupt-parent = <&irqc0>;
  47. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  48. pinctrl-0 = <&phy1_pins>;
  49. pinctrl-names = "default";
  50. };
  51. };