gw6200.dts 867 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "TECOM GW6200";
  6. compatible = "tecom,gw6200", "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 4 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. line1_green {
  25. label = "GW6200:green:line1";
  26. gpios = <&gpio0 4 1>;
  27. };
  28. line2_green {
  29. label = "GW6200:green:line2";
  30. gpios = <&gpio0 5 1>;
  31. };
  32. line3_green {
  33. label = "GW6200:green:line3";
  34. gpios = <&gpio0 6 1>;
  35. };
  36. tel_green {
  37. label = "GW6200:green:tel";
  38. gpios = <&gpio0 7 1>;
  39. };
  40. };
  41. };