android_kernel_xiaomi_sm8350/Documentation/powerpc/dts-bindings/gpio/led.txt

16 lines
332 B
Plaintext
Raw Normal View History

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