Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3600988pxu; Mon, 30 Nov 2020 06:38:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwweCcyWOzg7WoeHRD+UPLT2F1QBlU4XUKh4vBqb61YdP8imySsegxdSSZkBjApKzEynKS X-Received: by 2002:a50:d011:: with SMTP id j17mr20406866edf.123.1606747107561; Mon, 30 Nov 2020 06:38:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606747107; cv=none; d=google.com; s=arc-20160816; b=WUolXjiC4qsoYeEoiY3yFk0736YO4jzmnKg1VyF+fyEF/FJylmNRD2NwPtbSQZidg3 O803495yr/fjOiWjIEHZQfy8desf2/WTFvSYw/WrILLR9TDrPZtbploaew4vRpRB6f38 KkfsJBE9T+qt1BY7g9V3iz2CK3kKmm6oc1KNRODwZEEz8QxBxSgCwXWDlHfn6w9P8v08 O29u5xgGMfryY8sq7uKy6dO4/drykkI9ICKqIQZ1BfVq1eY9lwVpRSrlm1R5lbfRnO+/ 667cLK+e9s+EXOtTsNt2mIh0OM9d/ertZaMnKhz3PmOftU3F0Pp1m6Vu08pX+yO/JFs+ rfTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=WbjvKVsk0Ly4wMRrkA0wk++lv5ABpY6/NVE8QyYyxcc=; b=WX5LWwgtSsvlXIWgCqedTaKzmvwfR8meFZ0fIy07cVZNmwr2QSAl+B/3wD65robjTP 2OdJsyQBtbKKLkeSDXNCQw7Iu0lq3e7DSA/ScmD8bnbXwpdxDkt53yePbdymnBQ/VxPt iqO0xS9NILXkxID644GoZYembwOfBhknC6OlKAE28CJGjBPSVI4+4oUh0kmBUpvV6r0k SBbdIwn6Oe2sycJb6UXcN5NUVc9Qu+k9Jvi9nC58yEEvdnGNhy7A2ipsRp+NqyJO7Onl ngEbonnIIwXzsb4ARqpAAl+26xgQRCAWcSFxg36j7uTs1R67K8kHp2McORfajfo4Je29 5rVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si10151762ejd.719.2020.11.30.06.38.03; Mon, 30 Nov 2020 06:38:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727017AbgK3Ogc (ORCPT + 99 others); Mon, 30 Nov 2020 09:36:32 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:55903 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbgK3Ogb (ORCPT ); Mon, 30 Nov 2020 09:36:31 -0500 X-Originating-IP: 91.175.115.186 Received: from localhost (91-175-115-186.subs.proxad.net [91.175.115.186]) (Authenticated sender: gregory.clement@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 35A06C0007; Mon, 30 Nov 2020 14:35:49 +0000 (UTC) From: Gregory CLEMENT To: Tomasz Maciej Nowak , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Russell King , Alexandra Alth Subject: Re: [PATCH] arm64: dts: mcbin-singleshot: add heartbeat LED In-Reply-To: <20201110153831.5336-1-tmn505@gmail.com> References: <20201110153831.5336-1-tmn505@gmail.com> Date: Mon, 30 Nov 2020 15:35:48 +0100 Message-ID: <87wny2j4jf.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > With board revision 1.3, SolidRun moved the power LED to the middle of > the board. In old place of power LED a GPIO controllable heartbeat LED > was added. This commit only touches Single Shot variant, since only this > variant is all revision 1.3. > > Reported-by: Alexandra Alth > Signed-off-by: Tomasz Maciej Nowak Applied on mvebu/dt64 Thanks, Gregory > --- > .../marvell/armada-8040-mcbin-singleshot.dts | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts > index 2e6832d02a59..411d20064271 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts > @@ -5,6 +5,8 @@ > * Device Tree file for MACCHIATOBin Armada 8040 community board platform > */ > > +#include > + > #include "armada-8040-mcbin.dtsi" > > / { > @@ -12,6 +14,19 @@ / { > compatible = "marvell,armada8040-mcbin-singleshot", > "marvell,armada8040-mcbin", "marvell,armada8040", > "marvell,armada-ap806-quad", "marvell,armada-ap806"; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-0 = <&cp0_led18_pins>; > + pinctrl-names = "default"; > + > + led18 { > + gpios = <&cp0_gpio2 1 GPIO_ACTIVE_LOW>; > + function = LED_FUNCTION_HEARTBEAT; > + color = ; > + linux,default-trigger = "heartbeat"; > + }; > + }; > }; > > &cp0_eth0 { > @@ -27,3 +42,10 @@ &cp1_eth0 { > managed = "in-band-status"; > sfp = <&sfp_eth1>; > }; > + > +&cp0_pinctrl { > + cp0_led18_pins: led18-pins { > + marvell,pins = "mpp33"; > + marvell,function = "gpio"; > + }; > +}; > -- > 2.29.2 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com