mt7981-rfb-mxl-2p5g-phy-eth1.dtso 580 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
  2. /dts-v1/;
  3. /plugin/;
  4. #include <dt-bindings/gpio/gpio.h>
  5. / {
  6. compatible = "mediatek,mt7981-rfb", "mediatek,mt7981";
  7. fragment@0 {
  8. target = <&gmac1>;
  9. __overlay__ {
  10. phy-mode = "2500base-x";
  11. phy-handle = <&phy5>;
  12. };
  13. };
  14. fragment@1 {
  15. target = <&mdio_bus>;
  16. __overlay__ {
  17. reset-gpios = <&pio 14 GPIO_ACTIVE_LOW>;
  18. reset-delay-us = <600>;
  19. reset-post-delay-us = <20000>;
  20. phy5: ethernet-phy@5 {
  21. reg = <5>;
  22. compatible = "ethernet-phy-ieee802.3-c45";
  23. phy-mode = "2500base-x";
  24. };
  25. };
  26. };
  27. };