ct-5365.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. };
  10. gpio-keys-polled {
  11. compatible = "gpio-keys-polled";
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. poll-interval = <20>;
  15. debounce-interval = <60>;
  16. reset {
  17. label = "reset";
  18. gpios = <&gpio1 1 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. wlan {
  22. label = "wlan";
  23. gpios = <&gpio1 2 1>;
  24. linux,code = <KEY_WLAN>;
  25. };
  26. wps {
  27. label = "wps";
  28. gpios = <&gpio1 3 1>;
  29. linux,code = <KEY_WPS_BUTTON>;
  30. };
  31. };
  32. gpio-leds {
  33. compatible = "gpio-leds";
  34. power_green {
  35. label = "96348A-122:green:power";
  36. gpios = <&gpio0 0 1>;
  37. default-state = "on";
  38. };
  39. alarm_red {
  40. label = "96348A-122:red:alarm";
  41. gpios = <&gpio0 2 1>;
  42. };
  43. wps_green {
  44. label = "96348A-122:green:wps";
  45. gpios = <&gpio0 6 1>;
  46. };
  47. };
  48. };
  49. &pflash {
  50. status = "ok";
  51. linux,part-probe = "bcm63xxpart";
  52. cfe@0 {
  53. label = "CFE";
  54. reg = <0x000000 0x010000>;
  55. read-only;
  56. };
  57. linux@10000 {
  58. label = "linux";
  59. reg = <0x010000 0x3e0000>;
  60. };
  61. nvram@3f0000 {
  62. label = "nvram";
  63. reg = <0x3f0000 0x010000>;
  64. };
  65. };