cpva642.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. };
  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 4 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. wps {
  22. label = "wps";
  23. gpios = <&gpio1 5 0>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. eth_green {
  30. label = "CPVA642:green:ether";
  31. gpios = <&gpio0 1 1>;
  32. };
  33. phone2_green {
  34. label = "CPVA642:green:phone2";
  35. gpios = <&gpio0 2 1>;
  36. };
  37. usb_green {
  38. label = "CPVA642:green:usb";
  39. gpios = <&gpio0 3 1>;
  40. };
  41. phone1_green {
  42. label = "CPVA642:green:phone1";
  43. gpios = <&gpio0 4 1>;
  44. };
  45. wifi_red {
  46. label = "CPVA642:red:wifi";
  47. gpios = <&gpio0 6 1>;
  48. };
  49. link_red {
  50. label = "CPVA642:red:link";
  51. gpios = <&gpio0 9 1>;
  52. };
  53. link_green {
  54. label = "CPVA642:green:link";
  55. gpios = <&gpio0 10 1>;
  56. };
  57. power_green {
  58. label = "CPVA642:green:power";
  59. gpios = <&gpio0 11 1>;
  60. default-state = "on";
  61. };
  62. power_red {
  63. label = "CPVA642:red:power";
  64. gpios = <&gpio0 14 1>;
  65. };
  66. wifi_green {
  67. label = "CPVA642:green:wifi";
  68. gpios = <&gpio0 28 0>;
  69. };
  70. };
  71. };
  72. &pflash {
  73. status = "ok";
  74. linux,part-probe = "bcm63xxpart";
  75. cfe@0 {
  76. label = "CFE";
  77. reg = <0x000000 0x010000>;
  78. read-only;
  79. };
  80. linux@10000 {
  81. label = "linux";
  82. reg = <0x010000 0x7e0000>;
  83. };
  84. nvram@7f0000 {
  85. label = "nvram";
  86. reg = <0x7f0000 0x010000>;
  87. };
  88. };