new file mode 100644
@@ -0,0 +1,18 @@
+Timer LED trigger properties.
+
+Timer trigger enables and disables LED with a given time intervals. It's example
+usage may be a simple indication that system is alive & working (to some point
+at least).
+
+Properties:
+- trigger-type : Must be "timer".
+- delay-on : Amount of time (in milliseconds) LED stays enabled.
+- delay-off : Amount of time (in milliseconds) LED stays disabled.
+
+Examples:
+
+timer-trigger {
+ trigger-type = "timer";
+ delay-on = <300>;
+ delay-off = <1000>;
+};
@@ -11,3 +11,20 @@ Common properties:
documentation for more details.
More properties can be available depending on the chosen trigger type.
+
+Examples:
+
+timer_trigger: timer-trigger {
+ trigger-type = "timer";
+ ...
+};
+
+gpio-leds {
+ compatible = "gpio-leds";
+
+ system-status {
+ label = "Status";
+ gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ triggers = <&timer_trigger>;
+ };
+};