hg655b.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-keys-polled {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. debounce-interval = <60>;
  17. wps {
  18. label = "wps";
  19. gpios = <&pinctrl 12 1>;
  20. linux,code = <KEY_WPS_BUTTON>;
  21. };
  22. wlan {
  23. label = "wlan";
  24. gpios = <&pinctrl 23 1>;
  25. linux,code = <KEY_WLAN>;
  26. };
  27. reset {
  28. label = "reset";
  29. gpios = <&pinctrl 34 1>;
  30. linux,code = <KEY_RESTART>;
  31. };
  32. };
  33. gpio-leds {
  34. compatible = "gpio-leds";
  35. dsl_green {
  36. label = "HW65x:green:dsl";
  37. gpios = <&pinctrl 2 1>;
  38. };
  39. internet_green {
  40. label = "HW65x:green:internet";
  41. gpios = <&pinctrl 5 1>;
  42. };
  43. usb_green {
  44. label = "HW65x:green:usb";
  45. gpios = <&pinctrl 14 1>;
  46. };
  47. power_green {
  48. label = "HW65x:green:power";
  49. gpios = <&pinctrl 22 1>;
  50. default-state = "on";
  51. };
  52. voip_green {
  53. label = "HW65x:green:voip";
  54. gpios = <&pinctrl 25 1>;
  55. };
  56. wps_green {
  57. label = "HW65x:green:wps";
  58. gpios = <&pinctrl 27 1>;
  59. };
  60. };
  61. };
  62. &pflash {
  63. status = "ok";
  64. linux,part-probe = "bcm63xxpart";
  65. partitions {
  66. compatible = "fixed-partitions";
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. cfe@0 {
  70. label = "CFE";
  71. reg = <0x000000 0x020000>;
  72. };
  73. linux@20000 {
  74. label = "linux";
  75. reg = <0x020000 0x770000>;
  76. };
  77. board_data@790000 {
  78. label = "board_data";
  79. reg = <0x790000 0x030000>;
  80. compatible = "brcm,bcm963xx-imagetag";
  81. };
  82. cal_data@7c0000 {
  83. label = "cal_data";
  84. reg = <0x7c0000 0x020000>;
  85. read-only;
  86. };
  87. nvram@7d0000 {
  88. label = "nvram";
  89. reg = <0x7e0000 0x020000>;
  90. };
  91. };
  92. };
  93. &pinctrl {
  94. pinctrl-names = "default";
  95. pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
  96. &pinctrl_ephy2_led &pinctrl_ephy3_led>;
  97. };
  98. &uart0 {
  99. status = "ok";
  100. };