From patchwork Wed May 29 09:18:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 165354 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9614944ili; Wed, 29 May 2019 02:20:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/PNgisAz7SlJFo41Q89Iq7u4pgculdUIvr49L9q5KPcuWXHrY4/vtdB5QIxWw8qo82+qo X-Received: by 2002:a17:90a:f48a:: with SMTP id bx10mr1051766pjb.118.1559121600414; Wed, 29 May 2019 02:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559121600; cv=none; d=google.com; s=arc-20160816; b=KXaf9Sxu+X1dG4pvUNDdL3F07IRDD7cjc9WBKRdjzgDN+u86cWWM+Dgl8N0k5TipYJ V+a2to/gKVjfhONKbMPTLcmBJ2n7533i/y/z8pew0QpfNGXGveCsWNfVBvt+An1gFtUG mp4w8XOIAFvt+Q0EZKr1v8ASQ+LmHyraJNGjNnvwRNL3xfJxlfTm3HhVdjA6XPYZaPiq 5Lqd9JaJp0KIxLvFxHSJQSgcaedb7rt2jJehRKqb/+3k7U0CYkMtTW8UX17qPNsNgNQt lj1M1lwCZZpakDFL5/jb1m6QGMDMNaoNW/70X+z9KRV8EyUdpbxPQmSMLSHMafY9LxAW kPTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=CLMgdFDzEP+/2Vo6QCRpiTDErvJlxGE7yTrjW1gJW+0=; b=pFzYP4tWkj+bcjL3kF3AWxSXSUAbH+5e4a80kLWWTbmBpLg5tF3MdeRHqxYi4OeNVk 78etN7sa/I+KSqDcvGI/BrDXz02vDp6KCc0xSiZ+t/vOtNa42xw2No5k28obLBtYfuWL Bb04sKpAj9EbKcg1fTwJRqeljfo8IMoLXqlM9WcALQP0gqCYB0WgsPMnH46Cu6jr3laq LVb+YlgWBS57cRUFcn7zmrniH2HpgeLkKBV0t4EsK4MEkPfsMpor11/yA4THT7IqvZwr WkoVMOJTjZF+PHQ+gfe6U0Vv81eQTaZEg7hPEnTE/owEcmZuKcS7etmxtiyqCUTeWKaI RVaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=U7jRkB2u; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r15si26958907pfq.169.2019.05.29.02.20.00; Wed, 29 May 2019 02:20:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=U7jRkB2u; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbfE2JT7 (ORCPT + 7 others); Wed, 29 May 2019 05:19:59 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:39724 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbfE2JT6 (ORCPT ); Wed, 29 May 2019 05:19:58 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4T9JdCt009976; Wed, 29 May 2019 04:19:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559121579; bh=CLMgdFDzEP+/2Vo6QCRpiTDErvJlxGE7yTrjW1gJW+0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=U7jRkB2uwEKK/OhHE3MQM2o6Sb2ldBGgn2D/Mm1sXW3M4P0heccjgadhL3GHiUD5s cAFUZmB/Z7GN0+iDTvACyGVFEK2deowUrkJCU/pshzJ4poTkOZhOvmiJD+dPMaOzYo 0joAMgS1j+o1e7plWJ5B3nA/wuXtWs67sQdJGPnY= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4T9JdaW032505 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 May 2019 04:19:39 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 29 May 2019 04:19:38 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 29 May 2019 04:19:38 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4T9JVxO079377; Wed, 29 May 2019 04:19:35 -0500 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon CC: Rob Herring , Mark Rutland , , , , Kishon Vijay Abraham I Subject: [PATCH 1/6] arm64: dts: k3-am6: Add "socionext, synquacer-pre-its" property to gic_its Date: Wed, 29 May 2019 14:48:07 +0530 Message-ID: <20190529091812.20764-2-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190529091812.20764-1-kishon@ti.com> References: <20190529091812.20764-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org GIC_ITS used in AM654 platform has the same configuration as that of GIC_ITS used in Socionext SoCs. Add "socionext,synquacer-pre-its" property to get PCI MSI working. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 752455269fab..81e97d7adcc9 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -44,6 +44,7 @@ gic_its: gic-its@18200000 { compatible = "arm,gic-v3-its"; reg = <0x00 0x01820000 0x00 0x10000>; + socionext,synquacer-pre-its = <0x1000000 0x400000>; msi-controller; #msi-cells = <1>; }; From patchwork Wed May 29 09:18:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 165351 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9614760ili; Wed, 29 May 2019 02:19:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2PAIyRAXmUsTWdpAVlfzftisnt1x70YYK/zBYG7rMLc2YKb6/VyIZM38I5gpfeDS1EIUS X-Received: by 2002:a17:902:848b:: with SMTP id c11mr27192534plo.74.1559121589464; Wed, 29 May 2019 02:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559121589; cv=none; d=google.com; s=arc-20160816; b=FKBP4pREtMraJ0KPU+aeXRtfJUyAjlb9uDWrNrsbU41Ku+UUKR1im22CqGWi+VkX+/ zId36Wh8Qvub5XFMajyOMS+jdWs8LzKun3gp4bl5JAVXnvmJ403N3Vp0GWbxMxMCVVuD AVDYX9zHFOWaTm5lDympyoKC6BdX0atBDaDNqP3+LHFCZfTEU0QF8h+9yzLuLORZjwYE I4dySQVb+NeNAGZftyQkaFEnlj/qr87/x1CkJbWdPoIYpFIf/Ph6R8NsFLduZqLvfQ7i mZZtq76ACgmZnWif2hEIwNyrv3TR6SqM5yZreN8NJVCJnGmCgcLuS44tr4nNmQI41Dcd QF0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=f9yWrCu6QwQFUN0RZDguN6Dz/yvzTBh+L7s5j+aLQro=; b=zlSmfEYpsSetsZvdkU2ojHOVi6bsn7hpnLVIJUrJGXoc3FTtHzezUb8nFuXN7YhopW iwLRj8jd0QxtJ4HKwzFVjgxgyjYaOdLfSvKWForqJpSEPLkXBr68dDo9SkpsH2piAAnv boh+LcXCfvbas/asJhI+u4l6gNsQRnbvZKGYCm2/Qqf90oXm5JFdKlYG+dj7niGAIqQa Ek/mg8qZZuYLz3Uau8MJHOrIkcV+ZlZLQ4jwSH2UQHYF0eUyicYPO3qGZUjZTtsigIWh Vzby2uBexw6HxHEG1e3vJjUknu0DhPhfrNzqL0J5ygGg4cUi+zei3t9brrBGMr3NpyLW jDDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PziiElIt; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a18si6416425pgk.150.2019.05.29.02.19.48; Wed, 29 May 2019 02:19:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PziiElIt; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725914AbfE2JTs (ORCPT + 7 others); Wed, 29 May 2019 05:19:48 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:39702 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfE2JTs (ORCPT ); Wed, 29 May 2019 05:19:48 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4T9Jfk8009982; Wed, 29 May 2019 04:19:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559121581; bh=f9yWrCu6QwQFUN0RZDguN6Dz/yvzTBh+L7s5j+aLQro=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PziiElItn97hefl6Dg1dYBIIJl5zziulP+vKFY/z6mpiQW/amqpmpJrtpNQinikRJ zTdaRTIPpxDRDdfZBYVyoMsEhZ0nFW6OqPIQ7ahBtHVV9Ug6gtlOGvAcwcn/oOMmvR S1XArXgIptIyk5zRVkzZ8mrKdpBvfi6FpevByoOM= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4T9Jf3r050378 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 May 2019 04:19:41 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 29 May 2019 04:19:41 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 29 May 2019 04:19:41 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4T9JVxP079377; Wed, 29 May 2019 04:19:38 -0500 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon CC: Rob Herring , Mark Rutland , , , , Kishon Vijay Abraham I Subject: [PATCH 2/6] arm64: dts: k3-am6: Add mux-controller DT node required for muxing SERDES Date: Wed, 29 May 2019 14:48:08 +0530 Message-ID: <20190529091812.20764-3-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190529091812.20764-1-kishon@ti.com> References: <20190529091812.20764-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add mux-controller DT node as a child node of scm_conf. This is required for muxing SERDES between USB, PCIe and ICSS2 SGMII. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 81e97d7adcc9..99d2402455d1 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -233,6 +233,13 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x0 0x00100000 0x1c000>; + + serdes_mux: mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */ + <0x4090 0x3>; /* SERDES1 lane select */ + }; }; dwc3_0: dwc3@4000000 { From patchwork Wed May 29 09:18:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 165355 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9615003ili; Wed, 29 May 2019 02:20:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyP5VDYIOPRL2I9ujWNwAHr+TSydLJPOZ00XRRO+Ax64i8M9q3/bFxuWBZPyCnJ+cLb6lTo X-Received: by 2002:a62:6585:: with SMTP id z127mr108274204pfb.179.1559121604159; Wed, 29 May 2019 02:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559121604; cv=none; d=google.com; s=arc-20160816; b=MbvFHsGxvO/853lGu9rBiRDPJyCsPa4hFUkoIsL6cCpBAvG3Fl7hb58fL1Emk/zojk GNE4YxQ2GAHM3MBUuaVS2RhS/auqvukjhT6tHTNXSveecIwHXblWJooQwlWoVvtcsbSE azKaMCiV/qfmtjmAGW6W3lxXXtt8I7n13vDrp8We3xH6AquiSye+Ply59YMbymIp3TKP BSVetYr0Jgu3n02qhVbxM+k0eaImsAWMOzYoKngy0pQlL3uVbCihfyboe1iQCmCBHe/5 2SLZVNzuLhWffvu7OqBPvOT7QOmzU7mc6EFjQ6o9utDaJtUK7G4ZLEGOAuk1NrfyND87 U5rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=kE9EblhkeeAMFADzoHkl0IGb4+cczs03sZpOsyKHuRw=; b=kCGSmv+iVzk5zEn3RdNOmHcxcJNB+CQcmzefjOokGv0ahkd+OT0yWCsEZD0f9H2I6+ QuBy9x8tNF3WxCzXEN0A4vAWm/WDm6X4vJQFV3Fm+bA0JDHcIZCVVt4Qwt3N4/3t91va t0Ep3TW9gr1n+d93v1WrYc/Gx80Wgih86hCVXlgDtKTtciiE5l0JQ2OevLRYO0IsOnTd uzjXrXirrpkuR8YVfptSbj7G7GfBQlfF+mvFZeSwuJjG95dqcQQNFBeKX6fxkPKOM9HJ MP3PqTmSNmzkDz7YaCpfcajwC+MWGdis5XYe/SltnZ+Lei6QkjYcxC0/V8i5ZhipfUD0 7w8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QGvgbbBe; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r15si26958907pfq.169.2019.05.29.02.20.03; Wed, 29 May 2019 02:20:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QGvgbbBe; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726732AbfE2JUD (ORCPT + 7 others); Wed, 29 May 2019 05:20:03 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:48924 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbfE2JUB (ORCPT ); Wed, 29 May 2019 05:20:01 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4T9Jpel094341; Wed, 29 May 2019 04:19:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559121591; bh=kE9EblhkeeAMFADzoHkl0IGb4+cczs03sZpOsyKHuRw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QGvgbbBel1z0dz3Hbt8Siebt5AJC4WNlLpsyUP6V3F+cJADwH4el0wWlkl05q+hD5 mW4a5sdD1jvoveWSLDBfQGwN60JXteReVGkvThHQJFrxZG7Ium6tmQMZ6CF6PbCMhd kmSnZrhtL8CVwI9ok75nQO/CAL9+aDpDAvV77aKc= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4T9Jp5C049985 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 May 2019 04:19:51 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 29 May 2019 04:19:50 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 29 May 2019 04:19:50 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4T9JVxS079377; Wed, 29 May 2019 04:19:48 -0500 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon CC: Rob Herring , Mark Rutland , , , , Kishon Vijay Abraham I Subject: [PATCH 5/6] arm64: dts: k3-am6: Add PCIe Endpoint DT node Date: Wed, 29 May 2019 14:48:11 +0530 Message-ID: <20190529091812.20764-6-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190529091812.20764-1-kishon@ti.com> References: <20190529091812.20764-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add PCIe Endpoint DT node. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 09f18b1e70f2..fb8a13d670d2 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -393,6 +393,19 @@ msi-map = <0x0 &gic_its 0x0 0x10000>; }; + pcie0_ep: pcie-ep@5500000 { + compatible = "ti,am654-pcie-ep"; + reg = <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x8000000>, <0x0 0x5506000 0x0 0x1000>; + reg-names = "app", "dbics", "addr_space", "atu"; + power-domains = <&k3_pds 120>; + ti,syscon-pcie-mode = <&pcie0_mode>; + num-ib-windows = <16>; + num-ob-windows = <16>; + max-link-speed = <3>; + dma-coherent; + interrupts = ; + }; + pcie1_rc: pcie@5600000 { compatible = "ti,am654-pcie-rc"; reg = <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x2000>, <0x0 0x5606000 0x0 0x1000>; @@ -411,4 +424,17 @@ interrupts = ; msi-map = <0x0 &gic_its 0x10000 0x10000>; }; + + pcie1_ep: pcie-ep@5600000 { + compatible = "ti,am654-pcie-ep"; + reg = <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x4000000>, <0x0 0x5606000 0x0 0x1000>; + reg-names = "app", "dbics", "addr_space", "atu"; + power-domains = <&k3_pds 121>; + ti,syscon-pcie-mode = <&pcie1_mode>; + num-ib-windows = <16>; + num-ob-windows = <16>; + max-link-speed = <3>; + dma-coherent; + interrupts = ; + }; }; From patchwork Wed May 29 09:18:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 165357 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9615045ili; Wed, 29 May 2019 02:20:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpnkG9SNdGvn9vJscm+oHeTrm6OmlIHUZlObS8+hhQ1BoAn4qCi1zoYOxcyQuESIkT96T2 X-Received: by 2002:a63:191b:: with SMTP id z27mr137092344pgl.327.1559121607010; Wed, 29 May 2019 02:20:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559121607; cv=none; d=google.com; s=arc-20160816; b=EY4fhcgCmgA4zWnhQnPsV6GdCjRdyV4ds/ms8Nr21q6S/m6bVlg2QnrPbS1N801VK2 C+QKTGGdHgZ1GONey0RxTlwumh71gsUbBQ/Ni6RWea/HcXzQ5guuw/k/jgET5u37fRtz NXySuR1+PLdYOYvqttqiE8YrNCcNDMPw0PmkLwAVFJRiMPkJT8DvmOEp8cuCcYGxtKOe QsXkoY6xD/XbmRRlzXf3dJ8EBR+YgAd16UDhycxN8hwpTdtlyVd+XbCa4TYIq697UfDq J711msw1kXASvUOtYYxMbWGtHNR+k0HctOfncop8qwhmZNRf2CLTViYAtdDIN0IDSwxC 3C6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=AfXj0dA2uE7BKjcDG8GO32yzKz/LyY/lufBnllEBR0U=; b=bU05j2LxrNFjTcS2rQIXkwI9fQgcKXSROxN2cRE+RL+expnJho0w1rR0CTMS1yoXkr 1SjFTBT4moN0P7b8hV35zrldUMPL+bfVzhqyBe1rM2l3ZlVtGFT51xFxg8kJzj+rTHpJ kXpZp5TNI9/7gxr5OSXWWAb52qcjE6tOdv5vGhXb8M5i9FMBKk+jxOQl/C5qv59RxaE1 xkah/gCv/3NaBQMkq+3VUvB6nK0fv2jbC7idYmvoihmz5QFt+v98cWCdGglv+S5b5l3T XBuzQuEe7Dqsx+8labLtCzr+xdA8NKmxIqH6GnT4+Sy9KEL2oln8Spt+gU/MB8fTYFWn 8oVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FhZiU6rx; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r15si26958907pfq.169.2019.05.29.02.20.06; Wed, 29 May 2019 02:20:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FhZiU6rx; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726757AbfE2JUF (ORCPT + 7 others); Wed, 29 May 2019 05:20:05 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:52500 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726747AbfE2JUE (ORCPT ); Wed, 29 May 2019 05:20:04 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4T9JsGR024114; Wed, 29 May 2019 04:19:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559121594; bh=AfXj0dA2uE7BKjcDG8GO32yzKz/LyY/lufBnllEBR0U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FhZiU6rxSv4DdnO7G88rRlXzAbf/Qxc5XjgIISCLEldIVxBaBcPLa018KSIL4UyyH VZakdBy3r9ZrKw7JDaoFryE18gSkNIdHU5bMBdqEJdtooi+PvIb4FLTxY5gb8K7LVk PTIoLUQ/11ARk02YXgYUZkzWNkjVcnTEQ8rkY38E= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4T9Js3g050576 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 May 2019 04:19:54 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 29 May 2019 04:19:53 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 29 May 2019 04:19:53 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4T9JVxT079377; Wed, 29 May 2019 04:19:51 -0500 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon CC: Rob Herring , Mark Rutland , , , , Kishon Vijay Abraham I Subject: [PATCH 6/6] arm64: dts: ti: am654-base-board: Disable SERDES and PCIe Date: Wed, 29 May 2019 14:48:12 +0530 Message-ID: <20190529091812.20764-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190529091812.20764-1-kishon@ti.com> References: <20190529091812.20764-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org AM654 base board does not have any PCIe slots. Disable all the SERDES and PCIe instances. Signed-off-by: Kishon Vijay Abraham I --- .../arm64/boot/dts/ti/k3-am654-base-board.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index cf1aa276a1ea..abd7e4e218f2 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -228,3 +228,27 @@ ti,adc-channels = <0 1 2 3 4 5 6 7>; }; }; + +&serdes0 { + status = "disabled"; +}; + +&serdes1 { + status = "disabled"; +}; + +&pcie0_rc { + status = "disabled"; +}; + +&pcie0_ep { + status = "disabled"; +}; + +&pcie1_rc { + status = "disabled"; +}; + +&pcie1_ep { + status = "disabled"; +};