HC5761.dts 914 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /dts-v1/;
  2. #include "HC5X61.dtsi"
  3. / {
  4. compatible = "hiwifi,hc5761", "hiwifi,hc5x61", "ralink,mt7620a-soc";
  5. model = "HiWiFi HC5761";
  6. aliases {
  7. led-boot = &led_system;
  8. led-failsafe = &led_system;
  9. led-running = &led_system;
  10. led-upgrade = &led_system;
  11. };
  12. leds {
  13. compatible = "gpio-leds";
  14. led_system: system {
  15. label = "hc5761:blue:system";
  16. gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
  17. };
  18. internet {
  19. label = "hc5761:blue:internet";
  20. gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
  21. };
  22. wlan2g {
  23. label = "hc5761:blue:wlan2g";
  24. gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
  25. };
  26. wlan5g {
  27. label = "hc5761:blue:wlan5g";
  28. gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
  29. };
  30. };
  31. };
  32. &ehci {
  33. status = "okay";
  34. };
  35. &ohci {
  36. status = "okay";
  37. };
  38. &pcie {
  39. status = "okay";
  40. };
  41. &pcie0 {
  42. mt76@0,0 {
  43. reg = <0x0000 0 0 0 0>;
  44. mediatek,mtd-eeprom = <&factory 0x8000>;
  45. ieee80211-freq-limit = <5000000 6000000>;
  46. };
  47. };