From patchwork Wed Mar 30 11:33:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12795710 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 8B42CC433F5 for ; Wed, 30 Mar 2022 11:35:18 +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=mzdurvmiC2PPv2zi8C0t+lK28Cc5GV8dOoLahnMhTaE=; b=wzxo8zzgE6n/AA HQghqS/UprQwo/oFcqPhwIBWFkrPIY7OPT6iiFS8SmicHjY5sAruPuWS6zMWRundEC/kiASVwYN0E ZFABtdKSNB+pAcjsLYwKnNxFoM6CEQbcn35rDmfE40qez0dw8VJ8HR0DNTEa80jDJ1LpF1b8lP94O yPRKyK07dJ364q9EquY6bZQSGiaGUBEfx8T3IDmWzwjpX+uDAedEXmmi5bn4ay1gKrSSDpSrKQjlf jeQNgaHI1+mVV6gaNvcDvmrtIjOx6hIhT9l30x5U18Zi+BG4SAgSyC8jfRfE6Fl8d7zB1cZjG+ums BIMyO/mDlaiwen480Sqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZWaF-00FMod-Rt; Wed, 30 Mar 2022 11:33:51 +0000 Received: from ssl.serverraum.org ([2a01:4f8:151:8464::1:2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZWaB-00FMnM-R2 for linux-arm-kernel@lists.infradead.org; Wed, 30 Mar 2022 11:33:49 +0000 Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 774BE2223B; Wed, 30 Mar 2022 13:33:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648640016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VsecLKMJ23DcPDvyv9r6OEmkMjx2OTnETouEGlm5Tm0=; b=Uy9QprrSkIP0z3KiMZZ4KQPu+srXJ91o+O/FJTOKyTD2KyutF3fNV6TumTaKNwWHH+2wio /IARoslpaB4rpFPv12Cms944VBkRtZeWDk27ayCOVPeYTwmdREBJM5luLKRw+WPr/HBVmV gY2YgJjESCedin5Mz3DlsIynqPrTRUA= From: Michael Walle To: Shawn Guo , Li Yang , Rob Herring , Krzysztof Kozlowski Cc: Vladimir Oltean , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Walle Subject: [PATCH] arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default Date: Wed, 30 Mar 2022 13:33:29 +0200 Message-Id: <20220330113329.3402438-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220330_043348_061928_862D5A3C X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. 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 Enable the ocelot-8021q tagger by default which supports ethernet flow control. The new default is set in the common board dtsi. The actual switch node is enabled on a per board variant basis. Because of this we set the new tagger default for both internal ports and a particular variant is free to choose among the two port. Signed-off-by: Michael Walle Reviewed-by: Vladimir Oltean --- .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts index 7ef47b80e343..68d11a9c67f3 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts @@ -328,6 +328,14 @@ &lpuart1 { status = "okay"; }; +&mscc_felix_port4 { + dsa-tag-protocol = "ocelot-8021q"; +}; + +&mscc_felix_port5 { + dsa-tag-protocol = "ocelot-8021q"; +}; + &usb0 { status = "okay"; };