dgnd3700v1.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Netgear DGND3700v1/DGND3800B";
  6. compatible = "netgear,dgnd3700v1", "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. wlan {
  17. label = "wlan";
  18. gpios = <&gpio0 10 1>;
  19. linux,code = <KEY_WLAN>;
  20. };
  21. reset {
  22. label = "reset";
  23. gpios = <&gpio0 12 1>;
  24. linux,code = <KEY_RESTART>;
  25. };
  26. wps {
  27. label = "wps";
  28. gpios = <&gpio1 3 1>;
  29. linux,code = <KEY_WPS_BUTTON>;
  30. };
  31. };
  32. gpio-leds {
  33. compatible = "gpio-leds";
  34. dsl_green {
  35. label = "DGND3700v1_3800B:green:dsl";
  36. gpios = <&gpio0 2 1>;
  37. };
  38. inet_red {
  39. label = "DGND3700v1_3800B:red:inet";
  40. gpios = <&gpio0 4 1>;
  41. };
  42. inet_green {
  43. label = "DGND3700v1_3800B:green:inet";
  44. gpios = <&gpio0 5 1>;
  45. };
  46. wps_green {
  47. label = "DGND3700v1_3800B:green:wps";
  48. gpios = <&gpio0 11 1>;
  49. };
  50. usbfront_green {
  51. label = "DGND3700v1_3800B:green:usb-front";
  52. gpios = <&gpio0 13 1>;
  53. };
  54. usbback_green {
  55. label = "DGND3700v1_3800B:green:usb-back";
  56. gpios = <&gpio0 14 1>;
  57. };
  58. power_red {
  59. label = "DGND3700v1_3800B:red:power";
  60. gpios = <&gpio0 22 1>;
  61. };
  62. lan_green {
  63. label = "DGND3700v1_3800B:green:lan";
  64. gpios = <&gpio0 23 1>;
  65. };
  66. power_green {
  67. label = "DGND3700v1_3800B:green:power";
  68. gpios = <&gpio0 24 1>;
  69. default-state = "on";
  70. };
  71. wifi2g_green {
  72. label = "DGND3700v1_3800B:green:wifi2g";
  73. gpios = <&gpio0 26 1>;
  74. };
  75. wifi5g_blue {
  76. label = "DGND3700v1_3800B:blue:wifi5g";
  77. gpios = <&gpio0 27 1>;
  78. };
  79. };
  80. };
  81. &pflash {
  82. status = "ok";
  83. linux,part-probe = "bcm63xxpart";
  84. cfe@0 {
  85. label = "CFE";
  86. reg = <0x000000 0x020000>;
  87. read-only;
  88. };
  89. linux@20000 {
  90. label = "linux";
  91. reg = <0x020000 0x1e20000>;
  92. };
  93. board_data@1e40000 {
  94. label = "board_data";
  95. reg = <0x1e40000 0x1a0000>;
  96. read-only;
  97. };
  98. nvram@1fe0000 {
  99. label = "nvram";
  100. reg = <0x1fe0000 0x20000>;
  101. };
  102. };