ar7161_netgear_wndr3700.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include "ar7161_netgear_wndr3700.dtsi"
  4. / {
  5. compatible = "netgear,wndr3700", "qca,ar7161";
  6. model = "Netgear WNDR3700";
  7. };
  8. &partitions {
  9. partition@0 {
  10. label = "u-boot";
  11. reg = <0x000000 0x050000>;
  12. read-only;
  13. };
  14. partition@50000 {
  15. label = "u-boot-env";
  16. reg = <0x050000 0x020000>;
  17. read-only;
  18. };
  19. partition@70000 {
  20. label = "firmware";
  21. reg = <0x070000 0x780000>;
  22. compatible = "netgear,uimage";
  23. };
  24. art: partition@7f0000 {
  25. label = "art";
  26. reg = <0x7f0000 0x010000>;
  27. read-only;
  28. };
  29. };
  30. &ath9k1 {
  31. /* The original WNDR3700(v1) variant have four antennae dedicated
  32. * to the 5GHz radio as well. Again, two antennae are available for
  33. * each chain to switch between. The following configuration is the
  34. * default setting which taken from the vendor's wifi
  35. * code for that radio.
  36. *
  37. * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
  38. * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
  39. */
  40. antenna-demux {
  41. gpio-hog;
  42. line-name = "fixed antenna group 2";
  43. gpios = <6 GPIO_ACTIVE_LOW>,
  44. <7 GPIO_ACTIVE_HIGH>,
  45. <8 GPIO_ACTIVE_HIGH>,
  46. <9 GPIO_ACTIVE_LOW>;
  47. output-high;
  48. };
  49. };