fast2704n.dts 2.3 KB

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