fast2504n.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /dts-v1/;
  2. #include "bcm6362.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Sagem F@ST2504n";
  6. compatible = "sagem,f@st2504n", "brcm,bcm6362";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. };
  10. gpio-keys-polled {
  11. compatible = "gpio-keys-polled";
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. poll-interval = <20>;
  15. debounce-interval = <60>;
  16. reset {
  17. label = "reset";
  18. gpios = <&gpio0 24 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. wps {
  22. label = "wps";
  23. gpios = <&gpio0 25 1>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. power_orange {
  30. label = "fast2504n:orange:power";
  31. gpios = <&gpio0 2 1>;
  32. };
  33. power_green {
  34. label = "fast2504n:green:power";
  35. gpios = <&gpio0 10 1>;
  36. default-state = "on";
  37. };
  38. inet_red {
  39. label = "fast2504n:red:internet";
  40. gpios = <&gpio0 26 1>;
  41. };
  42. ok_green {
  43. label = "fast2504n:green:ok";
  44. gpios = <&gpio0 28 1>;
  45. };
  46. ok_orange {
  47. label = "fast2504n:orange:ok";
  48. gpios = <&gpio0 29 1>;
  49. };
  50. wlan_orangee {
  51. label = "fast2504n:orange:wlan";
  52. gpios = <&gpio0 30 1>;
  53. };
  54. };
  55. };