From patchwork Mon May 2 22:41:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12834840 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 6B6D8C433EF for ; Mon, 2 May 2022 22:42:59 +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=yndIoP13NZi44hke44PPj8VbWAegcYFOmY5pqFDpNmE=; b=N/oVQTPxmhX6Hf WAzB4dkyzDDQtO98WsQAiN2OarmmzQ1Zv4MQJfxt3yb20M1VRRqKFhgBHPZ2kREpp3FYhTkTKkGHe eMLQUlueBvK2bTajVYepqjJvUL6pNBrCI7IOfAmYYJSp+gm0I+yK+XegxubykoiPb7Igj2aXPAg4z PIIkMOKPpIYNNn71DWBn+bokCffbDnnGVadO2D4+Jld2+XERXu4Avh8aCQUq4LySVv0rHBJIxT/ZN esLSAsIn47En6qf8e2FgVm1ZLdg2cwtkypULzMmmf80PDnTz/EPyI34hVoBNxJI0kM0yzxVyoyDH8 QCcVjqPEiwtrOJHAzj7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlejl-002x4p-At; Mon, 02 May 2022 22:41:49 +0000 Received: from ssl.serverraum.org ([176.9.125.105]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlejY-002wyd-Eh for linux-arm-kernel@lists.infradead.org; Mon, 02 May 2022 22:41:38 +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 72C0F221D4; Tue, 3 May 2022 00:41:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1651531293; 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=tETKb6Fxnn9/6vUpKYVDlMbC/k2NaZsHpF6xUJCmZMM=; b=CkqX1gmVFxAan00CryNDBgCXlKtpMgZqI3Tbz9d16d2f12xRPgTDGg+x/7e/DPHQqpsWVq 7Ahf21mfbNc2CmD4255HX2k+nwuvhiKa5GzOB0sUScCSC3Q2zg9FJDHPxhRWaTwNkO3n7Z QK8iUggrfKj3ZT5TK+vvZ3x4Q8REVg8= From: Michael Walle To: Kavyasree Kotagiri , Nicolas Ferre Cc: Arnd Bergmann , Olof Johansson , soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Alexandre Belloni , Claudiu Beznea , Tudor.Ambarus@microchip.com, Horatiu Vultur , Michael Walle Subject: [PATCH v4 00/13] ARM: dts: lan966x: dtsi improvements and KSwitch D10 support Date: Tue, 3 May 2022 00:41:14 +0200 Message-Id: <20220502224127.2604333-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-20220502_154136_685161_03554E50 X-CRM114-Status: GOOD ( 11.93 ) 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 Add missing nodes for the flexcom blocks and a node for the SGPIO block. Then add basic support for the Kontron KSwitch D10. The first submission of this patchset was a long time ago. Since then networking matured and is now working. Thus this now also contains patches for all the networking related nodes and enables them on the Kontron D10 switch. changes since v3: - basic d10 switch support dropped the i2c mux and added a dedicated bus for the second SFP cage. - new patch to add the hwmon node - new patches to add the network related nodes and to enable the nodes on the d10 switch changes since v2: - add second kontron board variant and moved common stuff into a new dtsi - moved the uart/i2c nodes inside of the flexcom node - moved sgpio child nodes inside of the sgpio node changes since v1: - fixed indendation - keep compatible, reg first, move #address-cells and #size-cells towards the end Michael Walle (13): ARM: dts: lan966x: swap dma channels for crypto node ARM: dts: lan966x: add sgpio node ARM: dts: lan966x: add missing uart DMA channel ARM: dts: lan966x: add all flexcom usart nodes ARM: dts: lan966x: add flexcom SPI nodes ARM: dts: lan966x: add flexcom I2C nodes ARM: dts: lan966x: add basic Kontron KSwitch D10 support ARM: dts: lan966x: add hwmon node ARM: dts: lan966x: add MIIM nodes ARM: dts: lan966x: add reset switch reset node ARM: dts: lan966x: add serdes node ARM: dts: lan966x: add switch node ARM: dts: kswitch-d10: enable networking arch/arm/boot/dts/Makefile | 4 +- ...lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts | 94 +++++ .../lan966x-kontron-kswitch-d10-mmt-8g.dts | 39 ++ .../dts/lan966x-kontron-kswitch-d10-mmt.dtsi | 190 ++++++++++ arch/arm/boot/dts/lan966x.dtsi | 353 +++++++++++++++++- 5 files changed, 676 insertions(+), 4 deletions(-) create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dts create mode 100644 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi Tested-by: Horatiu Vultur