Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1193859imm; Fri, 11 May 2018 12:29:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrtiZuW+/5zvkyNU+RvYWFtycRwcMuieqSMdfaS5BPTYM07mmbBZPXtWMqeW+erGpyOCbnU X-Received: by 2002:a17:902:c24:: with SMTP id 33-v6mr6581719pls.88.1526066967496; Fri, 11 May 2018 12:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526066967; cv=none; d=google.com; s=arc-20160816; b=KRP48ajh0sB6VzZLpDRwH6QIVHR+VLWVo5oxgi7FIADhJD3M6W+NReQwlMQ1Qep4BX K57bdnFZkjuwWwEkWRxKYILQ4KbLsqeCrehTFn3bvyT36QUeiuH1xl0OTfE50I8jGPpQ vWmqBWxqUkq7VuxOd3BLlFHE1hsf4lhft3p3Twidzu8R/GpLyYEg9qdtMeI+DGazs86t ugb0/hPtrM8/DBkpRjQsYmHRhKScGyck/TELrqe3Gwxpk3Sx3U/FWt6KlDJGL0bUNBHi K8RlA4WRQsJQS0i/rRskJRYANG7ik+WUg1ev0SAM+bXkFZOBf0Iv2CFZI6RX7vtXrAB0 ialA== 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:to:from:dkim-signature :arc-authentication-results; bh=wPM3TwF1QbOFZjmepNNMXWEWqlugP+VCmNU1cgbSvhM=; b=qa0Jfw2CHBjEhgVfKWGcspN3nKnVzzYNGCzwvzAiWiW09C02o0p6Fn4dbRH282wDKz +mQnTT91en3J0weDny6y8KVu1xsDxqzLwwoxzJDcuwYZb0ug6M+3u9jnTX9wT7oO5//4 vX2C5fieih8CGSyrhIGQLf3u+HsY6wc1B/wME9vd+4t6Rr1anvxlnS5ZGZ7ZQuN2ex/E SHTSMvwV/cJoHEJ8D1qHKTPuk1IHmsTG+sd3GJF0COmV0eBYbcakEib7YGpp3+pioANk NDE4k+bWjtRVl0I94cb7CTmkSCPJA7z72KSKzChIZAhW0tG7bimck5cEOlkg4KrSDqHC b7RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KncZk2qF; 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; 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 v4-v6si3124962pgn.260.2018.05.11.12.29.05; Fri, 11 May 2018 12:29:27 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KncZk2qF; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751879AbeEKT1B (ORCPT + 99 others); Fri, 11 May 2018 15:27:01 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:48446 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbeEKT07 (ORCPT ); Fri, 11 May 2018 15:26:59 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4BJQGmd024867; Fri, 11 May 2018 14:26:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526066776; bh=wPM3TwF1QbOFZjmepNNMXWEWqlugP+VCmNU1cgbSvhM=; h=From:To:Subject:Date:In-Reply-To:References; b=KncZk2qFXLwBAHrgSTQzvpatEZcvZ/E1wU9YddWBes/7wLIO6cssjyGwEY5UlhktE JrX0XiehzBwc0KBIA7i0SZe3lWbBXA8M+Yd34fwYkHqqwXoQagTuWRJO/QIxj7Jedv m6v8nj6JQbU1p8T6wFxGpvEGF8gtPEPWmMfyacHE= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BJQG4C029010; Fri, 11 May 2018 14:26:16 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 11 May 2018 14:26:16 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 11 May 2018 14:26:16 -0500 Received: from ula0868495.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BJQEk2025281; Fri, 11 May 2018 14:26:16 -0500 From: Murali Karicheri To: , , , , , , Subject: [linux-next PATCH 2/4] ARM: dts: keystone-k2g-evm: Enable netcp network driver Date: Fri, 11 May 2018 15:29:10 -0400 Message-ID: <1526066952-5230-3-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1526066952-5230-1-git-send-email-m-karicheri2@ti.com> References: <1526066952-5230-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dt bindings to enable netcp network driver on K2G GP EVM. This consists of enabling bindings for nss qmss, pktdma, 2u ethss, mdio, pinmux and netcp devices. Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone-k2g-evm.dts | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index 154fdd7..f028a00 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -128,6 +128,30 @@ K2G_CORE_IOPAD(0x1228) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE1) /* qspicsn3.dcan1rx */ >; }; + + emac_pins: pinmux_emac_pins { + pinctrl-single,pins = < + K2G_CORE_IOPAD(0x113C) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_RXD1.RGMII_RXD1 */ + K2G_CORE_IOPAD(0x1138) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_RXD2.RGMII_RXD2 */ + K2G_CORE_IOPAD(0x1134) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_RXD3.RGMII_RXD3 */ + K2G_CORE_IOPAD(0x1140) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_RXD0.RGMII_RXD0 */ + K2G_CORE_IOPAD(0x1178) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_TXD0.RGMII_TXD0 */ + K2G_CORE_IOPAD(0x1174) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_TXD1.RGMII_TXD1 */ + K2G_CORE_IOPAD(0x1170) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_TXD2.RGMII_TXD2 */ + K2G_CORE_IOPAD(0x116C) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_TXD3.RGMII_TXD3 */ + K2G_CORE_IOPAD(0x1154) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_TXCLK.RGMII_TXC */ + K2G_CORE_IOPAD(0x117C) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_TXEN.RGMII_TXCTL */ + K2G_CORE_IOPAD(0x1120) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_RXCLK.RGMII_RXC */ + K2G_CORE_IOPAD(0x1144) (BUFFER_CLASS_D | PULL_DISABLE | MUX_MODE1) /* MII_RXDV.RGMII_RXCTL */ + >; + }; + + mdio_pins: pinmux_mdio_pins { + pinctrl-single,pins = < + K2G_CORE_IOPAD(0x118C) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* MDIO_CLK.MDIO_CLK */ + K2G_CORE_IOPAD(0x1188) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* MDIO_DATA.MDIO_DATA */ + >; + }; }; &uart0 { @@ -294,3 +318,32 @@ pinctrl-0 = <&dcan1_pins>; status = "okay"; }; + +&qmss { + status = "okay"; +}; + +&knav_dmas { + status = "okay"; +}; + +&mdio { + pinctrl-names = "default"; + pinctrl-0 = <&mdio_pins>; + status = "okay"; + ethphy0: ethernet-phy@0 { + reg = <0>; + }; +}; + +&gbe0 { + phy-handle = <ðphy0>; + phy-mode = "rgmii-id"; + status = "okay"; +}; + +&netcp { + pinctrl-names = "default"; + pinctrl-0 = <&emac_pins>; + status = "okay"; +}; -- 1.9.1