dsl-274xb-f.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /dts-v1/;
  2. /include/ "bcm6328.dtsi"
  3. / {
  4. model = "D-Link DSL-2740B/DSL-2741B rev F1";
  5. compatible = "d-link,dsl-274xb-f", "brcm,bcm6328";
  6. gpio-keys-polled {
  7. compatible = "gpio-keys-polled";
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. poll-interval = <20>;
  11. debounce-interval = <60>;
  12. wifi {
  13. label = "wifi";
  14. gpios = <&gpio0 10 1>;
  15. linux,code = <0xee>;
  16. };
  17. reset {
  18. label = "reset";
  19. gpios = <&gpio0 23 1>;
  20. linux,code = <0x198>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&gpio0 24 1>;
  25. linux,code = <0x211>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. inet_red {
  31. label = "dsl-274xb:red:internet";
  32. gpios = <&gpio0 2 1>;
  33. };
  34. dsl_green {
  35. label = "dsl-274xb:green:dsl";
  36. gpios = <&gpio0 3 1>;
  37. };
  38. power_green {
  39. label = "dsl-274xb:green:power";
  40. gpios = <&gpio0 4 1>;
  41. default-state = "on";
  42. };
  43. power_red {
  44. label = "dsl-274xb:red:power";
  45. gpios = <&gpio0 8 1>;
  46. };
  47. wps_blue {
  48. label = "dsl-274xb:blue:wps";
  49. gpios = <&gpio0 9 1>;
  50. };
  51. inet_green {
  52. label = "dsl-274xb:green:internet";
  53. gpios = <&gpio0 11 1>;
  54. };
  55. };
  56. };