From patchwork Sat Sep 19 14:40:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 1367585 X-Patchwork-Delegate: chunkeey@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Kk6K/nBn; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=kS2UtWxY; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BtthK65mtz9sT6 for ; Sun, 20 Sep 2020 00:42:09 +1000 (AEST) 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=DDUY9KhfD85xXz12whfGlL33KilhoK2Nu6r/tBu/Qxs=; b=Kk6K/nBnlTnRrCreLWAR+ZPTk to9iqsbbeG4RWJFcWcCRe3nh/5xb2Q8AdOU7Wj2pgWviURrWwLF5bwcjX/tdJQTj3J5dtEQtGIiNl xwz1+n2cfhuAVkBpKew+lGATPpwve8JvlUfE8aHHii9xRKyliqiCWeS7vu0tdpx9Is+ZcH9Z+PV6/ 3f79zi63k/QhqUCvzENERr/fiEhQ+1fs3FGLHmx43McmqSaNnCGeIsqMETCmvdZR7rIPnlCks6VjX lKRXSbSEhCFpcwDInKueg9tA2XHeUsdH+231NxDN9e9jSFLR9OGTrVYKfWjke4F403N+4WV5xwS32 0dntF/XsA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJe2O-0008NJ-P3; Sat, 19 Sep 2020 14:40:28 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJe2E-0008IX-DC for openwrt-devel@lists.openwrt.org; Sat, 19 Sep 2020 14:40:21 +0000 Received: by mail-ej1-x62d.google.com with SMTP id nw23so11879714ejb.4 for ; Sat, 19 Sep 2020 07:40:18 -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=c2U/j1WsNAwzhJ5TqxzI051dgxnqs4qmGx3kJq+HBco=; b=kS2UtWxY9a+w8XecTQCMLUAwS0t6JKcKTqi9FxhedfebDRF6+CYy5E0/Pj/rH1+vCg eQqabjHuGvp+z+jOBsteSbXtWNDLtcCX5HWL5yQdcTmTYaAGcILlR3va6BA02pAdxo6b PRpVw8eVURLzVwuWPvsh31htH0pULWMYs2oANgxPklwmbll0Tjpz1G9xbGlzUNzcomN7 mGTYSJkshnfqHkkpw+ndqxQF0tG4HeM7miyeo7zV1yPLvWeCTtabqoHMPcuYaJieT+RW Sd3qBmeiPqYJVB1jYIVQF7JB+Yq3OXJuKCCgUXgcRBA0O1fah1nkX+7IB5XdtWwSJgZ+ Fdvg== 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=c2U/j1WsNAwzhJ5TqxzI051dgxnqs4qmGx3kJq+HBco=; b=FJfoVScefKj2l3Kd2RIwt/vU3Iw+1k9qSYs9/QSwRZnUKA935/Wj8AGR/EI6V4IvnJ f6Nkn/rz/WwARPe3oOPA4Xa0tmWRdMq/IzxZJYEJ+OPRvSJinCuV8/htTymFfaoRi1Vq jAkaTkhu71qbpCPcqeZlqYgFXCMfwMek9McYpB5NhfVF+CMFhqf6i3YofsWVPaWS4QmW qLJWIts5e9mYaZjXA0NRIhHUrdFTMvNRNDyfGkTchDovDc3cAoY3xglnDZhjeZ8sGulb n66nqJlgUcQMp4FENiD0K/DoiEIQwXpdMojj35LJ+idp6uyFET2OIpW1JuxexVmFDkwm tOJw== X-Gm-Message-State: AOAM5320lXlRWG6/lH+ieeGqdAOLdorNWLqyLISiGaf5dU7rup3rZyrB jLRMWoxTPuT3tbfKn19Zrj70qNHXoVRmQA== X-Google-Smtp-Source: ABdhPJwlp2ASt7XzFQIksNWOxLi2wPBhC3+c74U7fuGO6NZd8b8pW8ydum0y0Kvxb7WWTEil4bAYkg== X-Received: by 2002:a17:906:d787:: with SMTP id pj7mr39476821ejb.340.1600526416788; Sat, 19 Sep 2020 07:40:16 -0700 (PDT) Received: from debian64.daheim (p4fd09180.dip0.t-ipconnect.de. [79.208.145.128]) by smtp.gmail.com with ESMTPSA id q16sm4442661ejo.49.2020.09.19.07.40.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Sep 2020 07:40:14 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1kJe27-000fSk-UI; Sat, 19 Sep 2020 16:40:11 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Subject: [PATCH v4 4/8] bcm53xx: backport uart2 and pcie2 device-nodes Date: Sat, 19 Sep 2020 16:40:00 +0200 Message-Id: <6738ae97125b563bc7f6655f9cf69f5ff1ac6e98.1600525798.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <3f47a2946d6fb8cd15356f03384cab25da52aec1.1600525798.git.chunkeey@gmail.com> References: <6310f880aa209003fee9ef04add80176e249997a.1600525798.git.chunkeey@gmail.com> <8d4ccd9d499c7f080e401ee3828bdfb0e5733edf.1600525798.git.chunkeey@gmail.com> <3f47a2946d6fb8cd15356f03384cab25da52aec1.1600525798.git.chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200919_104018_468426_B9F56791 X-CRM114-Status: GOOD ( 18.37 ) 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:62d listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: rafal@milecki.pl, hauke@hauke-m.de, f.fainelli@gmail.com, chrisrblake93@gmail.com, Adrian Schmutzler Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org These have made their way into -next. This patch also includes the portion of the bcm53xx kernel patch refreshes as the hunks in 302-ARM-dts-BCM5301X-Update-Northstar-pinctrl-binding.patch moved slightly due to the added nodes. Signed-off-by: Christian Lamparter --- v2 -> v3 - backport patches from devicetree/next - make target/linux/refresh --- ...dts-BCM5301X-Specify-uart2-in-the-DT.patch | 30 +++++++++++++++++++ ...dts-BCM5301X-Specify-pcie2-in-the-DT.patch | 26 ++++++++++++++++ ...01X-Update-Northstar-pinctrl-binding.patch | 2 +- 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 target/linux/bcm53xx/patches-5.4/034-v5.10-ARM-dts-BCM5301X-Specify-uart2-in-the-DT.patch create mode 100644 target/linux/bcm53xx/patches-5.4/035-v5.10-ARM-dts-BCM5301X-Specify-pcie2-in-the-DT.patch diff --git a/target/linux/bcm53xx/patches-5.4/034-v5.10-ARM-dts-BCM5301X-Specify-uart2-in-the-DT.patch b/target/linux/bcm53xx/patches-5.4/034-v5.10-ARM-dts-BCM5301X-Specify-uart2-in-the-DT.patch new file mode 100644 index 0000000000..8cee6745ee --- /dev/null +++ b/target/linux/bcm53xx/patches-5.4/034-v5.10-ARM-dts-BCM5301X-Specify-uart2-in-the-DT.patch @@ -0,0 +1,30 @@ +From 5e396bb05b89e23e98e6d75749b77502e68210a4 Mon Sep 17 00:00:00 2001 +From: Christian Lamparter +Date: Sat, 22 Aug 2020 18:19:20 +0200 +Subject: [PATCH] ARM: dts: BCM5301X: Specify uart2 in the DT + +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 +Signed-off-by: Florian Fainelli + +--- a/arch/arm/boot/dts/bcm5301x.dtsi ++++ b/arch/arm/boot/dts/bcm5301x.dtsi +@@ -392,6 +392,15 @@ + 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>; diff --git a/target/linux/bcm53xx/patches-5.4/035-v5.10-ARM-dts-BCM5301X-Specify-pcie2-in-the-DT.patch b/target/linux/bcm53xx/patches-5.4/035-v5.10-ARM-dts-BCM5301X-Specify-pcie2-in-the-DT.patch new file mode 100644 index 0000000000..d3e2fbcc9e --- /dev/null +++ b/target/linux/bcm53xx/patches-5.4/035-v5.10-ARM-dts-BCM5301X-Specify-pcie2-in-the-DT.patch @@ -0,0 +1,26 @@ +From c4cd6fcae46fd14aed8665b7cf66d0954765a873 Mon Sep 17 00:00:00 2001 +From: Christian Lamparter +Date: Sat, 22 Aug 2020 18:19:21 +0200 +Subject: [PATCH] ARM: dts: BCM5301X: Specify pcie2 in the DT + +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 +Signed-off-by: Florian Fainelli + +--- a/arch/arm/boot/dts/bcm5301x.dtsi ++++ b/arch/arm/boot/dts/bcm5301x.dtsi +@@ -252,6 +252,10 @@ + reg = <0x00013000 0x1000>; + }; + ++ pcie2: pcie@14000 { ++ reg = <0x00014000 0x1000>; ++ }; ++ + usb2: usb2@21000 { + reg = <0x00021000 0x1000>; + diff --git a/target/linux/bcm53xx/patches-5.4/302-ARM-dts-BCM5301X-Update-Northstar-pinctrl-binding.patch b/target/linux/bcm53xx/patches-5.4/302-ARM-dts-BCM5301X-Update-Northstar-pinctrl-binding.patch index 77bc68c8ce..1d71647d60 100644 --- a/target/linux/bcm53xx/patches-5.4/302-ARM-dts-BCM5301X-Update-Northstar-pinctrl-binding.patch +++ b/target/linux/bcm53xx/patches-5.4/302-ARM-dts-BCM5301X-Update-Northstar-pinctrl-binding.patch @@ -9,7 +9,7 @@ Signed-off-by: Rafał Miłecki --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi -@@ -401,16 +401,12 @@ +@@ -422,16 +422,12 @@ #size-cells = <1>; cru@100 {