ar1004g.dts 667 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /dts-v1/;
  2. /include/ "bcm6348.dtsi"
  3. / {
  4. model = "ASMAX AR 1004g";
  5. compatible = "asmax,ar1004g", "brcm,bcm6348";
  6. gpio-keys-polled {
  7. compatible = "gpio-keys-polled";
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. poll-interval = <20>;
  11. debounce-interval = <60>;
  12. reset {
  13. label = "reset";
  14. gpios = <&gpio1 1 1>;
  15. linux,code = <0x198>;
  16. };
  17. };
  18. gpio-leds {
  19. compatible = "gpio-leds";
  20. power_green {
  21. label = "AR1004G:green:power";
  22. gpios = <&gpio0 0 1>;
  23. default-state = "on";
  24. };
  25. inet_green {
  26. label = "AR1004G:green:inet";
  27. gpios = <&gpio0 3 1>;
  28. };
  29. power_red {
  30. label = "AR1004G:red:power";
  31. gpios = <&gpio0 6 1>;
  32. };
  33. };
  34. };