ct-6373.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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 = "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. partitions {
  68. compatible = "fixed-partitions";
  69. #address-cells = <1>;
  70. #size-cells = <1>;
  71. cfe@0 {
  72. label = "CFE";
  73. reg = <0x000000 0x010000>;
  74. read-only;
  75. };
  76. linux@10000 {
  77. label = "linux";
  78. reg = <0x010000 0x7e0000>;
  79. compatible = "brcm,bcm963xx-imagetag";
  80. };
  81. nvram@7f0000 {
  82. label = "nvram";
  83. reg = <0x7f0000 0x010000>;
  84. };
  85. };
  86. };
  87. &uart0 {
  88. status = "ok";
  89. };