Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp133474rwi; Tue, 18 Oct 2022 15:16:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5gRf1LfUDe8oVWyIvwUB9MuAYCxWOykdm7iCVlEUmgzEIaBPL9SansAhPvPabxMLg/lfZA X-Received: by 2002:a17:902:b94c:b0:178:336f:13d6 with SMTP id h12-20020a170902b94c00b00178336f13d6mr5380533pls.64.1666131413667; Tue, 18 Oct 2022 15:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666131413; cv=none; d=google.com; s=arc-20160816; b=QM8ls+S+R3ySHG+PnA//KVVC0C5kz515ld+c8OgV+FlBr9xP0KzUMBMiqUs9vq+DQz f8DI0ywrdzwXhKRLZpIGr8zJxqFqB/XuapsRKrzuz/yiNaTJIzf4GFjGtsZSj1lTaNl9 fSMS8pxRHWYggntQCebAh2yscJO6x6s6+g2zxPrq8INlrLwrP4uwioj7voZPq78XNAZj zai2RBKiISVuZyviwAAEpwRwYGIZz6iWyITBVGgpX0omw/o6T1t1inMGJ/G8RUPROkY7 w0jpHTI7MMNB+uww4gvyyEOXWM/zw+iCYt+V4VSe3e7EuxiZn8ep+fxvNJtVhXgQqrkd bI9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ynKL0Sd3SS9FgVBdB3JB/48+L76XQNXQPeXcaOoNpdw=; b=pnwUQHal0fNHH3WK5eWT4E9WNWcCXV6bYx0SLCPrjvU2sqxB20o533I4wfKuKHLyaB xQM4zoBywKb6Er/RmwQ1bOp0EVUNl128UmYymklqpeS5Plp8iw2geT84hEwDWHn7yBUK GoIzUjndGYcD4STwZDibhTVjTd2fG/cVOeq3yrihU3+buE0p7TzcteB2n8mtlxUNfJ40 laLJcCe+/gO/2TqSwSkmDvUTdBtIy8xIJTmTooFs00wD7+6khWVIZicnfQMvmp9KXsAJ EsbNUp7Ddyq6DxixG/oBE9iVK5yYGpbexAnPgv0jSht7iNBGeUd1ccmOcwvtWeA8jEva XGHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aYO023Px; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h21-20020a170902f7d500b001781675f424si14014465plw.548.2022.10.18.15.16.40; Tue, 18 Oct 2022 15:16:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aYO023Px; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229970AbiJRVQO (ORCPT + 99 others); Tue, 18 Oct 2022 17:16:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbiJRVPx (ORCPT ); Tue, 18 Oct 2022 17:15:53 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34B259DFA7; Tue, 18 Oct 2022 14:15:52 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29ILFdm5098744; Tue, 18 Oct 2022 16:15:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666127739; bh=ynKL0Sd3SS9FgVBdB3JB/48+L76XQNXQPeXcaOoNpdw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=aYO023PxsaQgBV9jMNwnxfY8lGklr2Ur44LtCIKRPMFOWIV1VOZlnRKfK2uR3NTZJ ZJ+FpBuqBdULR2+MEJhIqFBeyaPS4OdJ2LmYuehuqbzsLwP2QDvjwIEN5UNEkx9Br/ bjYNnXHkaJ/mvF9pQdZXxEeK3RfiIoB/KpPUvICA= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29ILFdVZ005850 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 18 Oct 2022 16:15:39 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 18 Oct 2022 16:15:38 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 18 Oct 2022 16:15:38 -0500 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29ILFXoI014456; Tue, 18 Oct 2022 16:15:38 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Bryan Brattlof , , , CC: Andrew Davis Subject: [PATCH 08/10] arm64: dts: ti: k3-am62: Enable MCAN nodes at the board level Date: Tue, 18 Oct 2022 16:15:31 -0500 Message-ID: <20221018211533.21335-9-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221018211533.21335-1-afd@ti.com> References: <20221018211533.21335-1-afd@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MCAN nodes defined in the top-level AM62x SoC dtsi files are incomplete and will not be functional unless they are extended with pinmux information. As the pinmux is only known at the board integration level, these nodes should only be enabled when provided with this information. Disable the MCAN nodes in the dtsi files and only enable the ones that are actually pinned out on a given board. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 + arch/arm64/boot/dts/ti/k3-am625-sk.dts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 5169f77cd37a..43eebff429ab 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -607,6 +607,7 @@ main_mcan0: can@20701000 { ; interrupt-names = "int0", "int1"; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; + status = "disabled"; }; epwm0: pwm@23000000 { diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index b8938eb9c55a..b6d53366ec50 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -452,7 +452,3 @@ partition@3fc0000 { }; }; }; - -&main_mcan0 { - status = "disabled"; -}; -- 2.37.3