1
0

ar9342_ubnt_nanostation-ac-loco.dts 674 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include <dt-bindings/gpio/gpio.h>
  4. #include <dt-bindings/input/input.h>
  5. #include "ar9342_ubnt_wa.dtsi"
  6. / {
  7. compatible = "ubnt,nanostation-ac-loco", "ubnt,wa", "qca,ar9342";
  8. model = "Ubiquiti Nanostation AC loco (WA)";
  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. /* default for ar934x, except for 1000M and 10M */
  21. pll-data = <0x06000000 0x00000101 0x00001313>;
  22. mtd-mac-address = <&eeprom 0x0>;
  23. phy-mode = "rgmii";
  24. phy-handle = <&phy4>;
  25. gmac-config {
  26. device = <&gmac>;
  27. rxd-delay = <3>;
  28. rxdv-delay = <3>;
  29. };
  30. };