ar9342_ubnt_bullet-m-xw.dts 535 B

1234567891011121314151617181920212223242526272829303132333435
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include <dt-bindings/gpio/gpio.h>
  4. #include <dt-bindings/input/input.h>
  5. #include "ar9342_ubnt_xw.dtsi"
  6. / {
  7. compatible = "ubnt,bullet-m-xw", "ubnt,xw", "qca,ar9342";
  8. model = "Ubiquiti Bullet M (XW)";
  9. };
  10. &mdio0 {
  11. status = "okay";
  12. phy-mask = <4>;
  13. phy4: ethernet-phy@4 {
  14. phy-mode = "rgmii";
  15. reg = <4>;
  16. };
  17. };
  18. &eth0 {
  19. status = "okay";
  20. phy-mode = "rgmii";
  21. phy-handle = <&phy4>;
  22. gmac-config {
  23. device = <&gmac>;
  24. rxd-delay = <3>;
  25. rxdv-delay = <3>;
  26. };
  27. };