vh4032n.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 = "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. reset {
  18. label = "reset";
  19. gpios = <&pinctrl 34 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 35 1>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. dsl_blue {
  31. label = "VH4032N:blue:dsl";
  32. gpios = <&pinctrl 2 1>;
  33. };
  34. dsl_red {
  35. label = "VH4032N:red:dsl";
  36. gpios = <&pinctrl 5 1>;
  37. };
  38. hspa_blue {
  39. label = "VH4032N:blue:hspa";
  40. gpios = <&pinctrl 11 1>;
  41. };
  42. hspa_red {
  43. label = "VH4032N:red:hspa";
  44. gpios = <&pinctrl 12 1>;
  45. };
  46. power_blue {
  47. label = "VH4032N:blue:power";
  48. gpios = <&pinctrl 22 0>;
  49. };
  50. power_red {
  51. label = "VH4032N:red:power";
  52. gpios = <&pinctrl 24 0>;
  53. default-state = "on";
  54. };
  55. voice_blue {
  56. label = "VH4032N:blue:voice";
  57. gpios = <&pinctrl 25 1>;
  58. };
  59. voice_red {
  60. label = "VH4032N:red:voice";
  61. gpios = <&pinctrl 26 1>;
  62. };
  63. };
  64. };
  65. &pinctrl {
  66. usb_hub_reset {
  67. gpio-hog;
  68. gpios = <27 0>;
  69. output-high;
  70. line-name = "usb-hub-reset-gpio";
  71. };
  72. };
  73. &pflash {
  74. status = "ok";
  75. partitions {
  76. compatible = "fixed-partitions";
  77. #address-cells = <1>;
  78. #size-cells = <1>;
  79. cfe@0 {
  80. label = "CFE";
  81. reg = <0x0000000 0x0020000>;
  82. read-only;
  83. };
  84. linux@20000 {
  85. label = "linux";
  86. reg = <0x0020000 0x1fc0000>;
  87. compatible = "brcm,bcm963xx-imagetag";
  88. };
  89. nvram@1fe0000 {
  90. label = "nvram";
  91. reg = <0x1fe0000 0x020000>;
  92. };
  93. };
  94. };
  95. &uart0 {
  96. status = "ok";
  97. };