projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: test: Add a test for the LED uclass
[oweals/u-boot.git]
/
arch
/
sandbox
/
dts
/
test.dts
diff --git
a/arch/sandbox/dts/test.dts
b/arch/sandbox/dts/test.dts
index 2077e851a6336d4be4cb35743de2c2efe9722b83..4b9861835e145fe1ab26af7cc985081cbbe70ba3 100644
(file)
--- a/
arch/sandbox/dts/test.dts
+++ b/
arch/sandbox/dts/test.dts
@@
-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";
};