From patchwork Tue Apr 5 16:08:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12801752 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 F1045C433F5 for ; Tue, 5 Apr 2022 16:10:25 +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=Jd25ts9S8WzIRdzNAP8a3l36CwZIxbGj8opdZO36VUI=; b=Bw6WHLS1xUtRpX hLC60K3qOVRBTepEo+DDBxT9yCms4EuzwT9H9na5KzrV3Lpnn2k4r2Og5AeSAiKhWCha1MXySNu+z 0sSEcOez1bOPkC60pcM5ML/l5BZYony9IPxTS9rDV4LP7zEBXXEBWu6cXusJzIgVrRmPh1Ng4Yorj PT5bRJ4MpO4PgrhvsyqnAFQwt0hdGM6m2LBgDJ7EXQGGohkiexWIDCAQ9P4lZ+BV29mDbHGhdQkeX aXyjWjgI/jCEcaQp7fRCPKIgDCDOTqWfp0mF8wHZqbFfDmcw+IY8r1LGSc41ViahLgRq2rhAHXrHS SLlElBfss499ZdyyFbNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nblju-001pwh-Nq; Tue, 05 Apr 2022 16:09:06 +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 1nbljb-001pnM-5H for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2022 16:08:48 +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 7687B22247; Tue, 5 Apr 2022 18:08:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1649174924; 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=h6X3/D3utwq+kJMZuybBLFCBUbNYycHilQpxUt5aIVA=; b=sb4RLOw06F2OUikWNR7VIXmVEnMHuJWPtX2SRlNJukEY65dgHr+D1emUjY3vKtAHv2GS+9 Fj4MmL/WHm5eROQx1OqqoK+XXptio9gUyK3rZzfxlTtLJKsn8u2jd2ussYbLL6sSciesS9 3jNOznvAHXDr16PAnTAIF88lO/HUwwg= 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, Michael Walle Subject: [PATCH v3 0/7] ARM: dts: lan966x: dtsi improvements and KSwitch D10 support Date: Tue, 5 Apr 2022 18:08:30 +0200 Message-Id: <20220405160837.4093563-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-20220405_090847_407762_76303A8D X-CRM114-Status: GOOD ( 11.10 ) 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. Microchip, please take a closer look at the compatible strings of the newly added nodes. 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 (7): 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 arch/arm/boot/dts/Makefile | 4 +- ...lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts | 77 ++++++ .../lan966x-kontron-kswitch-d10-mmt-8g.dts | 13 + .../dts/lan966x-kontron-kswitch-d10-mmt.dtsi | 75 ++++++ arch/arm/boot/dts/lan966x.dtsi | 227 +++++++++++++++++- 5 files changed, 392 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