From patchwork Sat Feb 10 01:38:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 10210193 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7231E60247 for ; Sat, 10 Feb 2018 01:47:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6575428A5F for ; Sat, 10 Feb 2018 01:47:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58D5E28AA0; Sat, 10 Feb 2018 01:47:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0F2E528A5F for ; Sat, 10 Feb 2018 01:47:40 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=28kqa0p4GS9odkysSKk+oA4fyA279K+dKSF08DQrNqM=; b=oxAhCr64bRlyO6dhnsxrYZzDt6 AEkclRx/fp0KSFAyBNJY52n0pk0d1wGQfP+KLxp9KOXA7ZHbgmP/PCPBbIHdbJ+Nw0aP8c+YW4qDY T9Zzcv3UQA16asde9j9DxLJT4+iQEJI8vXWIAF5RW4r9AOVo5v6zTyiEpcghM+Ee2Q2y25LfYCm/R +jxeqNPkjsNnIrwBoKw5jkAbcjpX3341vM5SuKnMzAU9u7dcgQjuj12K9rEi/PQWa6605T+bCSFbN XOXeuYUhJKJlYp0fypx4vgCZhWT8MJepphrYGeSu9TS+SMnu1kC6hxqm+dNdOjmBpkdXJZKCTvhAQ OBI6bxGg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ekKGP-0002wd-4d; Sat, 10 Feb 2018 01:47:37 +0000 Received: from mout.perfora.net ([74.208.4.196]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekK7o-0006WT-Lm for linux-arm-kernel@lists.infradead.org; Sat, 10 Feb 2018 01:38:48 +0000 Received: from localhost.localdomain.ziswiler.net ([178.38.65.171]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPA (Nemesis) id 0MCrG1-1ebHi9250V-009gKo; Sat, 10 Feb 2018 02:38:23 +0100 From: Marcel Ziswiler To: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 4/6] ARM: dts: tegra: apalis-tk1: hog group for ethernet, pcie, reset gpios Date: Sat, 10 Feb 2018 02:38:04 +0100 Message-Id: <20180210013806.28496-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180210013806.28496-1-marcel@ziswiler.com> References: <20180210013806.28496-1-marcel@ziswiler.com> X-Provags-ID: V03:K0:M3fmOvleO9n6WsFexiZLkA2W5ROjyWQlO+xNbgadPe6J7NQNF6C ngsQ7WXlMjlHjpM55ZQGY0xVlSxDFltb5ZaSYt43h8EsfwOIuPnsPyI+/7ypBaOTFkT5tb/ R7HBJIEmN+3EoH4lPwaTWOeH71X6AIFQAklqK1osOu0VqVJdI6rn7dAGpDayiugHksVJ1wH /vAph89vAtXPaed337Q5g== X-UI-Out-Filterresults: notjunk:1; V01:K0:eG7ZnEZ4S0o=:3OA3xp98HFwe3Lf3edOIRH vP7FMjYXCfhq3olGsMaH9DVkVsx2F9xsHgTr8FsYXbhN7izC6q4t1X1KqzUYZ9gb1RZ7KrbPf o0DHv2uxqhym5uQkCl8JQOQE9spliivJBUlf18IEmRPkKit6KX6RxmPeUAvfh76AslvytJX5U eF56kINaRYRJtAm3V5qijQuYuQ8Nb091v5kha9iQm/+N3l7Qd/JuoHTK1qIKyt7LSoLhZacjI hccP3ccUUnNQ2QyBRDqk199Wni4yNdP45QoXCr9qckSBVuZKngyfdbNY0GSw5DA2J3mzhT6W/ 2Lyy5NE+kd43dfUjdpNL6DQDSZlC25tF3Wz0Mwx2SiF+Z+br920y8u0vEYON2hphRcHvGwq4Y GQcj5N69hjO3qe003ODp2mF4bNZPtwFvAOALoJxqdLbrncGqX7QG3TLp6x94OYTKSOuZJYj8a KFsH8sbbXz60bkmi5Gx9C7uTYTvmBbwP/sTvJVe01cZG4N0t0DwWPw5xnHt398u5MRmyhO3fl ilD4GUYE2Fpq6hGrBrXCVfgST3P1uQOabNfP+Ea8uXTt47PR++v6VO3q2wkCpvl1vlw965fxf eXJhAXVPQWbxUCnkPPPZdtl37HhvC1iJmFP4qMtiGZcx1SacjjAHQ6fHSvTc8UnoBqbaqisl/ rQaPeYEtt7ooOpt7EYtOpCKp7xgOWRwggu5c+fSohZfxGHpVk8z9LGYtMCA5/SmcR3RlLH1gT s9b0hF8U80f+1EWY2Wy8GclCdxQ/ya3Vl6p1hg== X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Marcel Ziswiler , linux-kernel@vger.kernel.org, Rob Herring , Jonathan Hunter , Thierry Reding , Russell King , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Marcel Ziswiler The Apalis TK1 module uses some dedicated GPIOs as I210 gigabit Ethernet controller reset and to control RESET_MOCI aka reset module output carrier input on MXM3 pin 26. The Apalis Evaluation Board furthermore uses Apalis GPIO7 on MXM3 pin 15 as reset signal for its PLX PEX 8605 PCIe Switch. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-apalis-eval.dts | 10 ++++++++++ arch/arm/boot/dts/tegra124-apalis.dtsi | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/tegra124-apalis-eval.dts b/arch/arm/boot/dts/tegra124-apalis-eval.dts index af6c566e8ac4..f1010cefb993 100644 --- a/arch/arm/boot/dts/tegra124-apalis-eval.dts +++ b/arch/arm/boot/dts/tegra124-apalis-eval.dts @@ -275,3 +275,13 @@ vin-supply = <®_5v0>; }; }; + +&gpio { + /* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */ + pex_perst_n { + gpio-hog; + gpios = ; + output-high; + line-name = "PEX_PERST_N"; + }; +}; diff --git a/arch/arm/boot/dts/tegra124-apalis.dtsi b/arch/arm/boot/dts/tegra124-apalis.dtsi index 44c31176ce90..b7648ce4565d 100644 --- a/arch/arm/boot/dts/tegra124-apalis.dtsi +++ b/arch/arm/boot/dts/tegra124-apalis.dtsi @@ -2070,3 +2070,21 @@ }; }; }; + +&gpio { + /* I210 Gigabit Ethernet Controller Reset */ + lan_reset_n { + gpio-hog; + gpios = ; + output-high; + line-name = "LAN_RESET_N"; + }; + + /* Control MXM3 pin 26 Reset Module Output Carrier Input */ + reset_moci_ctrl { + gpio-hog; + gpios = ; + output-high; + line-name = "RESET_MOCI_CTRL"; + }; +};