sandbox: Add some test LEDs

Add some LEDs to the standard sandbox device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ziping Chen <techping.chan@gmail.com>
master
Simon Glass 7 years ago
parent 4e27b9a584
commit a89c3a04bc
  1. 14
      arch/sandbox/dts/sandbox.dts
  2. 0
      cmd/legacy_led.c

@ -123,6 +123,20 @@
yres = <768>;
};
leds {
compatible = "gpio-leds";
iracibble {
gpios = <&gpio_a 1 0>;
label = "sandbox:red";
};
martinet {
gpios = <&gpio_a 2 0>;
label = "sandbox:green";
};
};
pci: pci-controller {
compatible = "sandbox,pci";
device_type = "pci";

Loading…
Cancel
Save