ct-6373.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. 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 35 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. power_green {
  26. label = "CT6373-1:green:power";
  27. gpios = <&pinctrl 0 0>;
  28. default-state = "on";
  29. };
  30. usb_green {
  31. label = "CT6373-1:green:usb";
  32. gpios = <&pinctrl 3 1>;
  33. };
  34. wlan_green {
  35. label = "CT6373-1:green:wlan";
  36. gpios = <&pinctrl 9 1>;
  37. };
  38. };
  39. };
  40. &leds {
  41. status = "ok";
  42. pinctrl-names = "default";
  43. pinctrl-0 = <&pinctrl_serial_led>;
  44. led@0 {
  45. reg = <0>;
  46. active-low;
  47. label = "CT6373-1:green:adsl";
  48. };
  49. led@1 {
  50. reg = <1>;
  51. active-low;
  52. label = "CT6373-1:green:line";
  53. };
  54. led@2 {
  55. reg = <2>;
  56. active-low;
  57. label = "CT6373-1:green:fxs1";
  58. };
  59. led@3 {
  60. reg = <3>;
  61. active-low;
  62. label = "CT6373-1:green:fxs2";
  63. };
  64. };
  65. &pflash {
  66. status = "ok";
  67. linux,part-probe = "bcm63xxpart";
  68. partitions {
  69. compatible = "fixed-partitions";
  70. #address-cells = <1>;
  71. #size-cells = <1>;
  72. cfe@0 {
  73. label = "CFE";
  74. reg = <0x000000 0x010000>;
  75. read-only;
  76. };
  77. linux@10000 {
  78. label = "linux";
  79. reg = <0x010000 0x7e0000>;
  80. compatible = "brcm,bcm963xx-imagetag";
  81. };
  82. nvram@7f0000 {
  83. label = "nvram";
  84. reg = <0x7f0000 0x010000>;
  85. };
  86. };
  87. };
  88. &uart0 {
  89. status = "ok";
  90. };