From patchwork Tue Feb 22 11:39:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Prasath Gujulan Elango X-Patchwork-Id: 12754930 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1386CC433FE for ; Tue, 22 Feb 2022 11:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kSkhIU9AtOvflmvp5Mg2OiA59gR997h+iVm9A+m9vVo=; b=hfOf+t3rD/L/RN anDfsq2/hpOYNXU6FTZQRevMh5QSXb0jZ4do0PYjztNpgGeF18ZBFD8zOU8IY2l5gLZDKAQlITzst /XA5yPvL0nJw+ByyseQwt9zm6JWNYw93/3LRsOLhTTW9cYGNV5wzQWsuRfqXLhskPuazh4zQF9IaE KAb46BekuNOZ9EInNj2fu/BXMtkpd0gnUK8K5I3xlzxE7cmY41TEikA4FLijSjtFsEVj7wBx+J6fY WflBpNcVW2GMIQvyJohYKq7PfdyfHmaZ381V7rEBpBza/pDUfTKxVxr6aoo8ltecgbAcIvvkiuY/+ qgQ1l1tfXm8pVQCMvIuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMTWU-009QvC-Pn; Tue, 22 Feb 2022 11:40:02 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMTWI-009Qqb-LS for linux-arm-kernel@lists.infradead.org; Tue, 22 Feb 2022 11:39:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645529990; x=1677065990; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=vTBBdEJPDTv9Jo14PTFuc9Ho0MLN95dGKxtfaf1LydE=; b=dTG7Pu4ULKAijALyCuk6oopfWUix3uKa8/ryZ9LIaVqGDKmDMmC+nVCH WxAv6xJY86ZkVD+s0EmOXMNknOMDoVFpevHDtlAIjQ5skvUriJjHhLc4M 2vBn0TWX46PD9TW7uik45o9goKqdLwySxBelSyF7povS4iDXGa9TlrGYh OhDQEhzhXO7uzvUj/0nE+a6dtYWoIVpfqyM+VKAEIQHUQxsJHlgV/nUOO 0kHJnCJnWeJDsUFUXZ9O866JygLJsnISfrdEhPAEL+fsoEpHBAeSp1UCY LbXZhZMNc3/+XLdFIgn8W8dLkMMNW9rh+KtYLIIIMQ6QIaNcFH7FBmMZa Q==; X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="149554587" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Feb 2022 04:39:48 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 22 Feb 2022 04:39:48 -0700 Received: from hari-laptop.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 22 Feb 2022 04:39:42 -0700 From: Hari Prasath To: , , , , , , , , , CC: Subject: [PATCH] 3/3] ARM: dts: at91: sama7g5: Enable can0 and can1 support in sama7g5-ek Date: Tue, 22 Feb 2022 17:09:24 +0530 Message-ID: <20220222113924.25799-3-Hari.PrasathGE@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220222113924.25799-1-Hari.PrasathGE@microchip.com> References: <20220222113924.25799-1-Hari.PrasathGE@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220222_033950_841978_C02B3CBC X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the can0 and can1 controllers in sama7g5-ek board along with its pin mux settings. Signed-off-by: Hari Prasath --- arch/arm/boot/dts/at91-sama7g5ek.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts index ccf9e224da78..5211a8c9a19c 100644 --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -131,6 +131,18 @@ status = "okay"; }; +&can0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_can0_default>; + status = "okay"; +}; + +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_can1_default>; + status = "okay"; +}; + &cpu0 { cpu-supply = <&vddcpu>; }; @@ -454,6 +466,19 @@ }; &pioA { + + pinctrl_can0_default: can0_default { + pinmux = , + ; + bias-disable; + }; + + pinctrl_can1_default: can1_default { + pinmux = , + ; + bias-disable; + }; + pinctrl_flx0_default: flx0_default { pinmux = , ,