From patchwork Tue Dec 19 22:32:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Nelson X-Patchwork-Id: 10124661 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D69660390 for ; Tue, 19 Dec 2017 22:32:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15A3829536 for ; Tue, 19 Dec 2017 22:32:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 094B22957F; Tue, 19 Dec 2017 22:32:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AD9829536 for ; Tue, 19 Dec 2017 22:32:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752716AbdLSWc5 (ORCPT ); Tue, 19 Dec 2017 17:32:57 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:38782 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668AbdLSWc4 (ORCPT ); Tue, 19 Dec 2017 17:32:56 -0500 Received: by mail-io0-f195.google.com with SMTP id 87so11092811ior.5; Tue, 19 Dec 2017 14:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qQDZpz7y3X1yQAeZWzlrzm4yxTRsBl4aEVuGecVozwY=; b=MUggeMYrtf/dELnnNPbyvXg3bILDRwUQK4T5fhevZy4z3Dgm4oBuQvHCYRDavzypTQ JvZw0E2NynlTiKlb2hyEe0FznuCxzprStjvANsUefYnHgyFRuXKCClaYqz3TwXIMvzgD yf7N0rWCNQkyMr0soQPt/ADyCBMxsTzSHGVRKKolyAU1nyixmduwb/p46E2bBkGyNbPo 0iKKQgBCuvaiJr3i6aPu6Qw9vzw7445z/THC2UL7Hif9JAUMjgKE8dfh4xhZNfpgZRv3 JJxRJFCQ0+PhjA0KVC9hMai51XY6xD5n1NiUc1E4tzREiETsd36ZgrrPOXGnJGt2JoT5 0ORg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qQDZpz7y3X1yQAeZWzlrzm4yxTRsBl4aEVuGecVozwY=; b=TcXOZszGd+OkrMfa2i6vaUrI17QoS0wwLfyRMzox4Z4TMn9gHQ5NAnTtLqxyxaC23+ 9esIFA88oM6UtpulFYKWM1iRE2PaMvropjUPjZTJLiASkHFrI2fSTAohMOGreV65C2WF itMloaoUnxxsKNwj/NEjsvjH0+qLjbewG79/eAxIO9Ezh9YfeJj3f+xZD8Ec2HgDfi8C nzIY03h+3W6aaP++33xGGp30Juoj/dQCTfpP76vxySbHneMg5Ab0qb89gHdZw6sl8NkF lTR3a4t3S7uFPdPWba/ypUWKO8TjRksPVmZkhUeBhYfnaIFkRm1tVxKVT1ZDXGqazQVQ 6deg== X-Gm-Message-State: AKGB3mLSMi/5oYZBHH+Te6AWgsiAyUgiMxb7SKy7fyW5xMdGaz35crlD 1B5cxlWCsyDpC5j+2o5/VQ1/a2Vv X-Google-Smtp-Source: ACJfBouEzcNN6OlfV4CIqC0Eb0OIMOijKRfHF5LIrIh5rOWJEaXNcqRywdV7gfA2kcylQjPYDe3tTQ== X-Received: by 10.107.6.208 with SMTP id f77mr5772403ioi.54.1513722775394; Tue, 19 Dec 2017 14:32:55 -0800 (PST) Received: from nuc-git.gfnd.rcn-ee.org (24-220-165-182-dynamic.midco.net. [24.220.165.182]) by smtp.gmail.com with ESMTPSA id c196sm8572001ioc.55.2017.12.19.14.32.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2017 14:32:54 -0800 (PST) From: Robert Nelson To: tony@atomide.com, devicetree@vger.kernel.org Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Robert Nelson , Jason Kridner , Drew Fustini Subject: [PATCH 3/3] ARM: dts: am335x-boneblue: enable can Date: Tue, 19 Dec 2017 16:32:42 -0600 Message-Id: <20171219223242.21386-3-robertcnelson@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171219223242.21386-1-robertcnelson@gmail.com> References: <20171219223242.21386-1-robertcnelson@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP BeagleBone Blue: can: enable the dedicated can connector. Signed-off-by: Robert Nelson CC: Jason Kridner CC: Drew Fustini CC: Tony Lindgren --- arch/arm/boot/dts/am335x-boneblue.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblue.dts b/arch/arm/boot/dts/am335x-boneblue.dts index ad988e8b8427..3f2480d05a3b 100644 --- a/arch/arm/boot/dts/am335x-boneblue.dts +++ b/arch/arm/boot/dts/am335x-boneblue.dts @@ -252,6 +252,15 @@ AM33XX_IOPAD(0x930, PIN_OUTPUT_PULLUP | MUX_MODE7) /* (L18) gmii1_rxclk.gpio3[10] - LS_BUF_EN */ >; }; + + /* DCAN */ + dcan1_pins: pinmux_dcan1_pins { + pinctrl-single,pins = < + AM33XX_IOPAD(0x96c, PIN_INPUT | MUX_MODE2) /* (E17) uart0_rtsn.dcan1_rx */ + AM33XX_IOPAD(0x968, PIN_OUTPUT | MUX_MODE2) /* (E18) uart0_ctsn.dcan1_tx */ + AM33XX_IOPAD(0x940, PIN_OUTPUT | MUX_MODE7) /* (M16) gmii1_rxd0.gpio2[21] */ + >; + }; }; &uart0 { @@ -510,6 +519,12 @@ clock-names = "ext-clk", "int-clk"; }; +&dcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&dcan1_pins>; + status = "okay"; +}; + &gpio3 { ls_buf_en { gpio-hog;