dva-g3810bn_tl.dts 954 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "D-Link DVA-G3810BN/TL";
  6. compatible = "d-link,dva-g3810bn/tl", "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 = <&gpio1 2 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. voip {
  25. label = "DVAG3810BN::voip";
  26. gpios = <&gpio0 1 0>;
  27. };
  28. power {
  29. label = "DVAG3810BN::power";
  30. gpios = <&gpio0 4 0>;
  31. default-state = "on";
  32. };
  33. stop {
  34. label = "DVAG3810BN::stop";
  35. gpios = <&gpio0 5 0>;
  36. };
  37. dsl {
  38. label = "DVAG3810BN::dsl";
  39. gpios = <&gpio0 22 1>;
  40. };
  41. inet {
  42. label = "DVAG3810BN::internet";
  43. gpios = <&gpio0 23 1>;
  44. };
  45. };
  46. };