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>;