Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp673668imm; Fri, 31 Aug 2018 10:07:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbLf3NK4NfOCi1Kax0MAnCsU/RhGiLEVKYHQqasoMeENd8v1szaIToXgjwl6ElK3VtJNiAo X-Received: by 2002:a63:5465:: with SMTP id e37-v6mr15403052pgm.316.1535735241032; Fri, 31 Aug 2018 10:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535735241; cv=none; d=google.com; s=arc-20160816; b=EJOyVNkuRZ+WjmWoRN1n83KHfceQfcHDb/FeR1zZUNIaPW/6NKgGTAp5w7ZefjNHoq Un1/U0NNGIPBgjFcZRM2weUq2HQqXT6Iyk4sULtvZD0BIicdQ4O1OS/jIg1K7xNoDOYw M17+BxPh5zlzQ90nUVAeQ84ugLJQJZZrkEu2C2CRNMsVbdKbj39JOtA3FvyIauLbP+t8 +daDln+QjjV3KJP5OxsSj/FSZlVYNa0+dfJkcNsZh9nCfbEyLSSu2bd5hGJKXrT65elH geukLf4ld+QBYM/l2KFyGapnak1BCu6SGNb9XHB3bnoGur4i26SRHMvTe9kgsfX1GP8L 8SoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ASiTP4KjlKd+dcqNHPg0zB8hVWaCQX0kvNaQ3lVLDZg=; b=s66LUl0uCPlmA3B+x2vb2CGgj1cgFKe6or91M7ebofsirvr6djjAZ0srsLgsr2VHEh zuLJd77wzDkF0FrdkWq8x19WbuYqMgsp3OEUg6k8Pjz+epip/b8QuIwgAHZElz/ZPp1m jexi6fmIl7CPSz5F0j0xSKlMeJOzUXljA8pbR85EsgEFyIG6RzjpQsIh966MYSogOw5d VHygnmF2vjBHgRej3UyDex1VJI49zcqyTLYQ7PTopkR/QY5oEgvRkHmdZpL3V18jClHA UKhoyKePCyk3nQSp9yakNX+dYSbXvFExfo6eV2R5Ope//V91a98XB1e7XVGjlRnL95q0 q8aQ== 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 j8-v6si9521483pll.493.2018.08.31.10.07.06; Fri, 31 Aug 2018 10:07:20 -0700 (PDT) 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 S1728401AbeHaUrH (ORCPT + 99 others); Fri, 31 Aug 2018 16:47:07 -0400 Received: from mout.perfora.net ([74.208.4.197]:45305 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728374AbeHaUrH (ORCPT ); Fri, 31 Aug 2018 16:47:07 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPA (Nemesis) id 0Lalt0-1fTHFr0C1w-00kM8b; Fri, 31 Aug 2018 18:38:35 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH v2 05/34] ARM: tegra: apalis_t30: annotate/clean-up pcie controller/port nodes Date: Fri, 31 Aug 2018 18:37:47 +0200 Message-Id: <20180831163817.23970-6-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180831163817.23970-1-marcel@ziswiler.com> References: <20180831163817.23970-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:LyWEpCOPnp31vKFp6T2fAOKyTSloy3//JVV/p6LJbXRUrb8i/h3 x1oiXzXf1c1yFFBk5tScsOKQCxwL1q9UduPCdXlCbpwXwComdGtHhyDqSmpWXxzceAwGN0e Ule/PRLpdfQARZKLgGMENjueAAmsAl621MYRjmySkBiFI6HptmkaEa3PVj5BBm/UbzxrRu2 uutHSyM7J2y561/hwcYtQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ItJgjGLjSuI=:BtKW4nhsnYepdkhd5+qt/v 9CzInaVbmIePzWC8LXX3JoEUevpgv8+Mb1WWF49fzJm6xt7vRK02SEJmBv7n9XnNjXgIEhEGb mJNx4Ut7sLWtXovCQCQS33+zCsMPRYdfe9LyL8Ok0SiOtHX128rz0WwZVuJJ6dhlbgMzaDbBd hVvev0D2EaWO3Y6fclQm9bPrcrZD7gZj7Y9zYYzG1Gi38sIEIi8yNGZVzAhkNqoASCn3XxSmW GtN5eepXfLosACJAEsw84lK19Yfy5XY3IcEZ13LklcPZpengsawFm2jMSN3BswFWY+zFzJTNC tunaMxUn3vUXFmUARmqKlH9hqhRrIn9S1xDjMalBwRdep6qNzDXzbT8HjARxuaFa5G7a3bbLD fHmChuJNOhKlrD0sOH6JRSgN7bGShpxM/EEx5YheS/O6mBW7ydZNMSmy9u88fWgjtr/3uTPtn 80ZmtFBrbRwpa1lAmKjAIg8yoWUlIFZXAlfOiyn3xoNYg2WxkMajwhjfv+U3vefQgWZwtnPzL d5Afxi4I6XtrpAKJ2in9xAzekYGHi3LycBflSPkhV/5o02IjfWvnjBcCj7s56wrXxL6969uhw RTQArApO2trxytVIQb/zFfXz9mJVvHhIjYLmZyKS+XQka9c6zLg3TMRKgv6pAOBnjZf0vqxkD qFVo+VBrjMBKCnKXYKxY2/wuHLtB02xH+pPG1jLCQIJrKxDVy1+ug0aJTIk1scblI7WU= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Ziswiler Annotate PCIe port nodes and clean-up PCIe controller/port status' with respect to carrier board vs. module level device trees. As port 3 connects to the on-module Gigabit Ethernet MACPHY it is always enabled together with the PCIe controller itself. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Clean-up PCIe controller/port status' as well. arch/arm/boot/dts/tegra30-apalis-eval.dts | 6 ------ arch/arm/boot/dts/tegra30-apalis.dtsi | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-apalis-eval.dts b/arch/arm/boot/dts/tegra30-apalis-eval.dts index 0dc85a20bd45..e3c70e7d8d37 100644 --- a/arch/arm/boot/dts/tegra30-apalis-eval.dts +++ b/arch/arm/boot/dts/tegra30-apalis-eval.dts @@ -23,8 +23,6 @@ }; pcie@3000 { - status = "okay"; - pci@1,0 { status = "okay"; }; @@ -32,10 +30,6 @@ pci@2,0 { status = "okay"; }; - - pci@3,0 { - status = "okay"; - }; }; host1x@50000000 { diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi index fc279a073ac5..c810c044025a 100644 --- a/arch/arm/boot/dts/tegra30-apalis.dtsi +++ b/arch/arm/boot/dts/tegra30-apalis.dtsi @@ -15,6 +15,7 @@ }; pcie@3000 { + status = "okay"; avdd-pexa-supply = <&vdd2_reg>; avdd-pexb-supply = <&vdd2_reg>; avdd-pex-pll-supply = <&vdd2_reg>; @@ -24,15 +25,19 @@ vdd-pexa-supply = <&vdd2_reg>; vdd-pexb-supply = <&vdd2_reg>; + /* Apalis type specific */ pci@1,0 { nvidia,num-lanes = <4>; }; + /* Apalis PCIe */ pci@2,0 { nvidia,num-lanes = <1>; }; + /* I210/I211 Gigabit Ethernet Controller (on-module) */ pci@3,0 { + status = "okay"; nvidia,num-lanes = <1>; pcie@0 { reg = <0 0 0 0 0>; -- 2.14.4