From patchwork Mon May 16 12:48:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850771 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 BD1BEC433F5 for ; Mon, 16 May 2022 12:53:33 +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:References:In-Reply-To: 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: List-Owner; bh=YAhEPKTDNzT0z4dXLrfX8FYxJNX1VUQWn6jkRaQQ7VY=; b=446xTC2YEaoE2Q +Fx3mx3x8hNhKWl9KEbzdBWxN16hwk34zwoQ/wCGVY6enH1pv8Q7DBozEIsoBSGHIuKxbagOjuf4T EYfb5v+I6E+CuC5Y3ieaqHliIR+I3XfXZGbyUEQjzormp43+S6lIUXPVFaDV7JcB+P3d4NexHcRrt MSOUAzB4rjrXVVIgQ21CiUozXhOs5rU7iQ3P9ZoS4c7KFUXIZMCB/slhUYjVJGIiY97ewPHuZsA7i zQqt91NOsfUInCPj20ubJG4YuPQvj2WSmEF3wa0ViG3JQpt+MbWVgciWeDjmiK3nKk+l52aIMjwxX aUkiWQNW7oH+zCmgDLwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaCu-007jjC-Um; Mon, 16 May 2022 12:52:17 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9d-007hjF-Vt for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:55 +0000 Received: by mail-ej1-x62d.google.com with SMTP id tk15so4960083ejc.6 for ; Mon, 16 May 2022 05:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EM4jnNGDw7AMU0PeAM69NyPeBAC/GVPGYbDdF3ITGic=; b=UuCDifRXXwK1HzxNdsH/J1A6XFQx4+o2U78t9HC7AXVhV0L+fE5wQqQorYSL1+LgK3 0RewaqFh0xxSjnX6qOWQH0zDmlSuxFmfJejL/D2RfxVO5Bs/yf0XKys7hZzz+pE3sM0b 4QfNrCSxJF/uJ8Jn4EQ0oGg3c2wPfVHOsJc1r1pOH3AngJbjsSlGRbXEgijUBjUwOSHO sboyQpJvX9DVbqAfvcckC7mQ/7R4c36cpznFopScV8Q7Bgii4/EFdeRR+UVOxzW+35ws 4gCxi2C7LylLfpbYLDiX7GtzeA+whzRGnsWg1Oebb7/FysyV6kcMzNpEtDq1ga8CiQQ9 ISfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EM4jnNGDw7AMU0PeAM69NyPeBAC/GVPGYbDdF3ITGic=; b=FgCzaVTjiFljeScJ1R1F/P1pFpPJdg4+uVToJXEjJK8KnZA5untldmfDKxFo30ptwt F+Hu7CpH+U9bD7KpJyWR3uy06NzStC2vQI9JjTrUJTePFcXh/ohA4XoKTeLkD6l+5t9j hWYW6O5BZQrm9hOe53lCtuCm56k+M7MmTmAWNEm04QrW7Mup5cWDsTb2QjHg8Y80LuFP faZ6kJGJw2b0Qy83PEVjDlWNzVwfiqNfFLN+lxt0rbLb4WlKoDddAucj3p1JbUuAC2j1 jei2yqy2w1CPQUS7m+ehuRfZ1YqjOd3KwPaeZ3sNXMLhWLEiP/UjlzDTJCb2QnpE6p9f i6MQ== X-Gm-Message-State: AOAM53309Oi42xX67/q7Dl24IP+69jzfGuLHoTwyGSpTpMpnCtBWDPm+ f9UbIqMEaHdEZFWmT6jA/Yh+ag== X-Google-Smtp-Source: ABdhPJxgHP/xJxIC0DfcLUofYXhPz/6yxm46vP1IE7I22RveeiTrEhXbkLaTZi3uflSML03Vho7zXA== X-Received: by 2002:a17:906:c14b:b0:6f8:e6bb:f8d5 with SMTP id dp11-20020a170906c14b00b006f8e6bbf8d5mr15032709ejc.4.1652705332508; Mon, 16 May 2022 05:48:52 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:52 -0700 (PDT) From: Robert Marko To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, kostap@marvell.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 10/10] arm64: dts: marvell: add support for Methode eDPU Date: Mon, 16 May 2022 14:48:28 +0200 Message-Id: <20220516124828.45144-10-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054854_081126_3C99593A X-CRM114-Status: GOOD ( 14.40 ) 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 Methode eDPU is an Armada 3720 powered board based on the Methode uDPU. They feature the same CPU, RAM, and storage as well as the form factor. However, eDPU only has one SFP slot plus a copper G.hn port. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- Changes in v2: * Make the DTS split a separate commit --- arch/arm64/boot/dts/marvell/Makefile | 1 + arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile index 1c794cdcb8e6..104d7d7e8215 100644 --- a/arch/arm64/boot/dts/marvell/Makefile +++ b/arch/arm64/boot/dts/marvell/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 # Mvebu SoC Family dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb +dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-eDPU.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-emmc.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-ultra.dtb diff --git a/arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts new file mode 100644 index 000000000000..57fc698e55d0 --- /dev/null +++ b/arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "armada-3720-uDPU.dtsi" + +/ { + model = "Methode eDPU Board"; + compatible = "methode,edpu", "marvell,armada3720", "marvell,armada3710"; +}; + +ð0 { + phy-mode = "2500base-x"; +};