hg655b.dts 1.8 KB

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