a226m-fwb.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Pirelli A226M-FWB";
  6. compatible = "pirelli,a226m-fwb", "brcm,bcm6358";
  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. wps {
  17. label = "wps";
  18. gpios = <&gpio1 2 1>;
  19. linux,code = <KEY_WPS_BUTTON>;
  20. };
  21. reset {
  22. label = "reset";
  23. gpios = <&gpio1 5 1>;
  24. linux,code = <KEY_RESTART>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. voip_red {
  30. label = "DWV-S0:red:VoIP";
  31. gpios = <&gpio0 0 1>;
  32. };
  33. eth_red {
  34. label = "DWV-S0:red:ethernet";
  35. gpios = <&gpio0 1 1>;
  36. };
  37. dsl_green {
  38. label = "DWV-S0:green:ADSL";
  39. gpios = <&gpio0 2 1>;
  40. };
  41. usb_green {
  42. label = "DWV-S0:green:USB";
  43. gpios = <&gpio0 3 1>;
  44. };
  45. power_green {
  46. label = "DWV-S0:green:power";
  47. gpios = <&gpio0 4 1>;
  48. default-state = "on";
  49. };
  50. power_red {
  51. label = "DWV-S0:red:power";
  52. gpios = <&gpio0 5 1>;
  53. };
  54. inet_red {
  55. label = "DWV-S0:red:internet";
  56. gpios = <&gpio0 6 1>;
  57. };
  58. inet_green {
  59. label = "DWV-S0:green:internet";
  60. gpios = <&gpio0 7 1>;
  61. };
  62. eth_green {
  63. label = "DWV-S0:green:ethernet";
  64. gpios = <&gpio0 8 1>;
  65. };
  66. voip_green {
  67. label = "DWV-S0:green:VoIP";
  68. gpios = <&gpio0 9 1>;
  69. };
  70. wifi_red {
  71. label = "DWV-S0:red:wifi";
  72. gpios = <&gpio0 10 1>;
  73. };
  74. usb_red {
  75. label = "DWV-S0:red:USB";
  76. gpios = <&gpio0 11 1>;
  77. };
  78. dsl_red {
  79. label = "DWV-S0:red:ADSL";
  80. gpios = <&gpio0 12 1>;
  81. };
  82. };
  83. };
  84. &pflash {
  85. status = "ok";
  86. linux,part-probe = "bcm63xxpart";
  87. cfe@0 {
  88. label = "CFE";
  89. reg = <0x000000 0x020000>;
  90. read-only;
  91. };
  92. linux@20000 {
  93. label = "linux";
  94. reg = <0x020000 0xfc0000>;
  95. };
  96. nvram@fe0000 {
  97. label = "nvram";
  98. reg = <0xfe0000 0x020000>;
  99. };
  100. };