Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5142604imm; Sun, 22 Jul 2018 14:21:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf+bDZZ6xt8U7cDriY0vP3eLl57ZgS8Tf2INpDzEC9t9/2qcaRyfkBpEq53v0GLGrHFrXG/ X-Received: by 2002:a62:c505:: with SMTP id j5-v6mr10393471pfg.153.1532294495603; Sun, 22 Jul 2018 14:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532294495; cv=none; d=google.com; s=arc-20160816; b=GK8HynWY8g31ON6RKwxyATFmbbh/miHWZumfuZJYClFYcTDgFAQdEgLn2X6c7NUOMm AphIWKUIjWk2SZJs61IB7gLvp55LEjW70j6pH87RpRi82UQnTy70NyYmjUXHtwLRtV9E RDd5qmAYMs0X8UamUftyTxaB79Qzo03OA7AF1P6NlqkNVnxUEIGNs847GEKhDYBwQSC2 mqMXQUWbDnyDQnpxOT01s27btTPUbT1wbn3LbO+1ozv1pfiDFplSVyjClKjBJxa/BRuP qnwE0yzKluxDwM2m/4I24NUxSTJ6MCrpiDRibzQiLIufyKiEEWCBhFhngWeU09hNRLFq FZXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=OTgwXJwaScYdgKT/SVNHjGbEldebQnlBry7gzj2CgCY=; b=mCwyAtAEnSvoTWUAKwuwuWTwnI3cMGUwjmkEeQ81f9NDGc4U7vcrfLmpyltwnHQA4G +hrAe3sm+RpxZAjAMSdzaBBTvfIti1vz48CX46n+0UDeS9OWc5gH2QOStSomMtI4ZneL vE5R2fR+/5S1bzqARqQGhAm5YUrrlaqlBIEH30vY75ddujxP/+zNxRze63omMds4lo4k 2IeFYR3QayAPAb1+OFtlH++TOZzheMPT/BrZRqI7mdsVFV/46hwoDVTPiP35QtzmK/tw t8txrHlhmAyWPK17AtsUnj3P+IMy3yPItaTcMj4kWFDdgRm3g/tyBeWNy11AdzaJjnxT 0iRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v12-v6si6612292plo.264.2018.07.22.14.21.18; Sun, 22 Jul 2018 14:21:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387787AbeGVWSY (ORCPT + 99 others); Sun, 22 Jul 2018 18:18:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:38804 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730905AbeGVWSX (ORCPT ); Sun, 22 Jul 2018 18:18:23 -0400 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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