From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Sun, 22 Jul 2018 23:22:03 +0200 (CEST) Received: from mx2.suse.de ([195.135.220.15]:34370 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S23993964AbeGVVU3g1rdS (ORCPT ); Sun, 22 Jul 2018 23:20:29 +0200 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7F762AFCD; Sun, 22 Jul 2018 21:20:21 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-mips@linux-mips.org Cc: Ralf Baechle , Paul Burton , James Hogan , linux-kernel@vger.kernel.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Rahul Bedarkar , James Hartley , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 08/15] MIPS: dts: img: pistachio_marduk: Add user LEDs Date: Sun, 22 Jul 2018 23:20:03 +0200 Message-Id: <20180722212010.3979-9-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180722212010.3979-1-afaerber@suse.de> References: <20180722212010.3979-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 65040 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: afaerber@suse.de Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips Add the LEDs that are connected to the SPI UART bridge. Signed-off-by: Andreas Färber --- arch/mips/boot/dts/img/pistachio_marduk.dts | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/mips/boot/dts/img/pistachio_marduk.dts b/arch/mips/boot/dts/img/pistachio_marduk.dts index f682d0a5a3d9..6984933b3cdc 100644 --- a/arch/mips/boot/dts/img/pistachio_marduk.dts +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts @@ -60,6 +60,52 @@ }; }; + gpio-leds { + compatible = "gpio-leds"; + + led0 { + label = "marduk:red:user0"; + gpios = <&sc16is752 0 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led1 { + label = "marduk:red:user1"; + gpios = <&sc16is752 1 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led2 { + label = "marduk:red:user2"; + gpios = <&sc16is752 2 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led3 { + label = "marduk:red:user3"; + gpios = <&sc16is752 3 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led4 { + label = "marduk:red:user4"; + gpios = <&sc16is752 4 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led5 { + label = "marduk:red:user5"; + gpios = <&sc16is752 5 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led6 { + label = "marduk:red:user6"; + gpios = <&sc16is752 6 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + }; + keys { compatible = "gpio-keys"; -- 2.16.4