evg2000.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. 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 25 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 26 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. voip1_green {
  31. label = "EVG2000:green:voip1";
  32. gpios = <&pinctrl 14 1>;
  33. };
  34. voip2_green {
  35. label = "EVG2000:green:voip2";
  36. gpios = <&pinctrl 2 1>;
  37. };
  38. inet_red {
  39. label = "EVG2000:red:inet";
  40. gpios = <&pinctrl 4 1>;
  41. };
  42. inet_green {
  43. label = "EVG2000:green:inet";
  44. gpios = <&pinctrl 5 1>;
  45. };
  46. usb_green {
  47. label = "EVG2000:green:usb";
  48. gpios = <&pinctrl 15 1>;
  49. };
  50. power_green {
  51. label = "EVG2000:green:power";
  52. gpios = <&pinctrl 22 1>;
  53. default-state = "on";
  54. };
  55. power_red {
  56. label = "EVG2000:red:power";
  57. gpios = <&pinctrl 23 1>;
  58. };
  59. lan_green {
  60. label = "EVG2000:green:lan";
  61. gpios = <&pinctrl 24 1>;
  62. };
  63. wireless_green {
  64. label = "EVG2000:green:wireless";
  65. gpios = <&pinctrl 26 1>;
  66. };
  67. wan_green {
  68. label = "EVG2000:green:wan";
  69. gpios = <&pinctrl 27 1>;
  70. };
  71. };
  72. };
  73. &pflash {
  74. status = "ok";
  75. linux,part-probe = "bcm63xxpart";
  76. partitions {
  77. compatible = "fixed-partitions";
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. cfe@0 {
  81. label = "CFE";
  82. reg = <0x00000000 0x00020000>;
  83. read-only;
  84. };
  85. linux@20000 {
  86. label = "linux";
  87. reg = <0x00020000 0x00f40000>;
  88. compatible = "brcm,bcm963xx-imagetag";
  89. };
  90. board_data@f60000 {
  91. label = "board_data";
  92. reg = <0x00f60000 0x00080000>;
  93. read-only;
  94. };
  95. nvram@fe0000 {
  96. label = "nvram";
  97. reg = <0x00fe0000 0x00020000>;
  98. };
  99. };
  100. };
  101. &pinctrl {
  102. pinctrl-names = "default";
  103. pinctrl-0 = <&pinctrl_pci>;
  104. };
  105. &uart0 {
  106. status = "ok";
  107. };