From patchwork Sat Sep 5 22:50:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 1358236 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=OgVu84l+; 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=GBSTgiqD; 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 4BkVDv4kPkz9sTd for ; Sun, 6 Sep 2020 08:52:47 +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=GevuJ91TqG3Zwrs7lhPm3LotNL6RCg2+avHFllL0j9U=; b=OgVu84l+V1CdIE3xKnwPO3pXr i6YVEXI5ZtLdmIjZWs/GTexK/HzFr/uNaIlsitb52NjU00NOkP4KoEeDrAV9NdK+S/oHb8txZ7I++ rWZJTYEDajLPv5vZZmAVt6NyK8DVslQPtuOfzV4hR8BZ3PFbZ3MUA1/8FNOHYCE4sPEHHtkk6xfLH cW/7ywppxQlN9sXR8UuS0e4oX+mwj6i4mLBpSQDNO43eRp48ucLMTi5LYcIA5lEhD/iOAZ3my4uKB ZR31HamxrqTqSviXXBoDiAq13XttB+yHU55C7AgUS/Vk4TNE+wxx6aeAE4CG3kplK4w78RKkU7AAN TNlrJrKzw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEh1I-0000uR-TD; Sat, 05 Sep 2020 22:50:52 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEh1C-0000rZ-KE for openwrt-devel@lists.openwrt.org; Sat, 05 Sep 2020 22:50:48 +0000 Received: by mail-ed1-x542.google.com with SMTP id l63so9243520edl.9 for ; Sat, 05 Sep 2020 15:50:46 -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=RffDWVbJPTLVEZNXc4WKdtd9m/XU7tOxKjkS0crGyT8=; b=GBSTgiqDFVs6k2olQ2bY6RlCtQTSG4NAMm9CdtGygU0qghi6NnRL2tsLIRKHCItHiT S/rxfNUyWHAWkdripF3cFlDSwgzgSZAGEF3YanHJKX8qUbfPf/PzHeicmTu7Qh8UfL5i kKICW8/IlhYNfIBt+T1VX7DDTXWXCnyIwmKtKige+HLIKe7Ar5BqRx9vWQHfyb0UaAZ2 4ETNSPI36uabASSS8rn81WQ9UBP1zXm4q3Cjh7YIRw0xDZZwUMSQ8p+qVXP1s1/TpneK eGhE7MqZIZRSeREkqxuuA1rrB+Fj/7do2Z6M5nq1S2Ek+7kjj8ZU5n5H3D22SUSKcelv beeg== 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=RffDWVbJPTLVEZNXc4WKdtd9m/XU7tOxKjkS0crGyT8=; b=LdKb00gq5SX79AY5OBL1f2iWXiXoGrp/Q8CoSt62yUltwHdwpgfMWDRduv5RUrb+5y 35NoRliQQSg91o4VdB4XYW1J6eVlZmEwJwUl2zpW+hnwBCvVuHALz/ZDFjbvqFS8XM0R w4qNVggk5+L3RJOYTgbhD1MocYnP0N4i9JXjYa+rM4ixm83VHXE7J3i8mpGcvN7TTM86 2lPPxODXH3jTRbW52WlbkwLfp7MlE10ZxWjGO4HEsunqDoDXSBV1pFcM1RKPvyl8DNpy 6vgtr5gp4ULsX2o36GC5gpF2Px901epTt6JzGi+NociPDGnxIHrR/8dai3Ji6mNUvA5O nZGg== X-Gm-Message-State: AOAM533glmffNdj/It8a9LJZelXnc0QBK28v6VIAhtzaCg1KUevwNkav zC1+0kHRzKkG4DXQxaq3uoRz9hAyG/M= X-Google-Smtp-Source: ABdhPJyPicb+BJ1ZB3X0v+8HZ5biSscJfOxeWRZjMU2+EG/vJvCfY3U5VoNZ7v7Bc8Fab9QqRPHFWQ== X-Received: by 2002:aa7:c38a:: with SMTP id k10mr15548080edq.325.1599346245473; Sat, 05 Sep 2020 15:50:45 -0700 (PDT) Received: from debian64.daheim (pd9e292e7.dip0.t-ipconnect.de. [217.226.146.231]) by smtp.gmail.com with ESMTPSA id n14sm10162973edb.52.2020.09.05.15.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Sep 2020 15:50:44 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1kEh15-001AQU-SB; Sun, 06 Sep 2020 00:50:39 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Subject: [PATCH v2 4/7] bcm53xx: backport uart2 and pcie2 device-nodes Date: Sun, 6 Sep 2020 00:50:29 +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-20200905_185046_722726_A1C00746 X-CRM114-Status: GOOD ( 16.15 ) 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:542 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_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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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. Signed-off-by: Christian Lamparter --- ...dts-BCM5301X-Specify-uart2-in-the-DT.patch | 37 +++++++++++++++++++ ...dts-BCM5301X-Specify-pcie2-in-the-DT.patch | 33 +++++++++++++++++ 2 files changed, 70 insertions(+) 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..1fec981146 --- /dev/null +++ b/target/linux/bcm53xx/patches-5.4/034-v5.10-ARM-dts-BCM5301X-Specify-uart2-in-the-DT.patch @@ -0,0 +1,37 @@ +From 95c1f0076303922ca401851b6605dc17eb0eb732 Mon Sep 17 00:00:00 2001 +From: Christian Lamparter +Date: Wed, 6 Jun 2018 21:57:15 +0200 +Subject: [PATCH 1/4] 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 +--- + 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>; +-- +2.28.0 + 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..d4ec31c0ae --- /dev/null +++ b/target/linux/bcm53xx/patches-5.4/035-v5.10-ARM-dts-BCM5301X-Specify-pcie2-in-the-DT.patch @@ -0,0 +1,33 @@ +From 5abb709b027a6234c135843764bad383be264162 Mon Sep 17 00:00:00 2001 +From: Christian Lamparter +Date: Sun, 10 Jun 2018 17:17:53 +0200 +Subject: [PATCH 2/4] 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 +--- + 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>; + +-- +2.28.0 +