1
0

ar7242_buffalo_wzr-hp-g450h.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include <dt-bindings/gpio/gpio.h>
  4. #include <dt-bindings/input/input.h>
  5. #include "ar7242_buffalo_wzr-bhr.dtsi"
  6. / {
  7. compatible = "buffalo,wzr-hp-g450h", "qca,ar7242";
  8. model = "Buffalo WZR-HP-G450H/WZR-450HP";
  9. ath9k-leds {
  10. compatible = "gpio-leds";
  11. led_movie_engine {
  12. label = "buffalo:blue:movie_engine";
  13. gpios = <&ath9k 13 GPIO_ACTIVE_LOW>;
  14. };
  15. router {
  16. label = "buffalo:green:router";
  17. gpios = <&ath9k 14 GPIO_ACTIVE_LOW>;
  18. };
  19. wireless {
  20. label = "buffalo:green:wireless";
  21. gpios = <&ath9k 15 GPIO_ACTIVE_LOW>;
  22. linux,default-trigger = "phy0tpt";
  23. };
  24. };
  25. };
  26. &keys {
  27. movie_engine {
  28. label = "movie_engine";
  29. linux,code = <BTN_6>;
  30. linux,input-type = <EV_SW>;
  31. gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
  32. debounce-interval = <60>;
  33. };
  34. aoss {
  35. label = "aoss";
  36. linux,code = <KEY_WPS_BUTTON>;
  37. gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
  38. debounce-interval = <60>;
  39. };
  40. router_off {
  41. label = "router_off";
  42. linux,code = <BTN_5>;
  43. linux,input-type = <EV_SW>;
  44. gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
  45. debounce-interval = <60>;
  46. };
  47. };
  48. &eth0 {
  49. mtd-mac-address = <&art 0x1002>;
  50. };
  51. &sec_vpn {
  52. label = "buffalo:orange:security";
  53. };
  54. &pcie {
  55. status = "okay";
  56. ath9k: wifi@0,0 {
  57. compatible = "pci168c,0030";
  58. reg = <0x0000 0 0 0 0>;
  59. mtd-mac-address = <&art 0x1002>;
  60. qca,no-eeprom;
  61. #gpio-cells = <2>;
  62. gpio-controller;
  63. };
  64. };