led.txt 332 B

123456789101112131415
  1. LED connected to GPIO
  2. Required properties:
  3. - compatible : should be "gpio-led".
  4. - label : (optional) the label for this LED. If omitted, the label is
  5. taken from the node name (excluding the unit address).
  6. - gpios : should specify LED GPIO.
  7. Example:
  8. led@0 {
  9. compatible = "gpio-led";
  10. label = "hdd";
  11. gpios = <&mcu_pio 0 1>;
  12. };