hg655b.dts 2.0 KB

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