From patchwork Sun Feb 5 17:48:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 52918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1868235wrn; Sun, 5 Feb 2023 09:51:31 -0800 (PST) X-Google-Smtp-Source: AK7set8ldG5CfdFv0UYfegZiv37/bZyyzJ4/Mz2vJuTTY4f1+FoS5rqxPIdDFG4xguDI6CYIC9vF X-Received: by 2002:a05:6a20:5496:b0:bc:244a:c43e with SMTP id i22-20020a056a20549600b000bc244ac43emr21673285pzk.55.1675619491102; Sun, 05 Feb 2023 09:51:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675619491; cv=none; d=google.com; s=arc-20160816; b=SmKfzUqpFXhLUFxojVMy035CfRPZHSw2kxI9LYrTxDnjzcUNrrE1suYSo2gVHPZB3w 0YtwPbzmD2tgH3JjOSAcXnQTI6VSkU8TcXWvJ4Yg9aX405ARWwv7rSqO2vq7w4aWotdH SBaYEx4YAgaY/qyM4uojNzYiOMOb7OeSpxpQZdtnlymcgjESI0kyh1t2Qa6dHQz2vIXY 30dlPi80hN6Qmpo6J2YQqKG7yt8/QNvLHN2aqkI26vdL+FOefz9Jck6cKRN5HJgslF8v G43pg+DoAIBaKmhI0URyCR2LbzKimubS7ISM3WXJY64Q/F7i2iNv7pykN/sZlsERs4V+ 7UaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5x5jw/lnJazoXzv3c6IXoN93KLrXvZK0c1wXgqRmz8M=; b=PXcGT9Ve/ySFUbTiCcg5+QAjGkNSy6l93wgmlIUW0o8ZVB1VCIN5AjVhfrs6ENmNDk 223ixdxBlfOe4hlp0r2Ux1Dd/SZNWwG2zWJrOojg9pThmS1OzCLvSyS87yLiBotwpJB2 nppKvqmpLTHmIXfitPR8jmnuI1GVdUca+hR/vp1SaxMy5BMKMOKg/yhZsVgAomZOU3ma A/68WUGEFDlEr9GIC7O1ojc1s6UrqmDihxuxlkw6zWzfSCeNv0tSWdYPdSd3pQJD7u9T 6ip7zFAamBmY+OD6kz/XjYuLl+4r/oQF7upEAuGeoavuFMLSoflhUCMpdIf/fmBWzld1 bbkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=rObJxyrw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a17090282c500b00188e49e9dddsi940437plz.52.2023.02.05.09.51.14; Sun, 05 Feb 2023 09:51:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=rObJxyrw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229503AbjBERsu (ORCPT + 99 others); Sun, 5 Feb 2023 12:48:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjBERst (ORCPT ); Sun, 5 Feb 2023 12:48:49 -0500 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 182B11CAD2; Sun, 5 Feb 2023 09:48:48 -0800 (PST) Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 3F6AE6047F; Sun, 5 Feb 2023 17:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1675619326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5x5jw/lnJazoXzv3c6IXoN93KLrXvZK0c1wXgqRmz8M=; b=rObJxyrwiG/VjAXWpqAbF9wqNgBjSp4W15IbrZ/S7aC2UDQVE97stsmFgHga+4Av7PnzRo Hv30INctB+bt/WDFDRAGkROzCmYrzelJgvoHsS8euQtEEK6MJU0OjsSm9EaWugDHnSsC/a ufuh4S4aVjzBXYQnQwRAHIP0aYqzJGs= Received: from frank-G5.. (fttx-pool-80.245.77.40.bambit.de [80.245.77.40]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id 0936B1226B0; Sun, 5 Feb 2023 17:48:46 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: mt7986: set Wifi Leds low-active for BPI-R3 Date: Sun, 5 Feb 2023 18:48:33 +0100 Message-Id: <20230205174833.107050-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757014383354232679?= X-GMAIL-MSGID: =?utf-8?q?1757014383354232679?= From: Frank Wunderlich Leds for Wifi are low-active, so add property to devicetree. Signed-off-by: Frank Wunderlich Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts index 33bd6febc160..2b028141f1f7 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts @@ -446,5 +446,9 @@ &wifi { pinctrl-names = "default", "dbdc"; pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>; pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>; + + led { + led-active-low; + }; };