From patchwork Mon Jul 18 11:29:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12921124 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B46C9C43334 for ; Mon, 18 Jul 2022 11:30:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=00s9abNdqDQ6sBGjMuL26Db18r19BQ/LGOaMZ+3VrC4=; b=gPz+lb3y52HcLp hI9++vKxuB8Gv3sfLBz35N2rgrGO/UXP4kLN42y9Q1ZGbT3iEg2xIEZ+NXt+9HtsYgMvoegIeymx5 bfyhU4CMHWq6mK5WU5STUKSwmyFj0bLQ7ccRHCyCNsXAKTxZ+GSeBFO7yUEOb9+vLSXCU0rexYaix JfT04FChNNDoOIxbjIAlddFEBKRpIRoP9Zekmg5dc265ztSP7mWif7VAAgntSX0liA5aYqG115IrL SBjDji71BNb5xLA/8I2Zdtz/RPsb0mzuY+Qxahsk/G5548keiWqNLAmCf7Bw+FS4TJ7m7akUy6GBQ xQcVVfOQHkrXw+pfpVDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDOwl-00Cowq-PW; Mon, 18 Jul 2022 11:29:55 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDOwS-00CooI-Jn for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 11:29:37 +0000 Received: by mail-ej1-x633.google.com with SMTP id va17so20704057ejb.0 for ; Mon, 18 Jul 2022 04:29:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6O5i3ntxRQ/5uk2892tL5Q2BEnCxX2K7uNSIvV3aXdM=; b=qXufyB4vm2be9Kvh3olRjewNt9R0iNr84yupOs4eY/cIFtHf5GX6hxkwpdLq/RTag9 6EmzGUiMC7xx/dPbd1ZT/5LsDVO3o4olFeBmBHNwZJ23ge3f4W5cXhU0hgK+6XmvMmRP kl9/2ZFM0rWTpAOiN0MYquColfDVDANGkY7yA4RMQO0vaN1qvf9a2HUxbxZFiGgM1M0Q w0PSCiuFjXKEUUJLWj8ScCkJbkmOUKQ7MuWpZ9MF/QXEWmtNYWWKA6CsWc7mDhGhT9kf XnZaHzVp+enPTEGBW1OnBR64vMx13zPFHZI+PUbWkn5YbQ7NHc+MEujTL/hsdjWo2X5o 2QvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6O5i3ntxRQ/5uk2892tL5Q2BEnCxX2K7uNSIvV3aXdM=; b=hIwaK9KxEaNsS3d0+5n/cUglIF/HzU9dtIZOQVgjdCBBJdleRBHrb2fZy0Srsy1nRo 2GqYcJVrJRlY4fAgFE5LmRQt+dE88BObczEYQtKu3O3//lJLziRV+BMrvsau/ht0BZxD ZAkArNlRWtMmslD8v1dYpGNOMJED3aXbw4R3p3GxPkPqjY+cxgx15FKM2scZyyVM0sNR EoQdiDOZK8cxv3gy8lovtgDoe8v9ke3Lfb48dDnUX+oEPILN5PTBYo8GYFseO9OSa+jc IDMP/hse0GyhlE7UQ9COZWG6c2IzeQbZ9AKOnNei7pM2Yfbc/gnLQ8N9VEM64uGWYDz8 t2mg== X-Gm-Message-State: AJIora8f41LIE8cpOQjh/hZMm716+Df4Wp/IWFRQWLDezL6OfE2TCliD FGx2uIyS+Od2FtxdGnHf+Dc= X-Google-Smtp-Source: AGRyM1sRkDvsT9EzY7A9x1Ehuz+1OUkb6JCbRQpUe9fxdT91nhRfbp1Of2iS2uGaUSrImBls1uXiig== X-Received: by 2002:a17:907:2bf1:b0:72b:5cc3:79cf with SMTP id gv49-20020a1709072bf100b0072b5cc379cfmr1007986ejc.382.1658143773028; Mon, 18 Jul 2022 04:29:33 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id vp21-20020a17090712d500b006feba31171bsm5452210ejb.11.2022.07.18.04.29.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 04:29:32 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 3/3] arm64: dts: broadcom: bcm4908: add Asus GT-AC5300 LEDs Date: Mon, 18 Jul 2022 13:29:23 +0200 Message-Id: <20220718112923.5500-3-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220718112923.5500-1-zajec5@gmail.com> References: <20220718112923.5500-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220718_042936_690997_8C2A6D75 X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki There are 5 software-controllable LEDs on PCB. Signed-off-by: Rafał Miłecki --- .../bcm4908/bcm4908-asus-gt-ac5300.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts index 169fbb7cfd34..aeba73cbb793 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts @@ -118,6 +118,53 @@ ethernet-phy@3 { }; }; +&leds { + led-power@11 { + reg = <0x11>; + function = LED_FUNCTION_POWER; + color = ; + default-state = "on"; + active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_17_a>; + }; + + led-power@12 { + reg = <0x12>; + function = LED_FUNCTION_WAN; + color = ; + active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_18_a>; + }; + + led-power@14 { + reg = <0x14>; + function = LED_FUNCTION_WPS; + color = ; + active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_20_a>; + }; + + led-power@15 { + reg = <0x15>; + function = LED_FUNCTION_WAN; + color = ; + active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_21_a>; + }; + + led-power@19 { + reg = <0x19>; + function = LED_FUNCTION_LAN; + color = ; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_25_a>; + }; +}; + &nandcs { nand-ecc-strength = <4>; nand-ecc-step-size = <512>;