hg655b.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Huawei HG655b";
  6. compatible = "huawei,hg655b", "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. wps {
  17. label = "wps";
  18. gpios = <&gpio0 12 1>;
  19. linux,code = <KEY_WPS_BUTTON>;
  20. };
  21. wlan {
  22. label = "wlan";
  23. gpios = <&gpio0 23 1>;
  24. linux,code = <KEY_WLAN>;
  25. };
  26. reset {
  27. label = "reset";
  28. gpios = <&gpio1 2 1>;
  29. linux,code = <KEY_RESTART>;
  30. };
  31. };
  32. gpio-leds {
  33. compatible = "gpio-leds";
  34. dsl_green {
  35. label = "HW65x:green:dsl";
  36. gpios = <&gpio0 2 1>;
  37. };
  38. internet_green {
  39. label = "HW65x:green:internet";
  40. gpios = <&gpio0 5 1>;
  41. };
  42. lan1_green {
  43. label = "HW65x:green:lan1";
  44. gpios = <&gpio0 6 1>;
  45. };
  46. lan2_green {
  47. label = "HW65x:green:lan2";
  48. gpios = <&gpio0 7 1>;
  49. };
  50. lan3_green {
  51. label = "HW65x:green:lan3";
  52. gpios = <&gpio0 8 1>;
  53. };
  54. lan4_green {
  55. label = "HW65x:green:lan4";
  56. gpios = <&gpio0 9 1>;
  57. };
  58. usb_green {
  59. label = "HW65x:green:usb";
  60. gpios = <&gpio0 14 1>;
  61. };
  62. power_green {
  63. label = "HW65x:green:power";
  64. gpios = <&gpio0 22 1>;
  65. default-state = "on";
  66. };
  67. voip_green {
  68. label = "HW65x:green:voip";
  69. gpios = <&gpio0 25 1>;
  70. };
  71. wps_green {
  72. label = "HW65x:green:wps";
  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. };
  84. linux@20000 {
  85. label = "linux";
  86. reg = <0x020000 0x770000>;
  87. };
  88. board_data@790000 {
  89. label = "board_data";
  90. reg = <0x790000 0x030000>;
  91. };
  92. cal_data@7c0000 {
  93. label = "cal_data";
  94. reg = <0x7c0000 0x020000>;
  95. read-only;
  96. };
  97. nvram@7d0000 {
  98. label = "nvram";
  99. reg = <0x7e0000 0x020000>;
  100. };
  101. };