ct-5365.dts 1.1 KB

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