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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. keys {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. reset {
  17. label = "reset";
  18. gpios = <&pinctrl 25 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 26 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. debounce-interval = <60>;
  27. };
  28. };
  29. leds {
  30. compatible = "gpio-leds";
  31. voip1_green {
  32. label = "EVG2000:green:voip1";
  33. gpios = <&pinctrl 14 1>;
  34. };
  35. voip2_green {
  36. label = "EVG2000:green:voip2";
  37. gpios = <&pinctrl 2 1>;
  38. };
  39. inet_red {
  40. label = "EVG2000:red:inet";
  41. gpios = <&pinctrl 4 1>;
  42. };
  43. inet_green {
  44. label = "EVG2000:green:inet";
  45. gpios = <&pinctrl 5 1>;
  46. };
  47. usb_green {
  48. label = "EVG2000:green:usb";
  49. gpios = <&pinctrl 15 1>;
  50. };
  51. power_green {
  52. label = "EVG2000:green:power";
  53. gpios = <&pinctrl 22 1>;
  54. default-state = "on";
  55. };
  56. power_red {
  57. label = "EVG2000:red:power";
  58. gpios = <&pinctrl 23 1>;
  59. };
  60. lan_green {
  61. label = "EVG2000:green:lan";
  62. gpios = <&pinctrl 24 1>;
  63. };
  64. wireless_green {
  65. label = "EVG2000:green:wireless";
  66. gpios = <&pinctrl 26 1>;
  67. };
  68. wan_green {
  69. label = "EVG2000:green:wan";
  70. gpios = <&pinctrl 27 1>;
  71. };
  72. };
  73. };
  74. &pflash {
  75. status = "ok";
  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. };