hg553.dts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Huawei EchoLife HG553";
  6. compatible = "huawei,hg553", "brcm,bcm6358";
  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. rfkill {
  17. label = "rfkill";
  18. gpios = <&gpio0 9 1>;
  19. linux,code = <KEY_RFKILL>;
  20. };
  21. reset {
  22. label = "reset";
  23. gpios = <&gpio1 5 1>;
  24. linux,code = <KEY_RESTART>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. power_green {
  30. label = "HW553:blue:power";
  31. gpios = <&gpio0 4 1>;
  32. default-state = "on";
  33. };
  34. power_red {
  35. label = "HW553:red:power";
  36. gpios = <&gpio0 5 1>;
  37. };
  38. hspa_red {
  39. label = "HW553:red:hspa";
  40. gpios = <&gpio0 12 1>;
  41. };
  42. hspa_blue {
  43. label = "HW553:blue:hspa";
  44. gpios = <&gpio0 13 1>;
  45. };
  46. lan_red {
  47. label = "HW553:red:lan";
  48. gpios = <&gpio0 22 1>;
  49. };
  50. lan_blue {
  51. label = "HW553:blue:lan";
  52. gpios = <&gpio0 23 1>;
  53. };
  54. wifi_red {
  55. label = "HW553:red:wifi";
  56. gpios = <&gpio0 25 1>;
  57. };
  58. dsl_red {
  59. label = "HW553:red:adsl";
  60. gpios = <&gpio1 2 1>;
  61. };
  62. dsl_blue {
  63. label = "HW553:blue:adsl";
  64. gpios = <&gpio1 3 1>;
  65. };
  66. };
  67. };
  68. &pflash {
  69. status = "ok";
  70. linux,part-probe = "bcm63xxpart";
  71. cfe@0 {
  72. label = "CFE";
  73. reg = <0x000000 0x020000>;
  74. read-only;
  75. };
  76. linux@20000 {
  77. label = "linux";
  78. reg = <0x020000 0xfc0000>;
  79. };
  80. nvram@fe0000 {
  81. label = "nvram";
  82. reg = <0xfe0000 0x020000>;
  83. };
  84. };