diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-10 17:34:51 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-04-15 01:38:57 (GMT) |
commit | a89c3a04bcb416102eaa0b7c398209dbc1c796a2 (patch) | |
tree | f1319b3abf3a72c9ca337f14dc332772a65c6a1e /arch | |
parent | 4e27b9a5845e9c061b315b7ca301eff982d6898f (diff) | |
download | u-boot-fsl-qoriq-a89c3a04bcb416102eaa0b7c398209dbc1c796a2.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/sandbox.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 2061464..40f423d 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -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"; |