From patchwork Tue Oct 24 07:26:05 2023 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: 13433985 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 0B243C07545 for ; Tue, 24 Oct 2023 07:26:48 +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: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:In-Reply-To:References: List-Owner; bh=IGfo01R1sJWb1eleuEFeoe+C+JSIhpCm6ASRBh/tPSo=; b=cS3CYfa5pVIIY/ 2B73HH8DeiwXMs8kgWfRXPgfffazaYcQGXX5UudXb5o039cjMz5Kow1FYX5k1O+F2kQkwNKmrHZx+ dWNd6pCoSH6FOok0gRmnMNeTzhBjP8kjuY0NeAU09AlKlSs0Wd0xvafCdyq62/Ju8mHVzD+7QTNFG 07P8znmKZUDgsT0S6IC4ta2AGKXmi6q7tkIC8ZO8QlZ8nghhnEgvDp2H3HheOJcPwiPDO2tdkXZwt kuRQrSs/b1XDSxJRjml0ZDvhIIQY+rh+IUjl1mYAq6YhZM3wN72V+d11XlV6UC1ZtpKtJlV2RGIDf jb2OLwZTRUOVgWpwNbhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvBnw-0094oW-26; Tue, 24 Oct 2023 07:26:20 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvBnu-0094ng-1R for linux-arm-kernel@lists.infradead.org; Tue, 24 Oct 2023 07:26:19 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-507a3b8b113so6205202e87.0 for ; Tue, 24 Oct 2023 00:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698132374; x=1698737174; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SajmAecm5mKN7RvhlaA9mXLu4gwidk8OPT5kHbgM5i0=; b=IgJFSWXHUDuTF1e26plhACJcXgpAunV/5sTVneMprAfIn5N89zCBoCQ91Zy6/B1Xqw 1mhcs0UEWm7oC+43kx0KiAZio+pl6MpDN9sPHO9sRekkpLuU2b2gELzmmYoLvswN1+Wm tcs9hgyfyR6p//mT7+OlUjFWDoLbO9KOgmYCy5JbkIfx/Z6Gxhz3a8TSh2fWy0aKIevV M50mCldY4j/C3vTEuWd06KXDozUWvIh2CbOlHSjcaqTvrKzfmDVOf5oYYFl6XrX8EQKo APIWflf2cPmqAoVOxkF/LMkrpmPhrvG91ICqTmCNJF6rsxAuVg1wOBte+eqvCJOl1ntu OXKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698132374; x=1698737174; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SajmAecm5mKN7RvhlaA9mXLu4gwidk8OPT5kHbgM5i0=; b=VM49jLGnxEKX7oln+0MQXMcWXa3hkUcqOALIZWBJdU8LZipK1ZgUlz9WCeuS00+dEj fNNJiVBnl7oFbc+Ildfnw1sbbqc7WY+CLoOFepaBTXBbyvHgkFw1yTBA7BldW+EFGqdt EvFIF+SJyWX+Z9YaYmItxF5Vb7yuKDHs3X1CM5VUIwd4Wa2gFvDY0BS67aTxA8CiT6+2 9gkNoNIHsCfmflAsjCmKTV0W4iYl4gCGBXT1Vm+tLMetnb7MxqI05P0AaGVoUi3yB6zR qHtAtajBXTnDD5+sdzSk43mILG6c2uRl4yzyHU9F4Oka4tKHUVPVMeGbmXNXKbQJcV/s ZtjQ== X-Gm-Message-State: AOJu0YySQwXHa6DozC9bgRA/wY2wcH9Rvu0aLZ1cVrvNkSRhtBRrTPly Khmn0QwKvCuzRpY3ra5HEN0= X-Google-Smtp-Source: AGHT+IEdz3/KwH4BbMVkvNMeixr/iYC5VfLJlHE9SdwJNw+r8DaPrabm24NtRwxgkaUHKPS1pXsNQw== X-Received: by 2002:a05:6512:3b8e:b0:502:ffdf:b098 with SMTP id g14-20020a0565123b8e00b00502ffdfb098mr10171898lfv.6.1698132373930; Tue, 24 Oct 2023 00:26:13 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id t22-20020a056512209600b0050097974ee0sm2028120lfr.224.2023.10.24.00.26.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 00:26:13 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Hauke Mehrtens , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Rani Hod Subject: [PATCH] ARM: dts: BCM5301X: Set switch ports for Linksys EA9200 Date: Tue, 24 Oct 2023 09:26:05 +0200 Message-Id: <20231024072605.32517-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_002618_485794_1FC4C0F1 X-CRM114-Status: GOOD ( 11.32 ) 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 This patch was developed as OpenWrt downstream change and was recently confirmed to work as expected. Tested-by: Rani Hod Signed-off-by: Rafał Miłecki --- .../dts/broadcom/bcm4709-linksys-ea9200.dts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts b/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts index 99253fd7adb3..2ba5adf2b7e7 100644 --- a/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts +++ b/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts @@ -47,3 +47,41 @@ button-restart { &usb3_phy { status = "okay"; }; + +&srab { + status = "okay"; + + ports { + port@0 { + label = "lan1"; + }; + + port@1 { + label = "lan2"; + }; + + port@2 { + label = "lan3"; + }; + + port@3 { + label = "lan4"; + }; + + port@4 { + label = "wan"; + }; + + port@5 { + status = "disabled"; + }; + + port@7 { + status = "disabled"; + }; + + port@8 { + label = "cpu"; + }; + }; +};