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: 10124665 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 C472A60390 for ; Tue, 19 Dec 2017 22:33:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBC4F2956F for ; Tue, 19 Dec 2017 22:33:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B079E2959B; Tue, 19 Dec 2017 22:33:41 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 443442956F for ; Tue, 19 Dec 2017 22:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hedQGo/WAp/meEn7iznCvZGUCs6lMrjZAhmmYA/+xMU=; b=BRpT9VPA4tFvk83e4ZWj45MyZU nTRVWs9gtfSq7vvzH7h4CSy9lZ49Nk9aTp/qai3v7fCyFZbat0jURt9l8WepZni6vHtYX1PNWhjU3 qdE9MthocLM69lpejAXNiZ6pCEfoWhltoUu/ZUzimxvkwKlTHCLifENwvU5rqgqZGnLqLhSJtHaiH 3S829nes+NnSrQFj9t0z8U216sIthywBBQZkEDlfGHGd0OA9hqJg+/4/Tw7gsox9V07zl++HQPUlX UX9W/xWd6OltaEcClW+UJGZVBAQhvLhZFtV49XMXW9G0yOxhNbxVEFg7Q3ULmsL3S6MJzm4Syz8Uq FZeMTQMw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eRQSA-0004vr-Hi; Tue, 19 Dec 2017 22:33:38 +0000 Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRQRe-0004Ra-MI for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2017 22:33:12 +0000 Received: by mail-io0-x244.google.com with SMTP id t196so15254009iof.0 for ; Tue, 19 Dec 2017 14:32:56 -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=UZgVlw0WXZJoTDjWZ2oYAIsCULVV02dji8f9CuonykVNq+pKYkyLZ17CSzrlLjGigB E2Rb3/ToTxZhWLgjt7Ji3ktxMcUPAfl883OZR6FTGicpNuXu02dJe8/06IW5EUBzrYlE hC2YrmkJn4SE/D625GdhWfra292xcpM6hae5R2ixNAe72xEPTWpSfX/H8RvvSCnz8Ad5 8Gn5rus1PeFMszjvByeIyNroi3OfdU/nuvzC3Mjc+6d7qDaVaUbjkQUlcgpT0V1+Z4iB pPVwbvO5qjPtE0Tk7ZzwJNem1EmVt6QG7rg4VRcmyNThFPGydkOI3w2qvKO4c9Ep07Ko orSg== X-Gm-Message-State: AKGB3mJ4EWQRTAuHDGe7l1btaciRRR5W24K1ytDiomXErmHbmpgHQH9D HTDV2kxsvfWFxzVtcrzQEGc= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171219_143307_292474_DFFBFB18 X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Drew Fustini , linux-omap@vger.kernel.org, Robert Nelson , linux-arm-kernel@lists.infradead.org, Jason Kridner MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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;