From patchwork Thu Nov 13 12:22:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 40751 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1365A24493 for ; Thu, 13 Nov 2014 12:23:42 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf7926824lbj.7 for ; Thu, 13 Nov 2014 04:23:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=ty9Q+HxDOC3/y4BUOVf7182ipOAh0pJhVjjwzrlj9zs=; b=Lj6N7SQlFx6SDgARh0iQG/ixebLJZwYZeDwiAVNXhuky0llcZ2offj/fGtuTZdAuzK xwMu1d5ye/5UMWenNEyu0JFT+M4lsayXyK+gGEkHFD6YK05maQDBqKHI/9Htm3JH2Sgd 1xCk3HyXfJ0adBvpntFZfvzhNDrkzDP74/R5LWfmzQQm0yjAvf34HMnLMlkU/BT3ptEV 2ENIlAf0eyGtqtSnWjYyuOKYYe+nREyJye/JBeHh/Yei9ErtKxR9ntV33cOXaqPy9wJ4 sN8vXT2Nx8B5rM08nr1BDyQ3yA5hBz7t1+2LddRnaX1IJ0DGOmg2XriMqvI1X0nV9giT 50fA== X-Gm-Message-State: ALoCoQnG0AZfquMmzjeiHirlhkPjogLD1jTd9xsQOX14mSefQANbVjcpTKdpFE3BO1JNgZVNUC4Q X-Received: by 10.112.48.98 with SMTP id k2mr355959lbn.15.1415881421119; Thu, 13 Nov 2014 04:23:41 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.83 with SMTP id be19ls121706lab.97.gmail; Thu, 13 Nov 2014 04:23:40 -0800 (PST) X-Received: by 10.112.170.99 with SMTP id al3mr2139179lbc.17.1415881420854; Thu, 13 Nov 2014 04:23:40 -0800 (PST) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id b2si38181368lbm.104.2014.11.13.04.23.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 04:23:40 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by mail-la0-f42.google.com with SMTP id gq15so13338876lab.1 for ; Thu, 13 Nov 2014 04:23:40 -0800 (PST) X-Received: by 10.112.235.196 with SMTP id uo4mr2131012lbc.66.1415881420741; Thu, 13 Nov 2014 04:23:40 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp580114lbc; Thu, 13 Nov 2014 04:23:39 -0800 (PST) X-Received: by 10.66.140.69 with SMTP id re5mr2436258pab.18.1415881419012; Thu, 13 Nov 2014 04:23:39 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zq5si25376305pbb.202.2014.11.13.04.23.38 for ; Thu, 13 Nov 2014 04:23:39 -0800 (PST) Received-SPF: none (google.com: linux-omap-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932790AbaKMMXh (ORCPT + 5 others); Thu, 13 Nov 2014 07:23:37 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:39350 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932562AbaKMMXg (ORCPT ); Thu, 13 Nov 2014 07:23:36 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id sADCNOrE010969; Thu, 13 Nov 2014 06:23:24 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id sADCNO0M028627; Thu, 13 Nov 2014 06:23:24 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Thu, 13 Nov 2014 06:23:23 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id sADCMr1G009642; Thu, 13 Nov 2014 06:23:20 -0600 From: Roger Quadros To: CC: , , , , , , , , , , , , Roger Quadros Subject: [PATCH v4 07/10] arm: dts: am437x-gp: Add dcan support Date: Thu, 13 Nov 2014 14:22:48 +0200 Message-ID: <1415881371-4982-8-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1415881371-4982-1-git-send-email-rogerq@ti.com> References: <1415881371-4982-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mugunthan V N Add DCAN support for AM437x GP EVM with both DCAN instances. [Roger Q] Updated output pin to not use pull up. Signed-off-by: Mugunthan V N Signed-off-by: George Cherian Signed-off-by: Sekhar Nori Signed-off-by: Roger Quadros --- arch/arm/boot/dts/am437x-gp-evm.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index e7ac47f..58594fd 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -254,6 +254,20 @@ 0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7) >; }; + + dcan0_default: dcan0_default_pins { + pinctrl-single,pins = < + 0x178 (PIN_OUTPUT | MUX_MODE2) /* uart1_ctsn.d_can0_tx */ + 0x17c (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_rtsn.d_can0_rx */ + >; + }; + + dcan1_default: dcan1_default_pins { + pinctrl-single,pins = < + 0x180 (PIN_OUTPUT | MUX_MODE2) /* uart1_rxd.d_can1_tx */ + 0x184 (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_txd.d_can1_rx */ + >; + }; }; &i2c0 { @@ -511,3 +525,15 @@ }; }; }; + +&dcan0 { + pinctrl-names = "default"; + pinctrl-0 = <&dcan0_default>; + status = "okay"; +}; + +&dcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&dcan1_default>; + status = "okay"; +};