fast2704n.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /dts-v1/;
  2. #include "bcm6318.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Sagem F@ST2704N";
  6. compatible = "sagem,f@st2704n", "brcm,bcm6318";
  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. wlan {
  17. label = "wlan";
  18. gpios = <&gpio0 1 0>;
  19. linux,code = <KEY_WLAN>;
  20. };
  21. wps {
  22. label = "wps";
  23. gpios = <&gpio1 1 1>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. reset {
  27. label = "reset";
  28. gpios = <&gpio1 2 1>;
  29. linux,code = <KEY_RESTART>;
  30. };
  31. };
  32. gpio-leds {
  33. compatible = "gpio-leds";
  34. wps_green {
  35. label = "F@ST2704N:green:wps";
  36. gpios = <&gpio0 2 1>;
  37. };
  38. lan1_green {
  39. label = "F@ST2704N:green:lan1";
  40. gpios = <&gpio0 4 1>;
  41. };
  42. lan2_green {
  43. label = "F@ST2704N:green:lan2";
  44. gpios = <&gpio0 5 1>;
  45. };
  46. lan3_green {
  47. label = "F@ST2704N:green:lan3";
  48. gpios = <&gpio0 6 1>;
  49. };
  50. lan4_green {
  51. label = "F@ST2704N:green:lan4";
  52. gpios = <&gpio0 7 1>;
  53. };
  54. inet_green {
  55. label = "F@ST2704N:green:inet";
  56. gpios = <&gpio0 8 1>;
  57. };
  58. inet_red {
  59. label = "F@ST2704N:red:inet";
  60. gpios = <&gpio0 9 1>;
  61. };
  62. dsl_green {
  63. label = "F@ST2704N:green:dsl";
  64. gpios = <&gpio0 10 1>;
  65. };
  66. power_red {
  67. label = "F@ST2704N:red:power";
  68. gpios = <&gpio0 11 1>;
  69. };
  70. power_green {
  71. label = "F@ST2704N:green:power";
  72. gpios = <&gpio1 15 1>;
  73. default-state = "on";
  74. };
  75. usb_green {
  76. label = "F@ST2704N:green:usb";
  77. gpios = <&gpio1 17 1>;
  78. };
  79. };
  80. };