qcom-ipq4018-wap-r-ac.dts 738 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /* Copyright (c) 2022, Alexander Couzens <[email protected]> */
  3. #include "qcom-ipq4018-wap-ac.dtsi"
  4. / {
  5. model = "MikroTik wAP R ac";
  6. compatible = "mikrotik,wap-r-ac";
  7. soc {
  8. tcsr@194b000 {
  9. /* select hostmode */
  10. compatible = "qcom,tcsr";
  11. reg = <0x194b000 0x100>;
  12. qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
  13. status = "okay";
  14. };
  15. usb3@8af8800 {
  16. status = "okay";
  17. dwc3@8a00000 {
  18. phys = <&usb3_hs_phy>;
  19. phy-names = "usb2-phy";
  20. };
  21. };
  22. };
  23. };
  24. &tlmm {
  25. enable-usb-power {
  26. gpio-hog;
  27. gpios = <2 GPIO_ACTIVE_HIGH>;
  28. output-high;
  29. line-name = "enable USB power";
  30. };
  31. };
  32. &usb3_hs_phy {
  33. status = "okay";
  34. };
  35. &usb3 {
  36. status = "okay";
  37. };