ct-6373.dts 1.6 KB

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