ct-5365.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend CT-5365";
  6. compatible = "comtrend,ct-5365", "brcm,bcm6348";
  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 33 1>;
  20. linux,code = <KEY_RESTART>;
  21. };
  22. wlan {
  23. label = "wlan";
  24. gpios = <&pinctrl 34 1>;
  25. linux,code = <KEY_WLAN>;
  26. };
  27. wps {
  28. label = "wps";
  29. gpios = <&pinctrl 35 1>;
  30. linux,code = <KEY_WPS_BUTTON>;
  31. };
  32. };
  33. gpio-leds {
  34. compatible = "gpio-leds";
  35. power_green {
  36. label = "96348A-122:green:power";
  37. gpios = <&pinctrl 0 1>;
  38. default-state = "on";
  39. };
  40. alarm_red {
  41. label = "96348A-122:red:alarm";
  42. gpios = <&pinctrl 2 1>;
  43. };
  44. wps_green {
  45. label = "96348A-122:green:wps";
  46. gpios = <&pinctrl 6 1>;
  47. };
  48. };
  49. };
  50. &pflash {
  51. status = "ok";
  52. partitions {
  53. compatible = "fixed-partitions";
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. cfe@0 {
  57. label = "CFE";
  58. reg = <0x000000 0x010000>;
  59. read-only;
  60. };
  61. linux@10000 {
  62. label = "linux";
  63. reg = <0x010000 0x3e0000>;
  64. compatible = "brcm,bcm963xx-imagetag";
  65. };
  66. nvram@3f0000 {
  67. label = "nvram";
  68. reg = <0x3f0000 0x010000>;
  69. };
  70. };
  71. };
  72. &pinctrl {
  73. pinctrl-names = "default";
  74. pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
  75. };
  76. &uart0 {
  77. status = "ok";
  78. };