mt7622-ubnt-unifi-6-lr-v3.dtsi 831 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #include "mt7622-ubnt-unifi-6-lr.dtsi"
  2. / {
  3. aliases {
  4. led-boot = &led_white;
  5. led-failsafe = &led_white;
  6. led-running = &led_blue;
  7. led-upgrade = &led_blue;
  8. };
  9. gpio-leds {
  10. compatible = "gpio-leds";
  11. led_white: dome_white {
  12. label = "white:dome";
  13. gpios = <&pio 0x43 GPIO_ACTIVE_LOW>;
  14. };
  15. led_blue: dome_blue {
  16. label = "blue:dome";
  17. gpios = <&pio 0x44 GPIO_ACTIVE_HIGH>;
  18. };
  19. };
  20. };
  21. &eth {
  22. status = "okay";
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&eth_pins>;
  25. gmac0: mac@0 {
  26. compatible = "mediatek,eth-mac";
  27. reg = <0>;
  28. phy-mode = "sgmii";
  29. phy-handle = <&phy0>;
  30. phy-connection-type = "sgmii";
  31. managed = "in-band-status";
  32. };
  33. mdio: mdio-bus {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. phy0: ethernet-phy@0 {
  37. compatible = "ethernet-phy-ieee802.3-c22";
  38. reg = <0x0>;
  39. };
  40. };
  41. };