ct536plus.dts 775 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend CT-536+/CT-5621T";
  6. compatible = "comtrend,ct-536+", "brcm,bcm6348";
  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 1 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. power_green {
  25. label = "CT536_CT5621:green:power";
  26. gpios = <&gpio0 0 1>;
  27. default-state = "on";
  28. };
  29. adsl_fail_green {
  30. label = "CT536_CT5621:green:adsl-fail";
  31. gpios = <&gpio0 2 1>;
  32. };
  33. };
  34. };