dgnd3700v1.dts 1.9 KB

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