spw303v.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "T-Com Speedport W303 V";
  6. compatible = "t-com,spw303v", "brcm,bcm6358";
  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 = <&gpio0 11 0>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. ses {
  22. label = "ses";
  23. gpios = <&gpio1 5 1>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. };
  27. gpio-leds {
  28. compatible = "gpio-leds";
  29. ses_green {
  30. label = "spw303v:green:ses";
  31. gpios = <&gpio0 0 1>;
  32. };
  33. power_adsl_red {
  34. label = "spw303v:red:power+adsl";
  35. gpios = <&gpio0 2 1>;
  36. };
  37. ppp_green {
  38. label = "spw303v:green:ppp";
  39. gpios = <&gpio0 5 1>;
  40. };
  41. power_adsl_green {
  42. label = "spw303v:green:power+adsl";
  43. gpios = <&gpio0 22 1>;
  44. default-state = "on";
  45. };
  46. voip_green {
  47. label = "spw303v:green:voip";
  48. gpios = <&gpio0 27 1>;
  49. };
  50. pots_green {
  51. label = "spw303v:green:pots";
  52. gpios = <&gpio0 31 1>;
  53. };
  54. };
  55. };
  56. &pflash {
  57. status = "ok";
  58. linux,part-probe = "bcm63xxpart";
  59. cfe@0 {
  60. label = "CFE";
  61. reg = <0x000000 0x010000>;
  62. read-only;
  63. };
  64. linux@10000 {
  65. label = "linux";
  66. reg = <0x010000 0x7e0000>;
  67. };
  68. nvram@7f0000 {
  69. label = "nvram";
  70. reg = <0x7f0000 0x010000>;
  71. };
  72. };