From patchwork Wed Oct 19 11:23:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 684060 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3szVSj6Fljz9t0p for ; Wed, 19 Oct 2016 22:43:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6100FA7599; Wed, 19 Oct 2016 13:43:32 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RsyDGYXshvKv; Wed, 19 Oct 2016 13:43:32 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CA6DAA758E; Wed, 19 Oct 2016 13:42:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E85E4A7558 for ; Wed, 19 Oct 2016 13:25:22 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLyCzLU9sy8m for ; Wed, 19 Oct 2016 13:25:22 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by theia.denx.de (Postfix) with ESMTPS id 050C7B3817 for ; Wed, 19 Oct 2016 13:24:16 +0200 (CEST) Received: by mail-pf0-f194.google.com with SMTP id i85so2254789pfa.0 for ; Wed, 19 Oct 2016 04:24:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KCpONe3JtAjuYTPZ6/TQaS1C+r+0QowRsKLjWUJn3R4=; b=a0+pNMOxUFv34PSuy9fIE2A5mPOK2bRtC9z5ImFhsEsXdVSMH7SlWeukJpijx9nbb1 qw10leBdWWJYDNHOVPefqbVri4dc1H9CHElMTvlgjIYxqzFMuZwMDD8pPr/XnFt2bh8n b2DrIdc6gMvc4q5i9823laxRyMOMz2YbI4HtLAgMop7REsWk60BQo4ID1XbnCddaM6UZ G92OJy5EV91wNCmH2MtrA8dg3B6GTrgBLfZsuv7y2J5tMZb2QjWpR4rgHH0IFaWkB+j9 pO7d3tFEC4XI83xvCSclxJ15oGNoRf3efkhpMUVftc1S+BGj1EcZA+lAKsDRyVWIIkS2 /CQw== X-Gm-Message-State: AA6/9RnukgquNU1Z8HofHWZVhSo8PXIPNgw26p1wl1hb6PGnwGi6TXGfSCqad2soyo9E+g== X-Received: by 10.99.66.130 with SMTP id p124mr8644287pga.30.1476876254345; Wed, 19 Oct 2016 04:24:14 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id t5sm33216034pfb.58.2016.10.19.04.24.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Oct 2016 04:24:13 -0700 (PDT) From: Jagan Teki To: Stefano Babic Date: Wed, 19 Oct 2016 16:53:25 +0530 Message-Id: <1476876206-32048-5-git-send-email-jteki@openedev.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476876206-32048-1-git-send-email-jteki@openedev.com> References: <1476876206-32048-1-git-send-email-jteki@openedev.com> Cc: Matteo Lisi , Joe Hershberger , u-boot@lists.denx.de Subject: [U-Boot] [PATCH v7 4/5] ARM: dts: imx6qdl-icore: Add FEC support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Jagan Teki Add FEC dts support for Engicam i.CoreM6 dql modules. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Acked-by: Joe Hershberger Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-icore.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/dts/imx6qdl-icore.dtsi b/arch/arm/dts/imx6qdl-icore.dtsi index f424cd5..a485c3e 100644 --- a/arch/arm/dts/imx6qdl-icore.dtsi +++ b/arch/arm/dts/imx6qdl-icore.dtsi @@ -75,6 +75,14 @@ assigned-clock-parents = <&clks IMX6QDL_CLK_OSC>; }; +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + phy-reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + phy-mode = "rmii"; + status = "okay"; +}; + &gpmi { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; @@ -118,6 +126,22 @@ }; &iomuxc { + pinctrl_enet: enetgrp { + fsl,pins = < + MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0 + MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x1b0b1 + MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0 + MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0 + MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0 + MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0 + MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0 + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 + MX6QDL_PAD_ENET_REF_CLK__GPIO1_IO23 0x1b0b0 + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 + >; + }; + pinctrl_flexcan1: flexcan1grp { fsl,pins = < MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b020