Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp591953imu; Thu, 13 Dec 2018 00:40:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/UEHurHj0kcmQ7MjZ/5JiMY431O2JF4d/IFJ/TGRMVm6hg6z8mdJrlVjeN2SFpw7AoH9ATS X-Received: by 2002:a62:798f:: with SMTP id u137mr23488078pfc.168.1544690437641; Thu, 13 Dec 2018 00:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544690437; cv=none; d=google.com; s=arc-20160816; b=robPhGF7HXoH3ecAjM1jLWbHLXMYAoU6nRchdhNoUzgJFVN13HoaGfCBACScC1Ross 5gUbQ0xk/xyNkNKp7fKWQLJTjn3u0bi1hePX89KXOHvdzfkShxhZW89AokkdtoapsSmu wHl6QxXgrdnBmA12FnVxfqRPTgsBVrYSof5mpfWsSe7yym4ZHc6CavTWpOHQ1mUQohl2 poxf/xoQAQsXmfewPQUT/q6OU/T5Xurhp9yakMKkH+tMb16ggf8dv6aJQHIMxOTq0isJ Fg8k9tSWiFe9KPYS/nzxROHiFA8298eqZYcgD0UmPLkBVyJ5m9s29OJJ1oD4g5GxXhOJ mhpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tpp++n9rVrD3fvGpk/ODtI3gZkZ2CaabWbKOv18QcI4=; b=DGZbNOIdO3l3qsAiRkKeudreLdthKXU+MXPdO6OGSH0kveaUb0RY6wjMr7DJN9iOx/ nzABo6zzJyZ7jFFeLC3hJ2xESQqrPr7A6lJ43qbNOz7mBpke94arqPKcndrgTPScyRHg qENDHXemXetslZd8BUJWtsVPCN0PvhYm9XEufdwkfoOdBtsVAyoW/iHjBvbzRGGBFHUT 1pXq1uT25lMKOxAqGQJGm8ADyz215dmg3COYGuspRbsnZzKoiJ7sByntFmUoeECYk/3A +rBJTsk3U9ZEJhd0USwygQaqV2lXQTviiU36boqG1V/4JR9LvuaIEcvNApTxEG+Glm7A W5hA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si1020467plo.89.2018.12.13.00.40.22; Thu, 13 Dec 2018 00:40:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727587AbeLMIjW (ORCPT + 99 others); Thu, 13 Dec 2018 03:39:22 -0500 Received: from mail.bootlin.com ([62.4.15.54]:38676 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbeLMIjT (ORCPT ); Thu, 13 Dec 2018 03:39:19 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 961FD20C94; Thu, 13 Dec 2018 09:39:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost.localdomain (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id ACFF3206FF; Thu, 13 Dec 2018 09:39:16 +0100 (CET) From: Miquel Raynal To: Gregory Clement , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Kishon Vijay Abraham I Cc: , , linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Thomas Petazzoni , Antoine Tenart , Maxime Chevallier , Nadav Haklai , Marcin Wojtas , Grzegorz Jaszczyk , Miquel Raynal Subject: [PATCH v4 7/7] ARM64: dts: marvell: armada-37xx: declare the COMPHY node Date: Thu, 13 Dec 2018 09:39:08 +0100 Message-Id: <20181213083908.14180-8-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181213083908.14180-1-miquel.raynal@bootlin.com> References: <20181213083908.14180-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe the A3700 COMPHY node. It has three PHYs that can be configured as follow: * PCIe or GbE * USB3 or GbE * SATA or USB3 Each of them has its own memory area. Suggested-by: Grzegorz Jaszczyk Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index e7405931f381..036d6fd6c9ef 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -242,6 +242,35 @@ reg = <0x14000 0x60>; }; + comphy: phy@18300 { + compatible = "marvell,comphy-a3700"; + reg = <0x18300 0x300>, + <0x1F000 0x400>, + <0x5C000 0x400>, + <0xe0178 0x8>; + reg-names = "comphy", + "lane1_pcie_gbe", + "lane0_usb3_gbe", + "lane2_sata_usb3"; + #address-cells = <1>; + #size-cells = <0>; + + comphy0: phy@0 { + reg = <0>; + #phy-cells = <1>; + }; + + comphy1: phy@1 { + reg = <1>; + #phy-cells = <1>; + }; + + comphy2: phy@2 { + reg = <2>; + #phy-cells = <1>; + }; + }; + pinctrl_sb: pinctrl@18800 { compatible = "marvell,armada3710-sb-pinctrl", "syscon", "simple-mfd"; -- 2.19.1