]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/sandbox/dts/test.dts
dm: test: Add a test for the LED uclass
[people/ms/u-boot.git] / arch / sandbox / dts / test.dts
index 2077e851a6336d4be4cb35743de2c2efe9722b83..4b9861835e145fe1ab26af7cc985081cbbe70ba3 100644 (file)
                };
        };
 
+       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";
        };