From patchwork Tue Sep 9 14:55:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 37124 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3B8CD20C93 for ; Tue, 9 Sep 2014 14:56:22 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b6sf57255895yha.1 for ; Tue, 09 Sep 2014 07:56:22 -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=ThwrE3AOW9m7SR5RfctmeLeuwpmrNVCgnqGlDO9cQHM=; b=g8jWoDd1nO53Wb3BLRzJnUUtFqRo8+lbKXZIllsKzdVAStflK4f3noWqKNODhYX/zY NqfwiSlZbMVyFAJrTChH7Iazl7nBrCBGzn1FlQb58oiN3kWXMjOdiIQpypjt19yx3k0w /im2WirsNaACBzNDgueZXB7le+T1/V6R/WL2vPSWOpOpZfaf3+oPoZFrfN8doYsvfyNl tIaD96wC7yQh+3unH210DmzU9Q+ckj50kU7MeaIPdy+wd4N2PFNUu8RwtHV9Qt3CmjNI z15L0oKrW16fcg8IWYw3Pwron4MzNcEi6gX/VYUoNniijCJbPIrzUCBqE+obg7CfViNg cu0w== X-Gm-Message-State: ALoCoQlDpLdgwT3ak3rDEkPPRVj9UgjFxRvOBtD8uAm7DzrGO/PnRSkQex9kYRHW721CKYGCbGtu X-Received: by 10.236.23.230 with SMTP id v66mr1342572yhv.53.1410274582090; Tue, 09 Sep 2014 07:56:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.230 with SMTP id j93ls1174214qgf.31.gmail; Tue, 09 Sep 2014 07:56:22 -0700 (PDT) X-Received: by 10.52.138.210 with SMTP id qs18mr26144033vdb.18.1410274582021; Tue, 09 Sep 2014 07:56:22 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id fg6si5865324vdc.31.2014.09.09.07.56.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 07:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so17178374vcb.16 for ; Tue, 09 Sep 2014 07:56:21 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr3457147vdb.27.1410274581895; Tue, 09 Sep 2014 07:56:21 -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 uj3csp296589vcb; Tue, 9 Sep 2014 07:56:21 -0700 (PDT) X-Received: by 10.66.180.98 with SMTP id dn2mr56016118pac.83.1410274579752; Tue, 09 Sep 2014 07:56:19 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si23685831pdi.123.2014.09.09.07.56.19 for ; Tue, 09 Sep 2014 07:56:19 -0700 (PDT) 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 S932519AbaIIO4R (ORCPT + 5 others); Tue, 9 Sep 2014 10:56:17 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:57660 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753703AbaIIO4O (ORCPT ); Tue, 9 Sep 2014 10:56:14 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s89Eu32n009330; Tue, 9 Sep 2014 09:56:03 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s89Eu2w3023916; Tue, 9 Sep 2014 09:56:02 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Tue, 9 Sep 2014 09:56:02 -0500 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 s89EtaMj021075; Tue, 9 Sep 2014 09:55:59 -0500 From: Roger Quadros To: CC: , , , , , , , , , , Roger Quadros Subject: [PATCH v2 07/12] arm: dts: am437x-gp: Add dcan support Date: Tue, 9 Sep 2014 17:55:29 +0300 Message-ID: <1410274534-22826-8-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1410274534-22826-1-git-send-email-rogerq@ti.com> References: <1410274534-22826-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.220.171 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 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..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"; +};