a226m.dts 1.7 KB

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