From patchwork Tue Nov 4 10:48:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 40123 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 1E83224113 for ; Tue, 4 Nov 2014 10:49:59 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf7469729lbj.11 for ; Tue, 04 Nov 2014 02:49:58 -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=6IyGKZn36HwP5zWaxCN/rlRzJLTOddBevvQEBbEAFi8=; b=PIsnGqaWcKcAr7JNTL/+uPjddHVqbUC4EQxLGr/9HRL6p3k0U0R/mcCckuSawIdPaG Y8I3yGVTPMq9R+V6CoYpnuzy9ieVhYQDpej1nD5KDrz0EIsajNQUBKNpUl0wA9Hx5dx2 KO59uKVT3lgNJbIR0z3EF8nDZmpv9A1IrzaMPzLkIF6FyV8/LYxX4SjmuEHL5yzY1G2s VW394Ob90dJ8AXP4breWoVDKfz6VCJ0br87ZA07YfvJmfx+l2cc6QWepACdOx8fqdfgH fFRp/qd9ZyeVQi3uM4aAbzsfYzVLDHgl+fGt5ZfrOdxtm4zsH3KGSaqheOAHQd1uLlT6 N4ag== X-Gm-Message-State: ALoCoQl4tZckENl6CjeFYKTWHPktOyhNLcj2yV+k+UGbRsGibC9IGblQ17byW8QIvyJQlikCugE9 X-Received: by 10.112.137.202 with SMTP id qk10mr486626lbb.11.1415098197961; Tue, 04 Nov 2014 02:49:57 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.9 with SMTP id ls9ls256876lac.44.gmail; Tue, 04 Nov 2014 02:49:57 -0800 (PST) X-Received: by 10.152.170.194 with SMTP id ao2mr58762491lac.60.1415098197665; Tue, 04 Nov 2014 02:49:57 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id t13si36912001lal.121.2014.11.04.02.49.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Nov 2014 02:49:57 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id z12so2358660lbi.8 for ; Tue, 04 Nov 2014 02:49:57 -0800 (PST) X-Received: by 10.152.29.8 with SMTP id f8mr58347714lah.56.1415098197459; Tue, 04 Nov 2014 02:49:57 -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 ew9csp95722lbc; Tue, 4 Nov 2014 02:49:56 -0800 (PST) X-Received: by 10.67.30.17 with SMTP id ka17mr48323220pad.62.1415098194879; Tue, 04 Nov 2014 02:49:54 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fq1si16971285pdb.197.2014.11.04.02.49.54 for ; Tue, 04 Nov 2014 02:49:54 -0800 (PST) Received-SPF: none (google.com: devicetree-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 S1753262AbaKDKtw (ORCPT + 4 others); Tue, 4 Nov 2014 05:49:52 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:33604 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753224AbaKDKtn (ORCPT ); Tue, 4 Nov 2014 05:49:43 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id sA4AnR9e016512; Tue, 4 Nov 2014 04:49:27 -0600 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 sA4AnR9r018029; Tue, 4 Nov 2014 04:49:27 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Tue, 4 Nov 2014 04:49:25 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id sA4AmutV007794; Tue, 4 Nov 2014 04:49:22 -0600 From: Roger Quadros To: CC: , , , , , , , , , , , , Roger Quadros Subject: [PATCH v3 07/10] arm: dts: am437x-gp: Add dcan support Date: Tue, 4 Nov 2014 12:48:51 +0200 Message-ID: <1415098134-26405-8-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1415098134-26405-1-git-send-email-rogerq@ti.com> References: <1415098134-26405-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.217.177 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"; +};