From patchwork Wed Jan 15 12:29:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Remi Pommarel X-Patchwork-Id: 11334169 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EE4E4139A for ; Wed, 15 Jan 2020 12:22:33 +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 CC975207E0 for ; Wed, 15 Jan 2020 12:22:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jt+RdW3i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC975207E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=triplefau.lt Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8Y6yGUGxczjOhGOi2iVxq+KP8d9pL/pO56DZMkUiDWY=; b=jt+RdW3iDjI/6q 5TKiJIAPO/oGs3hXl7ky47ObNZ6PDTM9kaSvzxmQeFx/Zj6aH+KLBlBgsgMNj+pnNEj7txB1acw9j 8h+BP/VO+3hdX6Ix+WYaFOhdNDEwg+6Aj5JrA7X+RMfEZsWMN9+ZVh2JjuxnpkpIFLGay4qZw5VvL MEl5yW42ONejFwAcG8sYNioYGDxggvO85qLqyiRn2ihWFKY/jMXA2/ESg/dhML0JJbl+N1FdZ99W1 8ZzarYZ1E+Pdj3uz5jQ3iuiJ9O1aM6/Ic9JKGtOiK3e4MRqgU0BEgNfQiFk8IyAKD9KMobcvdW0zx xWszBul7i1lRiotzMVww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1irhgv-0007za-2s; Wed, 15 Jan 2020 12:22:33 +0000 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1irhgq-0007tK-4E for linux-amlogic@lists.infradead.org; Wed, 15 Jan 2020 12:22:29 +0000 X-Originating-IP: 88.190.179.123 Received: from localhost (unknown [88.190.179.123]) (Authenticated sender: repk@triplefau.lt) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id EC983C0008; Wed, 15 Jan 2020 12:22:24 +0000 (UTC) From: Remi Pommarel To: Kishon Vijay Abraham I , Yue Wang , Kevin Hilman , Lorenzo Pieralisi , Bjorn Helgaas , Neil Armstrong , Martin Blumenstingl , Rob Herring Subject: [PATCH v4 4/7] arm64: dts: meson-axg: Add PCIE PHY nodes Date: Wed, 15 Jan 2020 13:29:05 +0100 Message-Id: <20200115122908.16954-5-repk@triplefau.lt> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200115122908.16954-1-repk@triplefau.lt> References: <20200115122908.16954-1-repk@triplefau.lt> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200115_042228_323535_16084106 X-CRM114-Status: UNSURE ( 7.52 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.198 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, Remi Pommarel , linux-kernel@vger.kernel.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Enable both PCIE and shared MIPI/PCIE PHY nodes in order to make PCIE reliable on AXG SoC. Signed-off-by: Remi Pommarel --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 04803c3bccfa..d5c3885d4b14 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1104,6 +1104,12 @@ hiubus: bus@ff63c000 { #size-cells = <2>; ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>; + mpphy: phy@0 { + compatible = "amlogic,axg-mipi-pcie-phy"; + reg = <0x0 0x0 0x0 0xc>; + #phy-cells = <1>; + }; + sysctrl: system-controller@0 { compatible = "amlogic,meson-axg-hhi-sysctrl", "simple-mfd", "syscon"; @@ -1356,6 +1362,13 @@ tdmout_c: audio-controller@580 { }; }; + pcie_phy: bus@ff644000 { + compatible = "amlogic,axg-pcie-phy"; + reg = <0x0 0xff644000 0x0 0x1c>; + resets = <&reset RESET_PCIE_PHY>; + #phy-cells = <0>; + }; + aobus: bus@ff800000 { compatible = "simple-bus"; reg = <0x0 0xff800000 0x0 0x100000>;