vh4032n.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Observa VH4032N";
  6. compatible = "observa,vh4032n", "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. reset {
  17. label = "reset";
  18. gpios = <&gpio1 2 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. wps {
  22. label = "wps";
  23. gpios = <&gpio1 3 1>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. dsl_blue {
  30. label = "VH4032N:blue:dsl";
  31. gpios = <&gpio0 2 1>;
  32. };
  33. dsl_red {
  34. label = "VH4032N:red:dsl";
  35. gpios = <&gpio0 5 1>;
  36. };
  37. hspa_blue {
  38. label = "VH4032N:blue:hspa";
  39. gpios = <&gpio0 11 1>;
  40. };
  41. hspa_red {
  42. label = "VH4032N:red:hspa";
  43. gpios = <&gpio0 12 1>;
  44. };
  45. power_blue {
  46. label = "VH4032N:blue:power";
  47. gpios = <&gpio0 22 0>;
  48. };
  49. power_red {
  50. label = "VH4032N:red:power";
  51. gpios = <&gpio0 24 0>;
  52. default-state = "on";
  53. };
  54. voice_blue {
  55. label = "VH4032N:blue:voice";
  56. gpios = <&gpio0 25 1>;
  57. };
  58. voice_red {
  59. label = "VH4032N:red:voice";
  60. gpios = <&gpio0 26 1>;
  61. };
  62. };
  63. };
  64. &gpio0 {
  65. usb_hub_reset {
  66. gpio-hog;
  67. gpios = <27 0>;
  68. output-high;
  69. line-name = "usb-hub-reset-gpio";
  70. };
  71. };
  72. &pflash {
  73. status = "ok";
  74. linux,part-probe = "bcm63xxpart";
  75. cfe@0 {
  76. label = "CFE";
  77. reg = <0x0000000 0x0020000>;
  78. read-only;
  79. };
  80. linux@20000 {
  81. label = "linux";
  82. reg = <0x0020000 0x1fc0000>;
  83. };
  84. nvram@1fe0000 {
  85. label = "nvram";
  86. reg = <0x1fe0000 0x020000>;
  87. };
  88. };