From patchwork Mon Jul 18 11:29:22 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: 12921123 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 F2F95C43334 for ; Mon, 18 Jul 2022 11:30:45 +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=nC45JMfAimKQmS JxRq044WowshbjSTF44o896STdvdc5G8XtYaprKtMHw2o29Dy8MSinycrxKP9D/BL2eq/JDN+noUp HNWaD5dG/+bhp+JNm7nNE86cvczckJbkHJs+Lhk9F7iaHmy0rsSWCy0nXMcfVsmNm5qFRL87Wbmc7 6ksrC7idMS4xuu0pJuNqR/AoF/O3LJsRC42MYL8oYSBUU9OGhl/JxRkX7rea5saClG6UIcOG51KsI JEUNHda3AS6j6Rhjx4TcnvyIqjM1TU/6Ezy83qOmc0qM13xyWcXUSiPGwbVwawhmPr1Pu2bkPZqh0 Tjr6mkT+yUlWe1xnDw0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDOwb-00CotJ-Qr; Mon, 18 Jul 2022 11:29:45 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDOwQ-00Coo2-57 for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 11:29:35 +0000 Received: by mail-ej1-x635.google.com with SMTP id os14so20646573ejb.4 for ; Mon, 18 Jul 2022 04:29:32 -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=JQeG8hc+zop4hhi9l0mTf15pbSwNU6kERs46GsK1VCmJMIITBNLD2ZtUrBnCsuVh6c 8u0/2pxeXGONVWLlCla+Zg2/TxpglYRNHtxu9j3MDmz5QxfAErw5da2NPLn2shnHKq2Z jBb4VDg7S1pk1M7y37z7V2KaL42uTHjUqFbvqNI6YrFAz/te3uVQtuoiMa9DqNRESVpu DWkQo27nbQPi3YCQ/L3VJeFqi2dyhfyNblQuQiukvbQh3A3OFKDW4vKLgue7yafZvRwj g6RPBWLWZAd+4mZ/7thOqFNHBWh+WkvHbyLIoyPiNVX9Q4e3m1cYDlqZ2aBjKuyKIloZ 6ZOQ== 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=ZRS61bUIR9JPHehiGYAPvHERtOUu49+/VTwYatlTx/gtm8z3c4pAr+cArBTY0bN6OM WPSFA66hoU8rC6X0/umWeKtL2cLckb5litgTx0z2oBpTSpSrv6O3RIkFgqxaX7OKujIT v99x8L2OF4Q5XNKf2f4aCCD88nOZE1OTvrUYZXKoGBLGRpYmd4XyrzqiI4y5eC5I/s4H qH/o41QoxNKWpLEhTEsQ8RvsXP4qcpG5biuRYawiC/0n5vdvsdb5oRvh2Ln2d7jD2HhJ ZY75s72a3wTxySJP6WN8QWNmslM3req9cQFY88sFseNd17M5pLsDZYMvgcbKg98fqhlW uhfg== X-Gm-Message-State: AJIora/JhoXpSdZwpeSfecOigNtT7JzMs579MuYVe/xiBKpi2FtR9RGE TXaROGdTblsEt30PiLh3kas= X-Google-Smtp-Source: AGRyM1uAgzpeOvHrPszKbN9F5tXxnx6d8bUlTV6vH/xafYeoa8pZaF+BIDyOYRbqAIoGpb4zlG7ezw== X-Received: by 2002:a17:906:6146:b0:722:f8c4:ec9b with SMTP id p6-20020a170906614600b00722f8c4ec9bmr25772009ejl.708.1658143771399; Mon, 18 Jul 2022 04:29:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 04:29:31 -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 2/3] arm64: dts: broadcom: bcm4908: add LEDs controller block Date: Mon, 18 Jul 2022 13:29:22 +0200 Message-Id: <20220718112923.5500-2-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_042934_215499_CD2D93AA X-CRM114-Status: GOOD ( 11.90 ) 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>;