fast2504n.dts 1007 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /dts-v1/;
  2. /include/ "bcm6362.dtsi"
  3. / {
  4. model = "Sagem F@ST2504n";
  5. compatible = "sagem,f@st2504n", "brcm,bcm6362";
  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. reset {
  13. label = "reset";
  14. gpios = <&gpio0 24 1>;
  15. linux,code = <0x198>;
  16. };
  17. wps {
  18. label = "wps";
  19. gpios = <&gpio0 25 1>;
  20. linux,code = <0x211>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. power_orange {
  26. label = "fast2504n:orange:power";
  27. gpios = <&gpio0 2 1>;
  28. };
  29. power_green {
  30. label = "fast2504n:green:power";
  31. gpios = <&gpio0 10 1>;
  32. default-state = "on";
  33. };
  34. inet_red {
  35. label = "fast2504n:red:internet";
  36. gpios = <&gpio0 26 1>;
  37. };
  38. ok_green {
  39. label = "fast2504n:green:ok";
  40. gpios = <&gpio0 28 1>;
  41. };
  42. ok_orange {
  43. label = "fast2504n:orange:ok";
  44. gpios = <&gpio0 29 1>;
  45. };
  46. wlan_orangee {
  47. label = "fast2504n:orange:wlan";
  48. gpios = <&gpio0 30 1>;
  49. };
  50. };
  51. };