fast2504n.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. 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. reset {
  18. label = "reset";
  19. gpios = <&pinctrl 24 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 25 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. power_orange {
  31. label = "fast2504n:orange:power";
  32. gpios = <&pinctrl 2 1>;
  33. };
  34. power_green {
  35. label = "fast2504n:green:power";
  36. gpios = <&pinctrl 10 1>;
  37. default-state = "on";
  38. };
  39. inet_red {
  40. label = "fast2504n:red:internet";
  41. gpios = <&pinctrl 26 1>;
  42. };
  43. ok_green {
  44. label = "fast2504n:green:ok";
  45. gpios = <&pinctrl 28 1>;
  46. };
  47. ok_orange {
  48. label = "fast2504n:orange:ok";
  49. gpios = <&pinctrl 29 1>;
  50. };
  51. wlan_orangee {
  52. label = "fast2504n:orange:wlan";
  53. gpios = <&pinctrl 30 1>;
  54. };
  55. };
  56. };
  57. &hsspi {
  58. status = "ok";
  59. flash@0 {
  60. compatible = "jedec,spi-nor";
  61. spi-max-frequency = <20000000>;
  62. spi-tx-bus-width = <2>;
  63. spi-rx-bus-width = <2>;
  64. reg = <0>;
  65. #address-cells = <1>;
  66. #size-cells = <1>;
  67. linux,part-probe = "bcm63xxpart";
  68. partitions {
  69. compatible = "fixed-partitions";
  70. #address-cells = <1>;
  71. #size-cells = <1>;
  72. cfe@0 {
  73. reg = <0x000000 0x010000>;
  74. label = "cfe";
  75. read-only;
  76. };
  77. linux@10000 {
  78. reg = <0x010000 0x7e0000>;
  79. label = "linux";
  80. compatible = "brcm,bcm963xx-imagetag";
  81. };
  82. nvram@7f0000 {
  83. reg = <0x7f0000 0x010000>;
  84. label = "nvram";
  85. };
  86. };
  87. };
  88. };
  89. &uart0 {
  90. status = "ok";
  91. };