vh4032n.dts 2.0 KB

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