spw500v.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "T-Com Speedport W500 V";
  6. compatible = "t-com,spw500v", "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. };
  19. gpio-leds {
  20. compatible = "gpio-leds";
  21. power_green {
  22. label = "SPW500V:green:power";
  23. gpios = <&gpio0 0 1>;
  24. default-state = "on";
  25. };
  26. power_red {
  27. label = "SPW500V:red:power";
  28. gpios = <&gpio0 1 1>;
  29. };
  30. ppp_green {
  31. label = "SPW500V:green:ppp";
  32. gpios = <&gpio0 3 1>;
  33. };
  34. pstn_green {
  35. label = "SPW500V:green:pstn";
  36. gpios = <&gpio0 28 1>;
  37. };
  38. voip_green {
  39. label = "SPW500V:green:voip";
  40. gpios = <&gpio1 0 1>;
  41. };
  42. };
  43. };
  44. &pflash {
  45. status = "ok";
  46. linux,part-probe = "bcm63xxpart";
  47. cfe@0 {
  48. label = "CFE";
  49. reg = <0x000000 0x010000>;
  50. read-only;
  51. };
  52. linux@10000 {
  53. label = "linux";
  54. reg = <0x010000 0x3e0000>;
  55. };
  56. nvram@3f0000 {
  57. label = "nvram";
  58. reg = <0x3f0000 0x010000>;
  59. };
  60. };