ct-6373.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend CT-6373";
  6. compatible = "comtrend,ct-6373", "brcm,bcm6358";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. };
  10. spi-gpio {
  11. #address-cells = <1>;
  12. #size-cells = <0>;
  13. compatible = "spi-gpio";
  14. gpio-mosi = <&gpio0 7 0>;
  15. gpio-sck = <&gpio0 6 0>;
  16. num-chipselects = <0>;
  17. hc595: gpio-spi-controller@0 {
  18. compatible = "fairchild,74hc595";
  19. reg = <0>;
  20. registers-number = <1>;
  21. spi-max-frequency = <100000>;
  22. gpio-controller;
  23. #gpio-cells = <2>;
  24. };
  25. };
  26. gpio-keys-polled {
  27. compatible = "gpio-keys-polled";
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. poll-interval = <20>;
  31. debounce-interval = <60>;
  32. reset {
  33. label = "reset";
  34. gpios = <&gpio1 3 1>;
  35. linux,code = <KEY_RESTART>;
  36. };
  37. };
  38. gpio-leds {
  39. compatible = "gpio-leds";
  40. power_green {
  41. label = "CT6373-1:green:power";
  42. gpios = <&gpio0 0 0>;
  43. default-state = "on";
  44. };
  45. usb_green {
  46. label = "CT6373-1:green:usb";
  47. gpios = <&gpio0 3 1>;
  48. };
  49. wlan_green {
  50. label = "CT6373-1:green:wlan";
  51. gpios = <&gpio0 9 1>;
  52. };
  53. dsl_green {
  54. label = "CT6373-1:green:adsl";
  55. gpios = <&hc595 0 1>;
  56. };
  57. line_green {
  58. label = "CT6373-1:green:line";
  59. gpios = <&hc595 1 1>;
  60. };
  61. fxs1_green {
  62. label = "CT6373-1:green:fxs1";
  63. gpios = <&hc595 2 1>;
  64. };
  65. fxs2_green {
  66. label = "CT6373-1:green:fxs2";
  67. gpios = <&hc595 3 1>;
  68. };
  69. };
  70. };
  71. &pflash {
  72. status = "ok";
  73. linux,part-probe = "bcm63xxpart";
  74. cfe@0 {
  75. label = "CFE";
  76. reg = <0x000000 0x010000>;
  77. read-only;
  78. };
  79. linux@10000 {
  80. label = "linux";
  81. reg = <0x010000 0x7e0000>;
  82. };
  83. nvram@7f0000 {
  84. label = "nvram";
  85. reg = <0x7f0000 0x010000>;
  86. };
  87. };