ar-5381u.dts 678 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /dts-v1/;
  2. /include/ "bcm6328.dtsi"
  3. / {
  4. model = "Comtrend AR-5381u";
  5. compatible = "comtrend,ar-5381u", "brcm,bcm6328";
  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 = <&gpio0 23 1>;
  15. linux,code = <0x198>;
  16. };
  17. };
  18. gpio-leds {
  19. compatible = "gpio-leds";
  20. alarm_red {
  21. label = "AR-5381u:red:alarm";
  22. gpios = <&gpio0 2 1>;
  23. };
  24. inet_green {
  25. label = "AR-5381u:green:inet";
  26. gpios = <&gpio0 3 1>;
  27. };
  28. power_green {
  29. label = "AR-5381u:green:power";
  30. gpios = <&gpio0 4 1>;
  31. default-state = "on";
  32. };
  33. };
  34. };