From patchwork Thu Jul 8 12:46:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kostya Porotchkin X-Patchwork-Id: 12365125 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AF2BC07E96 for ; Thu, 8 Jul 2021 12:46:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 61F5D61431 for ; Thu, 8 Jul 2021 12:46:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61F5D61431 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=marvell.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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=FRgh9OQyHIqoazLWXreMzVS2xbueqxIsACli5SxeW2U=; b=h28elI51uyIhXy t6LR//uU9U6n0WWzGqAgQRwU5rqSdmvVI8Hi7xmJVYuVyIzZLhNtZvo4BC9nXBDtKEUapY1ufzI3x mVxgoJrStysAx1CipWo3hCLPliWtMYlVb5/FRBK8srUoSku5YcTkfH1naBK3N+sK99/n8J3p3WEKQ gp3jsvmz1LDrC9rsR4wOujCqStijnG1uB6W+kHtzjzRu1QZRIjQPamnbZLpU+iNGWtC3QNIbNTkCz t07cSQ+xJbKo9wtoQf4TBmaGuzyS+Dn5zKGY+G2exDoac8WwdD24f8leZu8mdzDbQlazv96CEvRXv /QwHriBQn8VklP6r348Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1TQQ-00GvNx-Sa; Thu, 08 Jul 2021 12:46:42 +0000 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174] helo=mx0b-0016f401.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1TQA-00GvHl-UE; Thu, 08 Jul 2021 12:46:28 +0000 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 168CfEJE011801; Thu, 8 Jul 2021 05:46:22 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=pfpt0220; bh=m5Uc22hMRjeEfVSmrTxa3e2oLWBUJBkyj+WY38JXkrw=; b=GUPJ/Dym/fN685lueb9cEpshyWJM3jshhCaUS9p08PVnZFIU0Xz7foG5OqHrRqXPDa56 I03Ldia5BXnRa/DkRpwSN1VMXlOiXtwchVHq6j8YdQF6CyBrPmy0T4ap7KWRMLUYLo2d pC/SWYbTzCeCfwiD0bxQ0U+AYs6YFabd3Y/MpnU4zhwd4Or2z9a4pqw5igq3FfZ4spM9 8JO5vYePJsEGnUsHegZpCtoe2HDFvLCUDeilDAZNFutfuy4koPmCzAwnwOXBa8Ova0y3 S/TvEdfBERdLw+fCNn/F7S+vykTY8MgonsBe96pNCogXJ0aN0XqZB9kN10tEfh1uk8it Ug== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 39nrnu1y0x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 08 Jul 2021 05:46:22 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 8 Jul 2021 05:46:20 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Thu, 8 Jul 2021 05:46:20 -0700 Received: from octopus.marvell.com (octopus.marvell.com [10.5.24.3]) by maili.marvell.com (Postfix) with ESMTP id 723493F7079; Thu, 8 Jul 2021 05:46:16 -0700 (PDT) From: To: , , , , , , , , , , , , CC: , , , , , Konstantin Porotchkin Subject: [PATCH v7 0/5] DTS updates for Marvell Armada CN913x platforms Date: Thu, 8 Jul 2021 15:46:07 +0300 Message-ID: <20210708124612.30742-1-kostap@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 7Nbks_ONXbq2kzqpEX9vtPMfr6MLwB7J X-Proofpoint-GUID: 7Nbks_ONXbq2kzqpEX9vtPMfr6MLwB7J X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-08_06:2021-07-08, 2021-07-08 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210708_054627_046573_65A7235E X-CRM114-Status: GOOD ( 17.57 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org From: Konstantin Porotchkin This patch series contains the following changes/fixes: 1. Add support for Armada CN913x Development Board topology "B" 2. Add support for Armada CN913x Reference Design boards (CRB) 3. Fixes the NAND paritioninig scheme in DTS eliminating gap between consecutive partitions 4. Fix 10Gb ports PHY mode names v2: - extract common nodes from DB boards to separate DTSI files - disable eth2 on CRB boards until the required phy mode support is added - mention the switch part ID in CRB board description v3: - do not rename setup A DTS files for DB variants - fix a couple of wrong include names v4: - Rebase on top of Linus master branch (v5.11-rc7) - Remove HS400 timing from CRB AP SDHCI (not supported by connected eMMC) - Add cd-gpio entry to CP0 SDHCI for SD card support - Add a comment to CN9130-CRB patch about the required defconfig changes for supporting the onboard i2c expander - Add Stefan's patch to enable 10G port on CN9130-DB platforms v5: - Extend enablement of 10G port to CN9131-DB platform v6: - Rebased on top of 5.13-rc, merging UTMI settings (requested by Gregory Clement) v7: - Remove documentation patch fixing CP11X references in PHY binding document - Change Armada's family 10Gb port phy mode names from 10gbase-kr to 10gbase-r Konstantin Porotchkin (4): arch/arm64/boot/dts/marvell: fix NAND partitioning scheme arm64: dts: cn913x: add device trees for topology B boards arm64: dts: add support for Marvell cn9130-crb platform arch/arm64: dts: change 10gbase-kr to 10gbase-r in Armada Stefan Chulski (1): dts: marvell: Enable 10G interfaces on 9130-DB and 9131-DB boards arch/arm64/boot/dts/marvell/Makefile | 5 + .../arm64/boot/dts/marvell/armada-7040-db.dts | 2 +- .../arm64/boot/dts/marvell/armada-8040-db.dts | 4 +- arch/arm64/boot/dts/marvell/cn9130-crb-A.dts | 38 ++ arch/arm64/boot/dts/marvell/cn9130-crb-B.dts | 46 ++ arch/arm64/boot/dts/marvell/cn9130-crb.dtsi | 222 ++++++++++ arch/arm64/boot/dts/marvell/cn9130-db-B.dts | 22 + arch/arm64/boot/dts/marvell/cn9130-db.dts | 403 +---------------- arch/arm64/boot/dts/marvell/cn9130-db.dtsi | 410 ++++++++++++++++++ arch/arm64/boot/dts/marvell/cn9131-db-B.dts | 22 + arch/arm64/boot/dts/marvell/cn9131-db.dts | 197 +-------- arch/arm64/boot/dts/marvell/cn9131-db.dtsi | 206 +++++++++ arch/arm64/boot/dts/marvell/cn9132-db-B.dts | 22 + arch/arm64/boot/dts/marvell/cn9132-db.dts | 218 +--------- arch/arm64/boot/dts/marvell/cn9132-db.dtsi | 227 ++++++++++ 15 files changed, 1241 insertions(+), 803 deletions(-) create mode 100644 arch/arm64/boot/dts/marvell/cn9130-crb-A.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9130-crb-B.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9130-crb.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db-B.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db-B.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9132-db-B.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9132-db.dtsi