From patchwork Sat Aug 22 16:19:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 11731229 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 2092D14F6 for ; Sat, 22 Aug 2020 16:20:03 +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 ECC8A20738 for ; Sat, 22 Aug 2020 16:20:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hzUvPUb2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="K7lj41AE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ECC8A20738 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=/Wau59X6mbWKhdOMQTcID7kZUllwXyiBfWWvrZn+HvI=; b=hzUvPUb2JsxAZVcHfG0Bv2NCA j3kAx6+icNK5wNnOyyCcOkZDVB7XXgNKiJPZdGN1RgYO5eWi8AS4YR6Xgdk/LRAocPzkI/A7jVQKZ 5A0NPtu8M0ck7vrSsrETKoPWNi20vI1gY0KWXmSi53suUwmR12K+edS/+xkgK1TC8HhtAl5BtZF1V 1adxyJ/ZIxMjO/gh88up4JJyWAK8DBdeeX2TeSB7sumIceRfbXxDcju2TQgEAUY+W8l1iLoL5xFfW S7pj9353TEpdYIzxxeIkMzxE+ynXHLfWBELinuDE0YjJLEHe85zkRs1zzviwyUWWm8eyADqexjc3p fpuq8y0wA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WFD-00055Z-Uk; Sat, 22 Aug 2020 16:19:52 +0000 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WF8-0004zK-BO for linux-arm-kernel@lists.infradead.org; Sat, 22 Aug 2020 16:19:47 +0000 Received: by mail-ej1-x641.google.com with SMTP id o18so6191393eje.7 for ; Sat, 22 Aug 2020 09:19:32 -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=3G5uTNSNEauG9NFdJGTedDBgKyyzVoZbRah7Cfn8wSU=; b=K7lj41AEHYCVB8Hlo30iVxMiuCUP1RRhKEqFIPM3igjJu48kjS8QLom9evgw1XB+fG I8YtqZdiO1LyCMaet8NbghApxtmhJSBoF7td/EfoGkV/CIr9x8RKTT3xC0Vw4Es9IfwB 8zqf1mZgXZqxQkcOth9nykNE3cyQlDDaqIcQ/6u0URNl5vkhul4NlB07lm3UT5g78USV X8AJIACfZLyCL295pCYEAd7fwN0IcwQ0tlMfr4cNtCAkInvRO4honjSNSyJWU0kTjWAk 2eMl2j8mnV9nI3WQuO3DDsRUiShTeunAIO/aydN3RvXY6HejjYJ4hyde722hZkX7KqdR YL7g== 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=3G5uTNSNEauG9NFdJGTedDBgKyyzVoZbRah7Cfn8wSU=; b=FoyBCaizBbfZNaz6K9uZVJu9Rs3wlNd09WD1qZzzrz3+DulWNJgGfaA/lPSKxWu3AF dYkiofPOTruIF8kVhBJvekHK6BzqT+IVQsRRdLNML0Fgm4bEEZpgW2VDi7Cyh8E+VUcR ddOBEAG1rC8gToDOW5FdGjreh0L19kHgLe1lT/ClxCNONlD3f6/y2eLui4r82zn8Hw54 xlunrzJvJRY0RwDGUe+pBtBrbzYuVig+0n+2UJQiaAdO5S8hutmMQoX/8wC1CiVuTs+a VjeSx5Roml9QxA6QgfxwJgTj2m8VVIbJadOOAEumhrwo2lv0bLlPlwSI7gYMeyg0tfv0 w8bw== X-Gm-Message-State: AOAM533CrxhUPLRtLHRzq1xFL2JRhdh001LbQQQhHyOCzArlTQGDQSoG xnqUWaebvaFAECpZGLg1CwR7nszCpgI= X-Google-Smtp-Source: ABdhPJz8Fl8Ng2mX4g+gFd4mUmFTnvB30hSxQveB/piTPGc9PCuBS/dR82C2KDxtPmtNU2ETyhG5Ew== X-Received: by 2002:a17:906:b108:: with SMTP id u8mr8201499ejy.249.1598113171508; Sat, 22 Aug 2020 09:19:31 -0700 (PDT) Received: from debian64.daheim (p4fd09171.dip0.t-ipconnect.de. [79.208.145.113]) by smtp.gmail.com with ESMTPSA id be25sm3194400edb.18.2020.08.22.09.19.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 09:19:31 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1k9WEp-0005Fm-D0; Sat, 22 Aug 2020 18:19:27 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/6] dt-bindings: ARM: add bindings for the Meraki MR32 Date: Sat, 22 Aug 2020 18:19:18 +0200 Message-Id: <1ef0a9c29d1e5924eb349aea5f186a900670ed22.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_121946_490979_2ED1FD1F X-CRM114-Status: GOOD ( 14.18 ) 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:641 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 mark the Meraki MR32 and its SoC (BCM53016) as supported in the bindings documentation file. A quick look on Broadcom BCM5301x series umbrella website reveals: "BCM53012 and BCM53016 with dual-core Cortex-A9 CPU at 1 GHz, 256KB L2 cache, 16-bit DDR2 interface, USB3 integrated switch, GPHYs and packet accelerator". As far as I can tell, Broadcom considers the SoC to be a version of the BCM53012. Signed-off-by: Christian Lamparter Acked-by: Scott Branden --- v1 -> v2: - reworked commit message (Scott Branden) --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml index d48313c7ae45..988e0bbb2a62 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml @@ -83,6 +83,8 @@ properties: - brcm,bcm953012er - brcm,bcm953012hr - brcm,bcm953012k + - meraki,mr32 - const: brcm,brcm53012 + - const: brcm,brcm53016 - const: brcm,bcm4708 ... 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"; From patchwork Sat Aug 22 16:19:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 11731239 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 BB10814F6 for ; Sat, 22 Aug 2020 16:21:37 +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 947FF2072D for ; Sat, 22 Aug 2020 16:21:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ij9h3kRO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ttqfGYUq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 947FF2072D 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=TiBonP4KZpnjew27cRpfdhzGYMYv3hKkj6QxJl9lo1Q=; b=Ij9h3kROnGi2AsTlo3svWU7zA 974GVAg6wsyDPjlXkDpegnS2JElyEBxrFGNuUBYvsNdtkdslbtuXWF3E7j1P7gCmgSXbnueyMqeCk MCTHbSAlwhf0MsD9Drz5+BZbvv3C3LcbRhZg5cuYf5CqmDG4qLFSqtbzQvlWxGLhvSVomUPCctqDb OxK40Q5W+gGMN7cPSI2dTkRv1b2/wIKWvJuXE1waBpyyU0Xy48UG+cOSRmjMN+E+o3szphQ1+J5Q7 pO+pbhmKpuRex9fkQOWuswcUkvG78mLUBBgXVto+NxVg/q+wysp0O8AP/8bSybmP5wypke7OrqNsc k6swyXi7A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WFB-000558-Rh; Sat, 22 Aug 2020 16:19:49 +0000 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WF8-00053D-BQ for linux-arm-kernel@lists.infradead.org; Sat, 22 Aug 2020 16:19:47 +0000 Received: by mail-ej1-x641.google.com with SMTP id a26so6215491ejc.2 for ; Sat, 22 Aug 2020 09:19:41 -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=6qZsZzhw9pHQlw7gOYIt0OlgBlqmdbXzHCuOsClM7hs=; b=ttqfGYUqcoJw2QL4ZJoek0C7iDOXqlQEeb4ejg1TgGQRw/jF83hLUTyIIi4BvjlFhj fflj+Cxc2mJ3uRRoYlzvK8NpYHgFgBe/5F8o8gtNcGv0Y3Yfd6re86ebiy9oXEpPEkAZ qAQJlUpzyuVR/oSXiOF4qpwGp58AmR7eAtprJ1UCUPp9Nx3Go8PWOutaTy0NjB8bvMDv 76uyCbKJZS0sNdj7p8IzonarldItN9tj5K88HEGbc962bFwu843/NoXKPARxswi8nwSL gA9ykT4a3Lv+KEacPCoKPcXpJ4ByfIxj6VO4sE7CR9VvPyfGpVDPORJ8lFtk4Si0uCdW mocw== 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=6qZsZzhw9pHQlw7gOYIt0OlgBlqmdbXzHCuOsClM7hs=; b=I9eUezxiGAlBruuhjnm2ErPSGaDthC1sy4ehX5DXXsOlnD0JBJ1AhRX8kx0qC76zf6 3NoDIVJSWLtq7BR9IlGQrC8AytMfy0HqRZbh4RcZzzfLzM9mHyXMIVVGSqjM8kb63Qsi lrs7r9JoQuOX52jDvrWYy4aAOBJ3Q9esZ7WdMiKH6I3cTlsND23oWu962jPu28K17HGo b4nBcIrmNLm36VVki47N21+s2aSeubqW++gILnS8JWQzZ5GtodKDAIkwA1MqIeTrHYZE vLL/KcEu6GN+VpPR1o/vk7WBHRiviUvU1RHd8KSSow/sFobgoaterYh5GEHasCelMC58 btTA== X-Gm-Message-State: AOAM532xiT3AfEPtn2VXtgHWDBH7bPW+46TGphi807vDM2CWgVxZRcyX t8GUlUBBvCtn4Ul+DxjwthR/8tunUGc= X-Google-Smtp-Source: ABdhPJxA4B6qaW+UJoV359UBXFgNb4V538zOIBfOB9IvqajJq7Ku2zsYbYjM+C8E22KOxpgI27GWig== X-Received: by 2002:a17:906:6d81:: with SMTP id h1mr1950594ejt.436.1598113180537; Sat, 22 Aug 2020 09:19:40 -0700 (PDT) Received: from debian64.daheim (p4fd09171.dip0.t-ipconnect.de. [79.208.145.113]) by smtp.gmail.com with ESMTPSA id a11sm3556283ejk.77.2020.08.22.09.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 09:19:40 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1k9WEr-0005Fq-Gh; Sat, 22 Aug 2020 18:19:29 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/6] ARM: dts: BCM5301X: Specify uart2 in the DT Date: Sat, 22 Aug 2020 18:19:20 +0200 Message-Id: <28387d182c75c91d70569690c182b7e947e58af3.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_121946_500667_86861108 X-CRM114-Status: GOOD ( 12.94 ) 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:641 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 utilizes the third "uart2" to connect to a on-board Bluetooth-LE 4.0 BCM20732 chip. Signed-off-by: Christian Lamparter Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm5301x.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 45cd8c7411dd..eb1290fed235 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -392,6 +392,15 @@ usb3_dmp: syscon@18105000 { reg = <0x18105000 0x1000>; }; + uart2: serial@18008000 { + compatible = "ns16550a"; + reg = <0x18008000 0x20>; + clocks = <&iprocslow>; + interrupts = ; + reg-shift = <2>; + status = "disabled"; + }; + i2c0: i2c@18009000 { compatible = "brcm,iproc-i2c"; reg = <0x18009000 0x50>; From patchwork Sat Aug 22 16:19:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 11731237 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 8C48D13A4 for ; Sat, 22 Aug 2020 16:21:36 +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 62A162072D for ; Sat, 22 Aug 2020 16:21:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Sjwi6yOp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="touqmBst" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62A162072D 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=gf2YCFhUTYXBLOqOEGc9AWsWnofxAGfbNFNNysuLA74=; b=Sjwi6yOpEGhBP8SB+Uiybospb 4S3RhclGDIUSFr+8bSauo7TPxwc8vHLHNEhyblkaBj9bIJDD6XprZ+pJf8gW47BcC5nkRFAh08UK+ Y6doiWbzjj8a0+9LtTxJWG+VxRc3wHYFej4IYpw9q6a0CpSjmNghrzoS93s1dixJSTRou+4nhIqUf vD6pxbwfYHAidZ7EkZcOHWGS/Lkdn2vJeSZn/VDXHZqhtOLZCbVgDSBEe7gUvFoaWBgd9gT9s+9HB C8SBGoQEPGHcZFjGuLprsn2sVXeb+zBWLoejeWNsh7NB/BBLsdspfXHKYsNK07E2yYlH/L5Q62/Q+ HspeLK6kQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WFJ-00056u-Hx; Sat, 22 Aug 2020 16:19:57 +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-00053E-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 m22so6173430eje.10 for ; Sat, 22 Aug 2020 09:19:41 -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=tpIgFn6oWXO2s+G/l+Zk0DsvaZoCkmlRgZ1G2xFTS1g=; b=touqmBstjwq6RK08i76vKg+2Ox4BH0LiOb7KBJRDaAR4LcjfcDkWG2gYv2mNKIi4jk wVOxrnYFjqaqiW6lyAHV6DL+Qi2Jaj5lstmZ4fe1HMDEvxbK6CNFFf/GIP0JBGuKYnQT g/guvdHgC69L3BBbaUd3g1Fy4wj75Fxd7nvK2ejQ3yJ/smihYHhmN9G1l70vBVhUWD3E p36kOULNFU7KK7glbvHR6GYz7syKl2bkHSKh7kNwZLikoJh7HdctR+/kxUKGTA41um/r Ao8NRwa6VGIT/E+/WNS0rpfPyaKZxWWQ2AOZ+gUh7kaHMj0Z+6/w7Yb8YYzgtmcNra/E p2ag== 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=tpIgFn6oWXO2s+G/l+Zk0DsvaZoCkmlRgZ1G2xFTS1g=; b=AXRWAyTJXRdhMm+nnJK4jfW+LCZSIImO7wOd/rWmG44fsBtU8jWdKK2wdRyyptqR6w 6xacSq46BmWAg68S1bGwXNiKkCT20WmVt8SnHXiEOz3OSy1+xHcJsFKQ++Cwg5vncaDv qWNI4wTy926EnF2utdWGHJsURu+pQXLStOnPOSCBkwXjKYUj6i1toPRuytH++NbINDAT UbFMDSdaxN+2gJfecvuKaBB9JckYgpYdBkMi2CDPxY5FdfX1vtT6s4xDNLmGSGxWLjMB 3rBHxwKVwkxx1FLGLdSQVh/z2eT0PPopbcG0KTjM0doOs+wXsh68F92rYpTE863nAebh edzA== X-Gm-Message-State: AOAM530U5VHCNGlrz+Lhv25mcXIs2EMEX80DPA81IUqidb9IpDU9wRvx r7dY75egNayygXbvEtoaGWBN7jCi3hk= X-Google-Smtp-Source: ABdhPJwB8hPnkq2Eaz0Q82NAMgJuiv1XXTqf+iBkXKr1zXwtI6HAbselEQ7vFmwy41BIAvcijgibDQ== X-Received: by 2002:a17:906:52da:: with SMTP id w26mr6324943ejn.493.1598113180917; Sat, 22 Aug 2020 09:19:40 -0700 (PDT) Received: from debian64.daheim (p4fd09171.dip0.t-ipconnect.de. [79.208.145.113]) by smtp.gmail.com with ESMTPSA id sd17sm3561580ejb.93.2020.08.22.09.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 09:19:40 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1k9WEs-0005Ft-IY; Sat, 22 Aug 2020 18:19:30 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/6] ARM: dts: BCM5301X: Specify pcie2 in the DT Date: Sat, 22 Aug 2020 18:19:21 +0200 Message-Id: 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_758808_1E8226F5 X-CRM114-Status: GOOD ( 13.04 ) 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 SoC supports three pcie ports. Currently, only pcie0 and pcie1 are enabled. This patch adds the pcie2 port as well. Signed-off-by: Christian Lamparter Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm5301x.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index eb1290fed235..9d9e8fe3f6ae 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -252,6 +252,10 @@ pcie1: pcie@13000 { reg = <0x00013000 0x1000>; }; + pcie2: pcie@14000 { + reg = <0x00014000 0x1000>; + }; + usb2: usb2@21000 { reg = <0x00021000 0x1000>; From patchwork Sat Aug 22 16:19:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 11731241 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 A939514F6 for ; Sat, 22 Aug 2020 16:21:39 +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 82A042072D for ; Sat, 22 Aug 2020 16:21:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DobNRcpd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eDwHw3H9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82A042072D 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=lQdHr3X3s37iMUOP9c3VjpPLzRh9sBXgYA+dleu/LtU=; b=DobNRcpdwUThcmzpRH8RRiIDT cDu+/FCVgreW7kdhOqdkfWWZJoH51tKjqGKdNHORB7+DpDtdpKM4KtpbWSuRhiznizmvf2X9PeQcj fuFzBUyIRZS8oFVfEBe61iXg7yau0y+CVtWFBOt+0whQMOWGNo2zOQVI7Tc9JrXPANb0XhnNqsrn2 Qkam+hIXGoAJicszjPjHKHDasE6SLVB24OeUbR20ESAU1YHSRU+yaj4Vf9t3RELISsrzwxO9cAMny vsKSDfh8GpwZyeptutc9vVJOVluhmx1CdlQ5otLemzM/raBaoDa8UnA9IYjZE1USV8rI1p0FliFJj v7fsHXp8g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WFT-00059D-Gf; Sat, 22 Aug 2020 16:20:07 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WFA-00053F-AF for linux-arm-kernel@lists.infradead.org; Sat, 22 Aug 2020 16:19:49 +0000 Received: by mail-ed1-x544.google.com with SMTP id ba10so4165751edb.3 for ; Sat, 22 Aug 2020 09:19:42 -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=x5X4OBwD+vXVACRClH9jIFejDnE6xgu4HQ/iQIdY2+s=; b=eDwHw3H9GbKovYyDv9Zhjs+sawWrO1Zu400c8+OpEL5oXLI50wczePz8HiSc1WVXBf Jy9rwTnMaYkq7q4NuHEvoqKirBhwcvUvj519ZfbypP3r9DgiiBjPIynRbqIp3GxxDPWj v7bGRYiPQtO5Y6U1tlAwwVNg7SGvbJK/AzCzq1OFnKggSuj4OIPPjxolcZpVLM9QCvMd sauz8N8Sb+wRUvHbkc/qv93/EhvkdQ1tMcqgpI78NSZkq6cXq3folWmg5bHufM64CM1V 9ZCGILEsJ54WyyAzAWZHdnT0NH7W7XZ/GjEJyPfebFoQXR9ZfvL9bGg7b+yd52uE0z+Q mefQ== 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=x5X4OBwD+vXVACRClH9jIFejDnE6xgu4HQ/iQIdY2+s=; b=bbf38HoIp57ZL/4j/OZMJd9qJv9Mfu2KMHR+gRpU/Dk7Dk0qiAmvIF+kjGqD0J5h7K WE1kOa7H6VHB2AzbgJpBOIeYyK4nMKyBTD48JEezTG7HDBakN7cvucCydM2yK3NIPpAY bygDIlRd/bXGFrfdA8RitF3TcypOlRONnwlfYjiWKLVglH6npdaZelRtxHBl3ezyo1Jo r/1eNm0vjOf/U41uimtK6XbGjvbEdIiUUx43EfuGCRfMVuBVPeBi1U27gx7lUCCZLrEU QfNuLisRGkl9SfUkI6pGD1V1B4CU376l/VhUsy3JgTdGfwCtsqo0pVkE6dzohu5922ML iRhg== X-Gm-Message-State: AOAM531NZg8dbucAVyGh4mgtHdX33GvlczQ8DQUFdzvMfM1FcqNQsFjX 8HSDBBohgbmKpfAdhVouwjY97PSEYZQ= X-Google-Smtp-Source: ABdhPJxMFe3MkaeJez77tsjTYh+8vWM/bplDrHH4kOR4F8FX4hlY7ZOejKLmWikJD1kdwvqX5zKsTA== X-Received: by 2002:a05:6402:2:: with SMTP id d2mr3083909edu.221.1598113181807; Sat, 22 Aug 2020 09:19:41 -0700 (PDT) Received: from debian64.daheim (p4fd09171.dip0.t-ipconnect.de. [79.208.145.113]) by smtp.gmail.com with ESMTPSA id v23sm388971ejc.63.2020.08.22.09.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 09:19:40 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1k9WEt-0005Fw-KD; Sat, 22 Aug 2020 18:19:31 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 5/6] MAINTAINERS: extend BCM5301X ARM ARCHITECTURE files Date: Sat, 22 Aug 2020 18:19:22 +0200 Message-Id: <4c6fd934ba066eba4387623a9070631e8915c785.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_121948_366551_6D7856DC X-CRM114-Status: GOOD ( 13.60 ) 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:544 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 This patch extends the existing entry for the "BROADCOM BCM5301X ARM ARCHITECTURE" to include files belonging to the BCM5301X. Signed-off-by: Christian Lamparter Acked-by: Scott Branden --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index deaafb617361..eb9b551c5dd8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3433,7 +3433,7 @@ M: bcm-kernel-feedback-list@broadcom.com L: linux-arm-kernel@lists.infradead.org S: Maintained F: arch/arm/boot/dts/bcm470* -F: arch/arm/boot/dts/bcm5301x*.dtsi +F: arch/arm/boot/dts/bcm5301* F: arch/arm/boot/dts/bcm953012* F: arch/arm/mach-bcm/bcm_5301x.c From patchwork Sat Aug 22 16:19:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 11731233 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 7AC1614F6 for ; Sat, 22 Aug 2020 16:20:24 +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 46CE62072D for ; Sat, 22 Aug 2020 16:20:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YBSvNn1B"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aC+V0gdc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46CE62072D 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=IZltdf4LCL4KKFDJvlp5rhEv8i3tGFJyCEmOsQ+ax/4=; b=YBSvNn1BdNXX30Cf5LJuc7r1F 90UFZJycdrEXUigBMUHn2vK7bJpNwcdY0JIahHdCc997GfD7Qnl5Tn2FKRpx+UrdMCOHNp5PTuVLO 8LuYef2vol5R37zXMAXjGbRMt/dqkK9r4xgYp0akDGCzfAZv3KWmiVcKcjAPrExClH/g1LTi4HX3V dL8Nqyy9pTMbvGpmoAG5hyqYmTDsOHUKF7JeMvyn1F0iB3RUVH+hbM67f5qDJOpjKF1XzMWzliFxO 7NKttfr881Pm1n0P3B76AREO/Yu7qzYuNUQzJJQq01U4+Jgo1HkxNw4em0HqRIUfdqijlp/RV/Yct YwhGweCTA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9WFY-0005Ak-5v; Sat, 22 Aug 2020 16:20:13 +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-00053G-I4 for linux-arm-kernel@lists.infradead.org; Sat, 22 Aug 2020 16:19:49 +0000 Received: by mail-ej1-x643.google.com with SMTP id bo3so6167056ejb.11 for ; Sat, 22 Aug 2020 09:19:43 -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=clutqyMrofPlWjoqQurqo0TfHJmwsxKb7qlkHAXq324=; b=aC+V0gdc4Hi5oknU1agUTcsE3FZsIQYYt57OhqVlQCESyqZj0zhIsUI+oppbufbkpY SHsAewK/ofZCQ8AEFlRSiL5jXxbSQFE2JxOVqUgMZHxnUjaCe+pYbB1idNpGbBaVGhEo ElMNA8PP2Zm0a4IGC4ZCtDXZn0V/7/9U+/QMxfH2QCGeXgYOS5HlCQw2TaYAWRb3+JI/ 1N+qA8MZB2HLghaEfBAB6pspbC3bYocXiTcUoQgj+xT6Ab4Ts/n8/HFNIf8iTyvesUto /CTiIhgQn/ekWQNH7Ypau5R/obVGLj7DyVNa37Iqjmc+NmGU8cq5avkpZiAHFtLfdXvN skIw== 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=clutqyMrofPlWjoqQurqo0TfHJmwsxKb7qlkHAXq324=; b=NUpvIGkpfwU/6YnKenZkAhVjhC9kculLqw+UGpcWMGpnrxcnitC2iSzssFDzNQyY+7 yZ5BPpN68LTcI8QnJ+U7+qNRHhyL7vAgOpUfe+YrE9GNmGynZvq7vME0fOw92uW3p6zB u9Pw9stL9Em+QFZpJpUKYg8eWbBibIcjgbb5mrV/I9pi1YDClRdUIeXkZPotOBmTCSKl FJv6wZq8kTvIxDaCRz5BlGhtkN9eSxmKHGfYbqpPpO5Z+b1P+rJ/O2tYuAa62mzZ3JZ3 dDeXmifiKhdvgJ7U00n8iclI03t1X1DUm2Rj7s/yPdqWXqEV9P1vDZigWzaohHnt+pPm 1NWw== X-Gm-Message-State: AOAM531LptqrOl2Xc5M6m2m3VEAE8e0DE4YEUcYzi4gzEMDrIy91otRh YIy4RY2OIbLpBz+ba9HfaMSbaMkqnWo= X-Google-Smtp-Source: ABdhPJztWSq7XXzJajcjKaUTw0g+h0RXtfO8T5WJuIqqrNn1TYSgc/WR+bWq/aSLjxmxqF4uVGr/YQ== X-Received: by 2002:a17:906:b248:: with SMTP id ce8mr7659610ejb.85.1598113182620; Sat, 22 Aug 2020 09:19:42 -0700 (PDT) Received: from debian64.daheim (p4fd09171.dip0.t-ipconnect.de. [79.208.145.113]) by smtp.gmail.com with ESMTPSA id j1sm3255811edq.58.2020.08.22.09.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 09:19:41 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1k9WEw-0005Fy-L0; Sat, 22 Aug 2020 18:19:34 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 6/6] ARM: BCM5301X: Add DT for Meraki MR32 Date: Sat, 22 Aug 2020 18:19:23 +0200 Message-Id: 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_772129_CBADD02F X-CRM114-Status: GOOD ( 23.90 ) 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 , Ray Jui , bcm-kernel-feedback-list@broadcom.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org add support for the Cisco Meraki MR32. This is a dual-band enterprise class 802.11ac access point. The unit was donated by Chris Blake. Thank you! SoC: Broadcom BCM53016A1 (1 GHz, 2 cores) RAM: 128 MiB NAND: 128 MiB Spansion S34ML01G2 (~114 MiB useable) ETH: 1GBit Ethernet Port - PoE WIFI1: Broadcom BCM43520 an+ac (2x2:2 - id: 0x4352) WIFI2: Broadcom BCM43520 bgn (2x2:2 - id: 0x4352) WIFI3: Broadcom BCM43428 abgn (1x1:1 - id: 43428) BLE: Broadcom BCM20732 (ttyS1) LEDS: 1 x Programmable RGB Status LED (driven by a PWM) 1 x White LED (GPIO) 1 x Orange LED Fault Indicator (GPIO) 2 x LAN Activity / Speed LEDs (On the RJ45 Port) BUTTON: one Reset button MISC: AT24C64 8KiB EEPROM (i2c - stores Ethernet MAC) ina219 hardware monitor (i2c) Kensington Lock SERIAL: WARNING: The serial port needs a TTL/RS-232 3V3 level converter! The Serial setting is 115200-8-N-1. The board has a populated right angle 1x4 0.1" pinheader. The pinout is: VCC, RX, TX, GND. Odd stuff: - uart0 clock frequency is 62.5 MHz. - The LEDs are labeled as SYS-LED1 through SYS-LED3 because of the silkscreen on the PCB. - the original u-boot has been compiled with most functions and commands disabled. The u-boot env isn't setup properly either and as a result, the bcm47xxpart probing is not working. Hence, the nand partitions are specified through a "fixed-partition" binding. - The "WICED SMART(TM)" Bluetooth LE 4.0 BCM20732 chip is connected to uart2 of the SoC. The BCM20732 does not provide a HCI. So the linux' bluetooth stack is useless. The mock-up node with the compatible binding and enable-gpios property is provided solely as documentation. Signed-off-by: Christian Lamparter --- v1 -> v2: - fixed order of boards in Makefile. (Scott Branden) - added device_type to memory node. (Florian Fainelli) - added hw i2c, although doesn't work. (Florian Fainelli) - renamed gpio-keys to just keys. - included pinmux configurations for i2c and pwm. --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 219 +++++++++++++++++++++ 2 files changed, 220 insertions(+) create mode 100644 arch/arm/boot/dts/bcm53016-meraki-mr32.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 4572db3fa5ae..d254ca2a942d 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -127,6 +127,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm47094-luxul-xwr-3150-v1.dtb \ bcm47094-netgear-r8500.dtb \ bcm47094-phicomm-k3.dtb \ + bcm53016-meraki-mr32.dtb \ bcm94708.dtb \ bcm94709.dtb \ bcm953012er.dtb \ diff --git a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts new file mode 100644 index 000000000000..7306df7ff704 --- /dev/null +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts @@ -0,0 +1,219 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for Meraki MR32 / Codename: Espresso + * + * Copyright (C) 2018-2020 Christian Lamparter + */ + +/dts-v1/; + +#include "bcm4708.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" +#include + +/ { + compatible = "meraki,mr32", "brcm,brcm53016", "brcm,bcm4708"; + model = "Meraki MR32"; + + chosen { + bootargs = " console=ttyS0,115200n8 earlycon"; + }; + + memory { + reg = <0x00000000 0x08000000>; + device_type = "memory"; + }; + + aliases { + serial1 = &uart2; + }; + + leds { + compatible = "gpio-leds"; + + sysled3 { + function = LED_FUNCTION_FAULT; + color = ; + gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; + panic-indicator; + }; + sysled2 { + function = LED_FUNCTION_INDICATOR; + color = ; + gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>; + }; + }; + + keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>; + }; + }; + + pwm-leds { + compatible = "pwm-leds"; + + red { + /* SYS-LED 1 - Tricolor */ + function = LED_FUNCTION_INDICATOR; + color = ; + pwms = <&pwm 0 50000 0>; + max-brightness = <255>; + }; + + green { + /* SYS-LED 1 - Tricolor */ + function = LED_FUNCTION_POWER; + color = ; + pwms = <&pwm 1 50000 0>; + max-brightness = <255>; + }; + + blue { + /* SYS-LED 1 - Tricolor */ + function = LED_FUNCTION_INDICATOR; + color = ; + pwms = <&pwm 2 50000 0>; + max-brightness = <255>; + }; + }; + + i2c { + /* + * The platform provided I2C does not budge. + * This is a replacement until I can figure + * out what are the missing bits... + */ + + compatible = "i2c-gpio"; + sda-gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>; + scl-gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>; + i2c-gpio,delay-us = <10>; /* close to 100 kHz */ + #address-cells = <1>; + #size-cells = <0>; + + current_sense: ina219@45 { + compatible = "ti,ina219"; + reg = <0x45>; + shunt-resistor = <60000>; /* = 60 mOhms */ + }; + + eeprom: eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + pagesize = <32>; + read-only; + }; + }; +}; + +&i2c0 { + /* status = "okay"; - can be enabled once it works. */ + + pinctrl-names = "default"; + pinctrl-0 = <&pinmux_i2c>; + + clock-frequency = <100000>; + + current_sense: ina219@45 { + compatible = "ti,ina219"; + reg = <0x45>; + shunt-resistor = <60000>; /* = 60 mOhms */ + }; + + eeprom: eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + pagesize = <32>; + read-only; + }; +}; + +&uart0 { + clock-frequency = <62500000>; + /delete-property/ clocks; +}; + +&uart1 { + status = "disabled"; +}; + +&uart2 { + status = "okay"; + /* + * bluetooth-le { + * compatible = "brcm,bcm20732"; + * enable-gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>; + *}; + */ +}; + +&gmac1 { + status = "disabled"; +}; +&gmac2 { + status = "disabled"; +}; +&gmac3 { + status = "disabled"; +}; + +&pwm { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinmux_pwm>; +}; + +&nandcs { + nand-ecc-algo = "hw"; + + partitions { + /* + * The partition autodetection does not work for this device. + * It will only detect the "nvram" partition with an incorrect size. + * [ 1.721667] 1 bcm47xxpart partitions found on MTD device brcmnand.0 + * [ 1.727962] Creating 1 MTD partitions on "brcmnand.0": + * [ 1.733117] 0x000000400000-0x000008000000 : "nvram" + */ + + compatible = "fixed-partitions"; + #address-cells = <0x1>; + #size-cells = <0x1>; + + partition0@0 { + label = "u-boot"; + reg = <0x0 0x100000>; + read-only; + }; + + partition1@100000 { + label = "bootkernel1"; + reg = <0x100000 0x300000>; + read-only; + }; + + partition2@400000 { + label = "nvram"; + reg = <0x400000 0x100000>; + read-only; + }; + + partition3@500000 { + label = "bootkernel2"; + reg = <0x500000 0x300000>; + read-only; + }; + + partition4@800000 { + label = "ubi"; + reg = <0x800000 0x7780000>; + }; + }; +};