From patchwork Tue Sep 9 06:07:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 4866051 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DF3B69F32E for ; Tue, 9 Sep 2014 06:10:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2810A20145 for ; Tue, 9 Sep 2014 06:10:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4B460200D0 for ; Tue, 9 Sep 2014 06:10:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XREbr-0001mE-Qj; Tue, 09 Sep 2014 06:09:00 +0000 Received: from mail-pd0-f178.google.com ([209.85.192.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XREb7-00019y-Hh for linux-arm-kernel@lists.infradead.org; Tue, 09 Sep 2014 06:08:13 +0000 Received: by mail-pd0-f178.google.com with SMTP id p10so5331732pdj.23 for ; Mon, 08 Sep 2014 23:07:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JJ2icNZb9lAc48V2zpseZRyiWC+5BCJ3o6kbhuA1B/U=; b=W60tJMLhNOtBjIo4VHdxIgogRtoeW6sRj5Xa1Njtyk9tng4hsGkEJVH2R9DWHgcluJ GEtHWunaY3J/MNRBcM8kPiLha5AXz1tdd3eijGHR21vQvqiyZExBfGEBTdKpWxoVTTQi boZvCxOu5PbR0N9kvOFuZJaHEyfTrn2GQU633h+0Yg/kPO2lM9qQ8L31wyeT+egEI989 3rEkCM9AxYz3zZASED5yyxqOuZz3vLfkXEKadbFyXIZeOSx7EsdxOBe96U+celmi2hNK HQUxnEMovkrifKZxfR7RDQpMyyCmGGYGVbFHSKgwJAiiwD+4Q0J/xlZ9JDfGMvPAkYsx B/Ow== X-Gm-Message-State: ALoCoQm/B9mjLcJwbelnfKSr5ZuUxUXV5cJxJ4LS2r+rs015moheGTTBOV9Ezc0CrDfTAXfae4vn X-Received: by 10.70.128.137 with SMTP id no9mr12762519pdb.143.1410242872076; Mon, 08 Sep 2014 23:07:52 -0700 (PDT) Received: from tharvey-gw.gw (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id fp6sm10644315pdb.4.2014.09.08.23.07.51 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 23:07:51 -0700 (PDT) From: Tim Harvey To: Shawn Guo Subject: [PATCH 6/6] ARM: dts: imx: ventana: add canbus support for GW52xx Date: Mon, 8 Sep 2014 23:07:31 -0700 Message-Id: <1410242851-30765-7-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1410242851-30765-1-git-send-email-tharvey@gateworks.com> References: <1410242851-30765-1-git-send-email-tharvey@gateworks.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140908_230813_606328_83D68300 X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: -2.5 (--) Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The GW52xx baseboard supports CANbus so we enable it, configure its pinmux and CAN_STBY gpio. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 6d137b4..d3c0bf5 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -145,6 +145,12 @@ status = "okay"; }; +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + status = "okay"; +}; + &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; @@ -352,6 +358,14 @@ >; }; + pinctrl_flexcan1: flexcan1grp { + fsl,pins = < + MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1 + MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b1 + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x4001b0b0 /* CAN_STBY */ + >; + }; + pinctrl_gpio_leds: gpioledsgrp { fsl,pins = < MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0