qcom-ipq4018-rutx10.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include "qcom-ipq4018-rutx.dtsi"
  3. / {
  4. model = "Teltonika RUTX10";
  5. compatible = "teltonika,rutx10";
  6. soc {
  7. leds {
  8. compatible = "gpio-leds";
  9. wifi2g {
  10. label = "green:wifi2g";
  11. gpios = <&stm32_io 19 GPIO_ACTIVE_HIGH>;
  12. linux,default-trigger = "phy0tpt";
  13. };
  14. wifi5g {
  15. label = "green:wifi5g";
  16. gpios = <&stm32_io 18 GPIO_ACTIVE_HIGH>;
  17. linux,default-trigger = "phy1tpt";
  18. };
  19. };
  20. gpio_export {
  21. compatible = "gpio-export";
  22. #size-cells = <0>;
  23. gpio_out {
  24. gpio-export,name = "gpio_out";
  25. gpio-export,output = <0>;
  26. gpio-export,direction_may_change = <0>;
  27. gpios = <&stm32_io 23 GPIO_ACTIVE_HIGH>;
  28. };
  29. gpio_in {
  30. gpio-export,name = "gpio_in";
  31. gpio-export,input = <0>;
  32. gpio-export,direction_may_change = <0>;
  33. gpios = <&stm32_io 24 GPIO_ACTIVE_LOW>;
  34. };
  35. };
  36. };
  37. };
  38. &blsp1_i2c3 {
  39. status = "okay";
  40. pinctrl-0 = <&i2c_0_pins>;
  41. pinctrl-names = "default";
  42. clock-frequency = <400000>;
  43. stm32_io: stm32@74 {
  44. compatible = "tlt,stm32v1";
  45. #gpio-cells = <2>;
  46. #interrupt-cells = <2>;
  47. gpio-controller;
  48. interrupt-controller;
  49. interrupt-parent = <&tlmm>;
  50. interrupts = <5 2>;
  51. reg = <0x74>;
  52. };
  53. };
  54. &wifi0 {
  55. status = "okay";
  56. qcom,ath10k-calibration-variant = "Teltonika-RUTX10";
  57. };
  58. &wifi1 {
  59. status = "okay";
  60. qcom,ath10k-calibration-variant = "Teltonika-RUTX10";
  61. };