From patchwork Mon Sep 8 14:10:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 36997 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9452A20DE9 for ; Mon, 8 Sep 2014 14:12:02 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id 79sf6802409ykr.3 for ; Mon, 08 Sep 2014 07:12:02 -0700 (PDT) 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=YZ7YS9ezy4Thdig3bR16RJ753w3h5daDzMAnydClf6c=; b=bECQQGAXLg4QowF8eYvw5Pf80zK0//w2Z7zApSAva3vm1wPcRrH6BETd6WhFYld3ec s/0qtTAIRpDxXsbf0H/aFyAVvbp/zm1V1jnyxqkOUNlDe102fDDtIiziasP8RvF0u/u1 YuHiLvCDtBgLDG2GaRERryC+3BbY8M7x2styiYYiIG+GbDc58I8MePThniNpGdPSq5DY NpEIyOJqvZ3QHjF5a9CvuMTSpbl0qxLVwBHA47iA0/azEF7zS+tqMT86xxdm1LjE+6Gi mFPdVK4IGTzYWCIpWvmQo/B6xyVMRs2v3hVdZsQm2xZ+S089zjaK6cRsZlZZ1ZdesDHh mA0g== X-Gm-Message-State: ALoCoQmoop/5TsoOFAScaYJKbxfOXDrzrmLO4fw96OnGKGP6dIf0+xuNsZSuzsgBoK16DJHZ7ec3 X-Received: by 10.236.108.172 with SMTP id q32mr18002717yhg.0.1410185522430; Mon, 08 Sep 2014 07:12:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.207 with SMTP id u73ls754100qge.34.gmail; Mon, 08 Sep 2014 07:12:02 -0700 (PDT) X-Received: by 10.220.59.138 with SMTP id l10mr265611vch.59.1410185522237; Mon, 08 Sep 2014 07:12:02 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id h4si4596226vdx.8.2014.09.08.07.12.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 07:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ik5so15083628vcb.7 for ; Mon, 08 Sep 2014 07:12:02 -0700 (PDT) X-Received: by 10.52.97.233 with SMTP id ed9mr21485987vdb.16.1410185522171; Mon, 08 Sep 2014 07:12:02 -0700 (PDT) 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.221.45.67 with SMTP id uj3csp140053vcb; Mon, 8 Sep 2014 07:12:01 -0700 (PDT) X-Received: by 10.68.132.225 with SMTP id ox1mr20589743pbb.99.1410185521170; Mon, 08 Sep 2014 07:12:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jd1si18166235pbd.65.2014.09.08.07.12.00 for ; Mon, 08 Sep 2014 07:12:01 -0700 (PDT) Received-SPF: none (google.com: netdev-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 S1754572AbaIHOLq (ORCPT + 3 others); Mon, 8 Sep 2014 10:11:46 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:48470 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754562AbaIHOLo (ORCPT ); Mon, 8 Sep 2014 10:11:44 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s88EBMSU009719; Mon, 8 Sep 2014 09:11:22 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s88EBMdl000560; Mon, 8 Sep 2014 09:11:22 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Mon, 8 Sep 2014 09:11:22 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s88EAi0G014173; Mon, 8 Sep 2014 09:11:19 -0500 From: Roger Quadros To: , , CC: , , , , , , , , Subject: [PATCH 10/13] arm: dts: am437x-gp: Add dcan support Date: Mon, 8 Sep 2014 17:10:39 +0300 Message-ID: <1410185442-907-11-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1410185442-907-1-git-send-email-rogerq@ti.com> References: <1410185442-907-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: netdev@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.220.176 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. Signed-off-by: Mugunthan V N Signed-off-by: George Cherian Signed-off-by: Sekhar Nori --- 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..6d03baa 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_PULLDOWN | 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_PULLDOWN | 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"; +};