bcm6358-telsey-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 = "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 36 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. wps {
  23. label = "wps";
  24. gpios = <&pinctrl 37 0>;
  25. linux,code = <KEY_WPS_BUTTON>;
  26. debounce-interval = <60>;
  27. };
  28. };
  29. leds {
  30. compatible = "gpio-leds";
  31. eth_green {
  32. label = "CPVA642:green:ether";
  33. gpios = <&pinctrl 1 1>;
  34. };
  35. phone2_green {
  36. label = "CPVA642:green:phone2";
  37. gpios = <&pinctrl 2 1>;
  38. };
  39. usb_green {
  40. label = "CPVA642:green:usb";
  41. gpios = <&pinctrl 3 1>;
  42. };
  43. phone1_green {
  44. label = "CPVA642:green:phone1";
  45. gpios = <&pinctrl 4 1>;
  46. };
  47. wifi_red {
  48. label = "CPVA642:red:wifi";
  49. gpios = <&pinctrl 6 1>;
  50. };
  51. link_red {
  52. label = "CPVA642:red:link";
  53. gpios = <&pinctrl 9 1>;
  54. };
  55. link_green {
  56. label = "CPVA642:green:link";
  57. gpios = <&pinctrl 10 1>;
  58. };
  59. power_green {
  60. label = "CPVA642:green:power";
  61. gpios = <&pinctrl 11 1>;
  62. default-state = "on";
  63. };
  64. power_red {
  65. label = "CPVA642:red:power";
  66. gpios = <&pinctrl 14 1>;
  67. };
  68. wifi_green {
  69. label = "CPVA642:green:wifi";
  70. gpios = <&pinctrl 28 0>;
  71. };
  72. };
  73. };
  74. &pflash {
  75. status = "ok";
  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. };