From bb03b7eb1032c50d91f6284e545bdd463e5e37f9 Mon Sep 17 00:00:00 2001 From: Bunnaroath Sou Date: Mon, 29 Apr 2019 09:23:45 -0700 Subject: Add LEDs for HiFive1 boards --- bsp/sifive-hifive1-revb/design.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'bsp/sifive-hifive1-revb') diff --git a/bsp/sifive-hifive1-revb/design.dts b/bsp/sifive-hifive1-revb/design.dts index 6c7da04..0e48622 100644 --- a/bsp/sifive-hifive1-revb/design.dts +++ b/bsp/sifive-hifive1-revb/design.dts @@ -192,5 +192,23 @@ reg = <0x10016000 0x1000>; reg-names = "control"; }; + led@0red { + compatible = "sifive,gpio-leds"; + label = "LD0red"; + gpios = <&gpio0 22>; + linux,default-trigger = "none"; + }; + led@0green { + compatible = "sifive,gpio-leds"; + label = "LD0green"; + gpios = <&gpio0 19>; + linux,default-trigger = "none"; + }; + led@0blue { + compatible = "sifive,gpio-leds"; + label = "LD0blue"; + gpios = <&gpio0 21>; + linux,default-trigger = "none"; + }; }; }; -- cgit v1.2.3