dsl-275xb-d.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /dts-v1/;
  2. #include "bcm6318.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "D-Link DSL-2750B/DSL-2751 rev D1";
  6. compatible = "d-link,dsl-275xb-d", "brcm,bcm6318";
  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. wifi {
  17. label = "wifi";
  18. gpios = <&gpio0 2 1>;
  19. linux,code = <KEY_WLAN>;
  20. };
  21. wps {
  22. label = "wps";
  23. gpios = <&gpio1 1 1>;
  24. linux,code = <KEY_WPS_BUTTON>;
  25. };
  26. reset {
  27. label = "reset";
  28. gpios = <&gpio1 2 1>;
  29. linux,code = <KEY_RESTART>;
  30. };
  31. };
  32. gpio-leds {
  33. compatible = "gpio-leds";
  34. power_green {
  35. label = "dsl-275xb:green:power";
  36. gpios = <&gpio0 3 1>;
  37. default-state = "on";
  38. };
  39. inet_green {
  40. label = "dsl-275xb:green:inet";
  41. gpios = <&gpio0 8 1>;
  42. };
  43. inet_red {
  44. label = "dsl-275xb:red:inet-fail";
  45. gpios = <&gpio0 9 1>;
  46. };
  47. power_red {
  48. label = "dsl-275xb:red:post-failed";
  49. gpios = <&gpio0 11 1>;
  50. };
  51. wps_blue {
  52. label = "dsl-275xb:blue:wps";
  53. gpios = <&gpio0 16 1>;
  54. };
  55. dsl_green {
  56. label = "dsl-275xb:green:dsl";
  57. gpios = <&gpio0 17 1>;
  58. };
  59. usb_green {
  60. /* not user controllable? */
  61. label = "dsl-275xb:green:usb";
  62. gpios = <&gpio1 17 1>;
  63. };
  64. };
  65. };