fast2704v2.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /dts-v1/;
  2. #include "bcm6328.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Sagem F@ST2704V2";
  6. compatible = "sagem,f@st2704v2", "brcm,bcm6328";
  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. rfkill {
  17. label = "rfkill";
  18. gpios = <&gpio0 15 1>;
  19. linux,code = <KEY_WLAN>;
  20. };
  21. reset {
  22. label = "reset";
  23. gpios = <&gpio0 23 1>;
  24. linux,code = <KEY_RESTART>;
  25. };
  26. wps {
  27. label = "wps";
  28. gpios = <&gpio0 24 1>;
  29. linux,code = <KEY_WPS_BUTTON>;
  30. };
  31. };
  32. gpio-leds {
  33. compatible = "gpio-leds";
  34. usb_green {
  35. label = "F@ST2704V2:green:usb";
  36. gpios = <&gpio0 1 1>;
  37. };
  38. inet_red {
  39. label = "F@ST2704V2:red:inet";
  40. gpios = <&gpio0 2 1>;
  41. };
  42. dsl_green {
  43. label = "F@ST2704V2:green:dsl";
  44. gpios = <&gpio0 3 1>;
  45. };
  46. power_green {
  47. label = "F@ST2704V2:green:power";
  48. gpios = <&gpio0 4 1>;
  49. default-state = "on";
  50. };
  51. power_red {
  52. label = "F@ST2704V2:red:power";
  53. gpios = <&gpio0 5 1>;
  54. };
  55. wps_green {
  56. label = "F@ST2704V2:green:wps";
  57. gpios = <&gpio0 10 1>;
  58. };
  59. inet_green {
  60. label = "F@ST2704V2:green:inet";
  61. gpios = <&gpio0 11 1>;
  62. };
  63. };
  64. };