From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ziping Chen Date: Wed, 12 Apr 2017 16:51:37 +0800 Subject: [U-Boot] [PATCH v2 1/9] sandbox: Add some test LEDs In-Reply-To: <20170410173459.30461-2-sjg@chromium.org> References: <20170410173459.30461-1-sjg@chromium.org> <20170410173459.30461-2-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 2017-04-11 1:34 GMT+08:00 Simon Glass : > Add some LEDs to the standard sandbox device tree. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/sandbox/dts/sandbox.dts | 14 ++++++++++++++ > cmd/{led.c => legacy_led.c} | 0 > 2 files changed, 14 insertions(+) > rename cmd/{led.c => legacy_led.c} (100%) > > diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts > index 20614646f7..40f423da25 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"; > diff --git a/cmd/led.c b/cmd/legacy_led.c > similarity index 100% > rename from cmd/led.c > rename to cmd/legacy_led.c > -- > 2.12.2.715.g7642488e1d-goog > > Reviewed-by: Ziping Chen