dm: test: Add a test for the LED uclass
Add a test to confirm that we can adjust LEDs using the led_gpio driver. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -180,6 +180,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
iracibble {
|
||||
gpios = <&gpio_a 1 0>;
|
||||
label = "sandbox:red";
|
||||
};
|
||||
|
||||
martinet {
|
||||
gpios = <&gpio_a 2 0>;
|
||||
label = "sandbox:green";
|
||||
};
|
||||
};
|
||||
|
||||
mmc {
|
||||
compatible = "sandbox,mmc";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user