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:
Simon Glass
2015-07-06 12:54:34 -06:00
parent fb8a5ffc77
commit 3c43fba3d2
5 changed files with 95 additions and 0 deletions

View File

@@ -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";
};