ar-5387un.dts 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /dts-v1/;
  2. #include "bcm6328.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend AR-5387un";
  6. compatible = "comtrend,ar-5387un", "brcm,bcm6328";
  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 23 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. inet_red {
  25. label = "AR-5387un:red:inet";
  26. gpios = <&gpio0 1 0>;
  27. };
  28. power_red {
  29. label = "AR-5387un:red:power";
  30. gpios = <&gpio0 4 0>;
  31. };
  32. inet_green {
  33. label = "AR-5387un:green:inet";
  34. gpios = <&gpio0 7 0>;
  35. };
  36. power_green {
  37. label = "AR-5387un:green:power";
  38. gpios = <&gpio0 8 0>;
  39. default-state = "on";
  40. };
  41. dsl_green {
  42. label = "AR-5387un:green:dsl";
  43. gpios = <&gpio0 11 1>;
  44. };
  45. };
  46. };