1
0

ar7241_tplink_tl-mr3x20.dtsi 638 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include "ar7241_tplink.dtsi"
  3. / {
  4. gpio-export {
  5. compatible = "gpio-export";
  6. #size-cells = <0>;
  7. gpio_usb_power {
  8. gpio-export,name = "tp-link:power:usb";
  9. gpio-export,output = <1>;
  10. gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
  11. };
  12. };
  13. };
  14. &gpio_leds {
  15. led3g {
  16. label = "tp-link:green:3g";
  17. gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
  18. trigger-sources = <&hub_port>;
  19. linux,default-trigger = "usbport";
  20. };
  21. };
  22. &usb {
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. status = "okay";
  26. hub_port: port@1 {
  27. reg = <1>;
  28. #trigger-source-cells = <0>;
  29. };
  30. };
  31. &usb_phy {
  32. status = "okay";
  33. };