ct-5365.dts 1.1 KB

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