cpva642.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Telsey CPVA642-type (CPA-ZNTE60T)";
  6. compatible = "telsey,cpva642", "brcm,bcm6358";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 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 36 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 37 0>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. };
  27. };
  28. gpio-leds {
  29. compatible = "gpio-leds";
  30. eth_green {
  31. label = "CPVA642:green:ether";
  32. gpios = <&pinctrl 1 1>;
  33. };
  34. phone2_green {
  35. label = "CPVA642:green:phone2";
  36. gpios = <&pinctrl 2 1>;
  37. };
  38. usb_green {
  39. label = "CPVA642:green:usb";
  40. gpios = <&pinctrl 3 1>;
  41. };
  42. phone1_green {
  43. label = "CPVA642:green:phone1";
  44. gpios = <&pinctrl 4 1>;
  45. };
  46. wifi_red {
  47. label = "CPVA642:red:wifi";
  48. gpios = <&pinctrl 6 1>;
  49. };
  50. link_red {
  51. label = "CPVA642:red:link";
  52. gpios = <&pinctrl 9 1>;
  53. };
  54. link_green {
  55. label = "CPVA642:green:link";
  56. gpios = <&pinctrl 10 1>;
  57. };
  58. power_green {
  59. label = "CPVA642:green:power";
  60. gpios = <&pinctrl 11 1>;
  61. default-state = "on";
  62. };
  63. power_red {
  64. label = "CPVA642:red:power";
  65. gpios = <&pinctrl 14 1>;
  66. };
  67. wifi_green {
  68. label = "CPVA642:green:wifi";
  69. gpios = <&pinctrl 28 0>;
  70. };
  71. };
  72. };
  73. &pflash {
  74. status = "ok";
  75. linux,part-probe = "bcm63xxpart";
  76. partitions {
  77. compatible = "fixed-partitions";
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. cfe@0 {
  81. label = "CFE";
  82. reg = <0x000000 0x010000>;
  83. read-only;
  84. };
  85. linux@10000 {
  86. label = "linux";
  87. reg = <0x010000 0x7e0000>;
  88. compatible = "brcm,bcm963xx-imagetag";
  89. };
  90. nvram@7f0000 {
  91. label = "nvram";
  92. reg = <0x7f0000 0x010000>;
  93. };
  94. };
  95. };
  96. &uart0 {
  97. status = "ok";
  98. };