From patchwork Sat Aug 22 16:19:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 11731231 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF77213A4 for ; Sat, 22 Aug 2020 16:20:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C88012072D for ; Sat, 22 Aug 2020 16:20:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uwtZqEWx"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DMfEfVTX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C88012072D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iFekzoYr5VVZYuvdM2PkokqbvMvYL6QPigaGgkslZ+0=; b=uwtZqEWxlGwryFe8DD12tWdm0 I1sVkxrmf+xI8T4NZAA4D0IokRukuW6BcQf49vG3gRM5w/59DHoF08JE0HoSa8RPHehiGqcwf8s5j E9nmVad9vkSq0XjFjAQQUDbmmuCKWup+pnWQFQDbgVxAW7IcB0q32wMlpxrGcIKO78mdvc0uTKGiZ tbglQNKn3XmeTB7Ow1vWg9vIPKFSMsWueQtzxjG11ptKb53xKjBEEEhLjBOXlNdxbr740hdroAZpi O2V9MkD5NzCmIjn4nvuHWaDlpHhszA8IWknhKPwwYLWHvEWR37nAlNBbMUecEFCTxImImxk74ThoS uTKToE+Ew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WFN-00057N-1d; Sat, 22 Aug 2020 16:20:01 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WF9-0004zt-I6 for linux-arm-kernel@lists.infradead.org; Sat, 22 Aug 2020 16:19:48 +0000 Received: by mail-ej1-x643.google.com with SMTP id dp2so891128ejc.4 for ; Sat, 22 Aug 2020 09:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9IFQeS3k1fxCG9feQkvOalqnSgqFLe2pyE7Vkk5gPj0=; b=DMfEfVTXY5yX+rx4Y2bnZcUMtgsUErMC7UPydSJ2IfV0TBlC8I4L0UHXiEpEgLwCY0 bWuL5GilNBmgf9cGwSBSNqsZiTtkE7snrPYGjtDk+N46M5XmSjkBxqwAHS8ovic/dpeC J7kK12svFTPnlSJbHQoExsOTlhP7HWGNeIjAvCYldNoEsLGqPSXmRrNRfuqolr7oD/nI fksr5VE8ihbq+4aUy+ms/KS1NnOPx8DfCc+Sp/xwFm5XePmUMrqY14U13SLzTe7ULNHR 1uQV+UyxvrI0jMcrN+CYK3O7pX7pfh5vKtPS0BYf6wpPZVEKKXlKHrpQNqpLv0129hM+ fB1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9IFQeS3k1fxCG9feQkvOalqnSgqFLe2pyE7Vkk5gPj0=; b=WrU5YjnoEwDSMCrjKW/750yNH5xc8JCpLiY+x0TKQz4AxLSVsx7TFPcvB6IC6KmBku Z8iLxATfRXSzL81ylf1SI1BqyGBSlv1T9q7emAi/augKg3E9LHlnJfTyDxfNZXz+3wAi 7uMg5CAnYwhBHpWqJdhLVOxFOnVtWLjh1L8ccgktpxOWBIQPU9yKOCG0iANmoRObInPc TGinhPDjljWYodklhogxn9MtauLh22I9rrlFMg+gcOLyA0E+/gu3jCy+AYpfzkPdMe7Z 6YnIxwJSFkhOza49WnYBcPp/Ph7HQEpSJmULrABohp4BiMeDCLg5th9Y9/hk+Ayy9CwW raGw== X-Gm-Message-State: AOAM532XvGsezu02/WwnEyjlKu7VbRk1oAN69neJ3pNgQhk0fchtGDrW gE3zuVxMIrENYS/zm3VWlPvSt01V34c= X-Google-Smtp-Source: ABdhPJxiWgpIf+imXyc8nDsVn1OEhXHeTZl55v4XqHdtKjOjAiDoY5aoaTVTsmIrjwqxHhIVH6iTVg== X-Received: by 2002:a17:907:41dc:: with SMTP id og20mr8172913ejb.183.1598113175684; Sat, 22 Aug 2020 09:19:35 -0700 (PDT) Received: from debian64.daheim (p4fd09171.dip0.t-ipconnect.de. [79.208.145.113]) by smtp.gmail.com with ESMTPSA id 59sm1362653edg.5.2020.08.22.09.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 09:19:35 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1k9WEr-0005Fo-EH; Sat, 22 Aug 2020 18:19:29 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/6] ARM: dts: BCM5301X: Specify PWM in the DT Date: Sat, 22 Aug 2020 18:19:19 +0200 Message-Id: <252373bdbee1754208b889a8710774b73b4f2068.1598111680.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200822_121947_680221_B08A56FE X-CRM114-Status: GOOD ( 15.67 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:643 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [chunkeey[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , Scott Branden , Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Chris Blake , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Ray Jui Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The BCM53016 in the Meraki MR32 uses the on-chip PWM controller to drive a tri-color RGB LED. Since I plan to use the PWM, I made a label for the pwm's pinmux node. This way, it can be easily referenced.... And Also included a label for the i2c since I'm going to need it in the future too. Signed-off-by: Christian Lamparter Acked-by: Scott Branden --- v1 -> v2: - added labels for pinmux --- arch/arm/boot/dts/bcm5301x.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 2d9b4dd05830..45cd8c7411dd 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -350,6 +350,14 @@ gmac3: ethernet@27000 { }; }; + pwm: pwm@18002000 { + compatible = "brcm,iproc-pwm"; + reg = <0x18002000 0x28>; + clocks = <&osc>; + #pwm-cells = <3>; + status = "disabled"; + }; + mdio: mdio@18003000 { compatible = "brcm,iproc-mdio"; reg = <0x18003000 0x8>; @@ -417,12 +425,12 @@ spi-pins { function = "spi"; }; - i2c { + pinmux_i2c: i2c { groups = "i2c_grp"; function = "i2c"; }; - pwm { + pinmux_pwm: pwm { groups = "pwm0_grp", "pwm1_grp", "pwm2_grp", "pwm3_grp"; function = "pwm";