evg2000.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Netgear EVG2000";
  6. compatible = "netgear,evg2000", "brcm,bcm6368";
  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. reset {
  17. label = "reset";
  18. gpios = <&gpio0 25 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. wps {
  22. label = "wps";
  23. gpios = <&gpio0 26 1>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. voip1_green {
  30. label = "EVG2000:green:voip1";
  31. gpios = <&gpio0 14 1>;
  32. };
  33. voip2_green {
  34. label = "EVG2000:green:voip2";
  35. gpios = <&gpio0 2 1>;
  36. };
  37. inet_red {
  38. label = "EVG2000:red:inet";
  39. gpios = <&gpio0 4 1>;
  40. };
  41. inet_green {
  42. label = "EVG2000:green:inet";
  43. gpios = <&gpio0 5 1>;
  44. };
  45. usb_green {
  46. label = "EVG2000:green:usb";
  47. gpios = <&gpio0 15 1>;
  48. };
  49. power_green {
  50. label = "EVG2000:green:power";
  51. gpios = <&gpio0 22 1>;
  52. default-state = "on";
  53. };
  54. power_red {
  55. label = "EVG2000:red:power";
  56. gpios = <&gpio0 23 1>;
  57. };
  58. lan_green {
  59. label = "EVG2000:green:lan";
  60. gpios = <&gpio0 24 1>;
  61. };
  62. wireless_green {
  63. label = "EVG2000:green:wireless";
  64. gpios = <&gpio0 26 1>;
  65. };
  66. wan_green {
  67. label = "EVG2000:green:wan";
  68. gpios = <&gpio0 27 1>;
  69. };
  70. };
  71. };
  72. &pflash {
  73. status = "ok";
  74. linux,part-probe = "bcm63xxpart";
  75. cfe@0 {
  76. label = "CFE";
  77. reg = <0x00000000 0x00020000>;
  78. read-only;
  79. };
  80. linux@20000 {
  81. label = "linux";
  82. reg = <0x00020000 0x00f40000>;
  83. };
  84. board_data@f60000 {
  85. label = "board_data";
  86. reg = <0x00f60000 0x00080000>;
  87. read-only;
  88. };
  89. nvram@fe0000 {
  90. label = "nvram";
  91. reg = <0x00fe0000 0x00020000>;
  92. };
  93. };