fast2704n.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. keys {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. wlan {
  17. label = "wlan";
  18. gpios = <&pinctrl 1 0>;
  19. linux,code = <KEY_WLAN>;
  20. debounce-interval = <60>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 33 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. debounce-interval = <60>;
  27. };
  28. reset {
  29. label = "reset";
  30. gpios = <&pinctrl 34 1>;
  31. linux,code = <KEY_RESTART>;
  32. debounce-interval = <60>;
  33. };
  34. };
  35. leds {
  36. compatible = "gpio-leds";
  37. wps_green {
  38. label = "F@ST2704N:green:wps";
  39. gpios = <&pinctrl 2 1>;
  40. };
  41. lan1_green {
  42. label = "F@ST2704N:green:lan1";
  43. gpios = <&pinctrl 4 1>;
  44. };
  45. lan2_green {
  46. label = "F@ST2704N:green:lan2";
  47. gpios = <&pinctrl 5 1>;
  48. };
  49. lan3_green {
  50. label = "F@ST2704N:green:lan3";
  51. gpios = <&pinctrl 6 1>;
  52. };
  53. lan4_green {
  54. label = "F@ST2704N:green:lan4";
  55. gpios = <&pinctrl 7 1>;
  56. };
  57. inet_green {
  58. label = "F@ST2704N:green:inet";
  59. gpios = <&pinctrl 8 1>;
  60. };
  61. inet_red {
  62. label = "F@ST2704N:red:inet";
  63. gpios = <&pinctrl 9 1>;
  64. };
  65. dsl_green {
  66. label = "F@ST2704N:green:dsl";
  67. gpios = <&pinctrl 10 1>;
  68. };
  69. power_red {
  70. label = "F@ST2704N:red:power";
  71. gpios = <&pinctrl 11 1>;
  72. };
  73. power_green {
  74. label = "F@ST2704N:green:power";
  75. gpios = <&pinctrl 47 1>;
  76. default-state = "on";
  77. };
  78. usb_green {
  79. label = "F@ST2704N:green:usb";
  80. gpios = <&pinctrl 49 1>;
  81. };
  82. };
  83. };
  84. &hsspi {
  85. status = "ok";
  86. flash@0 {
  87. compatible = "jedec,spi-nor";
  88. spi-max-frequency = <62500000>;
  89. spi-tx-bus-width = <2>;
  90. spi-rx-bus-width = <2>;
  91. reg = <0>;
  92. #address-cells = <1>;
  93. #size-cells = <1>;
  94. partitions {
  95. compatible = "fixed-partitions";
  96. #address-cells = <1>;
  97. #size-cells = <1>;
  98. cfe@0 {
  99. reg = <0x000000 0x010000>;
  100. label = "cfe";
  101. read-only;
  102. };
  103. linux@10000 {
  104. reg = <0x010000 0x7e0000>;
  105. label = "linux";
  106. compatible = "brcm,bcm963xx-imagetag";
  107. };
  108. nvram@7f0000 {
  109. reg = <0x7f0000 0x010000>;
  110. label = "nvram";
  111. };
  112. };
  113. };
  114. };
  115. &uart0 {
  116. status = "ok";
  117. };