From patchwork Mon Jul 18 13:20:58 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: 12921272 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 26AB1C433EF for ; Mon, 18 Jul 2022 13:22:43 +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: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:In-Reply-To:References: List-Owner; bh=HaWBnzJA/KZQNbBwN27/jSsen7Y2409cZqz8zo76MYU=; b=lvcPeY60w24rpR 88ciaJcMsHSBYcVk+3QF+tUFqjyYmekC9WcgmXJymxEFohDbVj0XWTFJTya0tP0PB6DM3Hb2MzGee FawQp5bmbOez2V5cHu5YxHSAm/Ab3rSEIBZSUIGUnzlA0CNX/RQmUioOPVJrcqQQ2V5oqrHNB15pe 29gTxDTZy8wTtE8g/n6m4LB0FAIMetRiGJoPOcv5Yx7yZo6DCgQrWGIWowgrsKIsx0JqxKOSVpllj wX+x1ADpURD9WmvqAgnoVyyi1p0ps1/LF0Oiwn0Rl+D4Anpomh5cc4i+ITKxrM433CruV9ddPaMV6 Fl1mIeO7nrdFyy6drxZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDQgw-00DgiX-Px; Mon, 18 Jul 2022 13:21:42 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDQgb-00DgSb-Bo for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 13:21:23 +0000 Received: by mail-ed1-x52f.google.com with SMTP id r6so15248448edd.7 for ; Mon, 18 Jul 2022 06:21:09 -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:mime-version :content-transfer-encoding; bh=lB6d+lP+UT47fInxJWLkjersmnW8oCcHzLsfZtrDga0=; b=MV2FP/hgIGSo6p2PqUG41k3WKG8wAf1AfM/qjTiEowSYpdImkzMkL0or1vRZ0iYpu3 oKRfOrtorADhLLBHPFJODGCLrxc4QIolbTcDXEpY0pHckezENeQM7756zJHOcmPBAYIh AlqrhDZbUPtFnGhQ+2lsv5z2GV8WiwDsIBJSCTBVzOMnRnNGjuY37AAPcBJnEKfZIZpY 4hDSBh2Q9EBSsbpM8CEuykigJZvrSl+GgQPVgEkg0EOHI2mmd/M3ZfkBlci4he+JpEWQ tGRrNo7qJKRwwHH3+ay820afvHfmW5S8hR61R/jlIKgKnwdB7x6Xip/zQ9z1WOyRGoH1 Y+bg== 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:mime-version :content-transfer-encoding; bh=lB6d+lP+UT47fInxJWLkjersmnW8oCcHzLsfZtrDga0=; b=WflI6NfaHCjWJj9Ir5XsGG9uQhEyb7a7DXkAZXTOV/6vPAWJdZq9B+b4LC5h7FIngs dV1k0nTkdyUuFlT7+rr8u+lJErTeS2jXI/3PurnRMDZ2L8wlsEYryQhgEIwlvSqdbl8u 1Sxa9kdHzZPUMjs20at04w3tWndesz+j0oQCM/DEm42PLWR8AtljyJu2ju6y/fvuRPDG TWwrGNbcM3Rkuo4XIGpnQ4g3n8+/Nw32uFzg3/RC6g5RGwa7w4WxP0iORb5IvKa2jfGf eT604YN/fUZlhXM1WuzVEB1OINNhkg3JE5DnrMOfShUwPqtoZcBCKSfUtB8oKqqTB4Yq eN9g== X-Gm-Message-State: AJIora98k7rGAEF3hbJkywf1DWWt0guVH97YfhmNCFzb2/0cc4N8NSyO oJRLMeqJAogJ4Nr9S8tk5aI+e61Q7DWqKQ== X-Google-Smtp-Source: AGRyM1vqhm+rXNMHWwSa+VlWZ4z7sZwno4e7IwpoUVlyM+Kw/7z+HaKtxX8vFXLYMJ+tMHKVpvvtrA== X-Received: by 2002:a05:6402:354c:b0:43a:dc59:657 with SMTP id f12-20020a056402354c00b0043adc590657mr36174672edd.405.1658150467918; Mon, 18 Jul 2022 06:21:07 -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 i8-20020a50fd08000000b0043a554818afsm8678537eds.42.2022.07.18.06.21.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 06:21:07 -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 V2 1/3] arm64: dts: broadcom: bcm4908: add remaining LED pins Date: Mon, 18 Jul 2022 15:20:58 +0200 Message-Id: <20220718132100.13277-1-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220718_062121_415375_2EEE3581 X-CRM114-Status: GOOD ( 10.17 ) 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 Include all 32 pins. Signed-off-by: Rafał Miłecki --- .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi index a4be040a00c0..db9f3d8e2bc8 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi @@ -350,6 +350,61 @@ pins_led_9_a: led_9-a-pins { groups = "led_9_grp_a"; }; + pins_led_10_a: led_10-a-pins { + function = "led_10"; + groups = "led_10_grp_a"; + }; + + pins_led_11_a: led_11-a-pins { + function = "led_11"; + groups = "led_11_grp_a"; + }; + + pins_led_12_a: led_12-a-pins { + function = "led_12"; + groups = "led_12_grp_a"; + }; + + pins_led_13_a: led_13-a-pins { + function = "led_13"; + groups = "led_13_grp_a"; + }; + + pins_led_14_a: led_14-a-pins { + function = "led_14"; + groups = "led_14_grp_a"; + }; + + pins_led_15_a: led_15-a-pins { + function = "led_15"; + groups = "led_15_grp_a"; + }; + + pins_led_16_a: led_16-a-pins { + function = "led_16"; + groups = "led_16_grp_a"; + }; + + pins_led_17_a: led_17-a-pins { + function = "led_17"; + groups = "led_17_grp_a"; + }; + + pins_led_18_a: led_18-a-pins { + function = "led_18"; + groups = "led_18_grp_a"; + }; + + pins_led_19_a: led_19-a-pins { + function = "led_19"; + groups = "led_19_grp_a"; + }; + + pins_led_20_a: led_20-a-pins { + function = "led_20"; + groups = "led_20_grp_a"; + }; + pins_led_21_a: led_21-a-pins { function = "led_21"; groups = "led_21_grp_a"; @@ -360,6 +415,21 @@ pins_led_22_a: led_22-a-pins { groups = "led_22_grp_a"; }; + pins_led_23_a: led_23-a-pins { + function = "led_23"; + groups = "led_23_grp_a"; + }; + + pins_led_24_a: led_24-a-pins { + function = "led_24"; + groups = "led_24_grp_a"; + }; + + pins_led_25_a: led_25-a-pins { + function = "led_25"; + groups = "led_25_grp_a"; + }; + pins_led_26_a: led_26-a-pins { function = "led_26"; groups = "led_26_grp_a"; @@ -385,6 +455,11 @@ pins_led_30_a: led_30-a-pins { groups = "led_30_grp_a"; }; + pins_led_31_a: led_31-a-pins { + function = "led_31"; + groups = "led_31_grp_a"; + }; + pins_hs_uart: hs_uart-pins { function = "hs_uart"; groups = "hs_uart_grp"; From patchwork Mon Jul 18 13:20:59 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: 12921270 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 6D45DCCA479 for ; Mon, 18 Jul 2022 13:22:28 +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=kbKoYWHZaBfUiq0MBYKn57TAdtN2Yq1tnkMPQKPmAGs=; b=zgTl6iAVYGEO7y VhDQDwWAuerAuCQ7XHcMCUZ6nl81DlhhN5S0O49RBa5vdj4gjLQjeru5trE1+ATzcuT3p1d8UC+42 zxbh3CNeJPxQeccEPslmfcLhut2/3/N8Dr+G45oPYnpjkWkqHaS35nVvFRAxKb9F1RuANOoLe6ub9 lTyCmG6qImPEZdDdTnBVbF2u5AFLDr0R3d1P0aCUQ9BH8oeaxulXPebGHbrTpYdGNYAd1OWPrU/y+ etq1TpixxZ/To5aREh8E6H0DvkudeR5aS8N1ynW/1H2uxzPg2mDLQL5umtdcRPPiEP25YjnJg09nH 0ymDA8w+TsZVOKJB5fyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDQge-00DgZk-79; Mon, 18 Jul 2022 13:21:24 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDQgb-00DgT9-6I for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 13:21:22 +0000 Received: by mail-ed1-x529.google.com with SMTP id m13so5078157edc.5 for ; Mon, 18 Jul 2022 06:21:10 -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=8OxtpucguPissdSC5HXV3eaFBfYa5QQkjhDSsW6QHMA=; b=NHjbneIJZsFRs9XfRXG4fBDpeI0Z5V3XY9AeWfpF3XjWqYYvg72V5WmzMQFasUoXHP 3S3UM7w6EN9s5anWtPR2EvxpFqFvUs7JcaFwTq2J87vGahfvaXnTUWplLCushjDSmp0c SfHVtERMGolsWG6IMGw8W3MKxiw4sD44umCTC04LnQxv4AhpKFzvPEkcfYM/husPBIh+ 2WskNEjzqsetA42i5QDqvzfOmg3z7ZEUkhTHkkCwGbxujNLeMcOuM7MpgamkRRVKn6Dx ibJZx425fi18Zwa2RZs0VUSnRsqPIAZCZF/N7EdhS5PMaq2LguA6GDG7P224TIaoj90l TnDA== 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=8OxtpucguPissdSC5HXV3eaFBfYa5QQkjhDSsW6QHMA=; b=HJAXMlQB1KlPovfYpLKav3Xjh2cishmfiPkfUGmNZYfnhjlBSlDqZJ5/WmRVVTIZ19 54eSMgfkPIEesnHtb45sEDL5PZD7bOtziRUnt//VIJQhf12c5WxTZX1jKsnqp/4U3gCo mm2vGY6XcW5+BlCF3tHcJGGVJrU8euiennZbgx5gfvwuEe15WrjTa/i8PUGMKb/aLFbd M2STm9qC5o4ZKC2LfABlrAYLr2gxqtbU1L4SSvLriwY5WPg08J3Is/ViNUmaPUsb9/EA uM3FX863qJQoGrjPFlVAdYG1MHcYlG8dA5tattQs6WT0F2jlAZ0Xlx2IMDqS1PB+KIvi iOeA== X-Gm-Message-State: AJIora9aB0IKQTNe7Z6+IWwabmVNbn1arkM+wHIfFgcKsJdwtpsUZ3Es O3xNa3zfmVLzEQF/6lJiMXk= X-Google-Smtp-Source: AGRyM1t9PmWTrHUKZ1CW47gP3JXm0FVqeVVU9RcJRJRcXRou9mJmUmVz26v6GPcs73/6SFEFvQWxaQ== X-Received: by 2002:a05:6402:3708:b0:433:2d3b:ed5 with SMTP id ek8-20020a056402370800b004332d3b0ed5mr36613698edb.246.1658150469217; Mon, 18 Jul 2022 06:21:09 -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 i8-20020a50fd08000000b0043a554818afsm8678537eds.42.2022.07.18.06.21.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 06:21:08 -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 V2 2/3] arm64: dts: broadcom: bcm4908: add LEDs controller block Date: Mon, 18 Jul 2022 15:20:59 +0200 Message-Id: <20220718132100.13277-2-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220718132100.13277-1-zajec5@gmail.com> References: <20220718132100.13277-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_062121_237665_624248C8 X-CRM114-Status: GOOD ( 11.23 ) 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 BCM4908 includes LEDs controller that supports multiple brightness levels & hardware blinking. Signed-off-by: Rafał Miłecki --- arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi index db9f3d8e2bc8..981a0eb9da6f 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi @@ -515,6 +515,14 @@ uart0: serial@640 { status = "okay"; }; + leds: leds@800 { + compatible = "brcm,bcm4908-leds", "brcm,bcm63138-leds"; + reg = <0x800 0xdc>; + + #address-cells = <1>; + #size-cells = <0>; + }; + nand-controller@1800 { #address-cells = <1>; #size-cells = <0>; From patchwork Mon Jul 18 13:21:00 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: 12921271 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 4D365C43334 for ; Mon, 18 Jul 2022 13:22:31 +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=8WG5APS1P5XABmnslwxuCi3oxHiY3JG4CVTAGzohghI=; b=IADt01UEbYYdiX wUGjOsCIIRVVqYzZIdz1TjUP0gy6OJWzKcO4qLOLrntyWFvbtJ/YaIwpO9GwUqxQXA2XVCt/vB71I 2FvArGfaDYKVEoeBiUfVoIo30ilkeHZrW9R/BscylR8Wgg5MAJ4Mw842rGeh3TAmjZut7oFoVtXGH wi+IMAF9Vs4wPFa/0sR94ac5GHp/GlQpOJ19zCmViO33KuIp2aERVMGpxbkhtmyGFXQtDKInPUd1v jq8dsOBOVmIEgVzcvlcNMgDWgS5xEaI3SNZy00qNNDTpMqEns4UB5EYUF3Ywxo8BSdxg4eNRsrG0o Q+6T8qMG79COnSr/yrhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDQgm-00DgdX-Qi; Mon, 18 Jul 2022 13:21:32 +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 1oDQgb-00DgTT-6O for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 13:21:22 +0000 Received: by mail-ej1-x633.google.com with SMTP id tk8so9823520ejc.7 for ; Mon, 18 Jul 2022 06:21:11 -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=hDE8wVHcgS4PiR4IlLv3X0XtE6N6NIiTILa2X41hjNg=; b=ZZxK+dHUsP5q3LzDPnisIkEKbk8vN4o5lyIU3yMx4esBBWp6cvdIy4xg0aI399Iko1 b9ZD2GWOMHNJ7BhPMLY/yM0tOmVhQ3EhMD8eRXceKsnqvzRe0SPi3KFyzX6b4aQSFRs9 XSxqunMPI+2fPXEoMC4M0bJZZ4kwAA+UfQ2+n6AcOwtCQ+r4Crn23WYJ0kg8wLX3EIVv xG2DYAnLYgfEaW+o06btcX0YnmDpaN6omok1wASrv41jydlqV709teXcXgwKFozTnZIX xMTel+PYLhnEiCc5YcGInkEiouawHWX5i3MKZpIVo+P9f4C1wGBCAV3cRjj+5eYuA54k YjyQ== 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=hDE8wVHcgS4PiR4IlLv3X0XtE6N6NIiTILa2X41hjNg=; b=2iwNkheMeF/sEE391mxssLHo/ocWB8fm2/Bkyp4nmxASjzof9/O7hr0dsviIgb9O0w qmZhR0xU7tERZX/RxfAV1eOEgpIQdTg1MpkjCLatZNeZcrzdtLALU27WKIBfAhJLtmm9 coDakOtEWoRRNfooP/Ds7X1thux5S2j7FGVhjCBtiYEV6VXWUnL/zi1rPAZnDkSiKCNd ngwEe+Mv61Ec6N5i8kFiDujR4NpCSFsMZ1asu8MzipfmovY6iqq07/ycvbYs71Yvy7TS eMJDYAlt5A4eO/PAmtSNY1aWl81D9lycGlEm6H9YSvIpPmIFptvGCdl0QNI8zmoPQlXO flYA== X-Gm-Message-State: AJIora9DVKt6U0uOLnLyjJdgcWmoGK9OM1h3G8VQD4kTOI37dpDQRaxA w5FHCzih6f6o1rvvw061NxQ= X-Google-Smtp-Source: AGRyM1thQDd/tO11WO9jZ1SlovmXXoJO93T8HhQhVSR4XuQsFPNtzuRJdB3PopAe2ed0rGK5Ih+vZQ== X-Received: by 2002:a17:907:3f29:b0:72b:91df:2c4b with SMTP id hq41-20020a1709073f2900b0072b91df2c4bmr25560614ejc.206.1658150470423; Mon, 18 Jul 2022 06:21:10 -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 i8-20020a50fd08000000b0043a554818afsm8678537eds.42.2022.07.18.06.21.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 06:21:10 -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 V2 3/3] arm64: dts: broadcom: bcm4908: add Asus GT-AC5300 LEDs Date: Mon, 18 Jul 2022 15:21:00 +0200 Message-Id: <20220718132100.13277-3-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220718132100.13277-1-zajec5@gmail.com> References: <20220718132100.13277-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_062121_254889_0445576B X-CRM114-Status: GOOD ( 12.03 ) 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 --- V2: Include header & adjust nodes names --- .../bcm4908/bcm4908-asus-gt-ac5300.dts | 48 +++++++++++++++++++ 1 file changed, 48 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..5862db5cab2f 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 @@ -2,6 +2,7 @@ #include #include +#include #include "bcm4908.dtsi" @@ -118,6 +119,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-wan-red@12 { + reg = <0x12>; + function = LED_FUNCTION_WAN; + color = ; + active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_18_a>; + }; + + led-wps@14 { + reg = <0x14>; + function = LED_FUNCTION_WPS; + color = ; + active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_20_a>; + }; + + led-wan-white@15 { + reg = <0x15>; + function = LED_FUNCTION_WAN; + color = ; + active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pins_led_21_a>; + }; + + led-lan@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>;