Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp525645rwl; Wed, 9 Aug 2023 19:30:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbInBYkwPmZc4qiIOLIMeoFEfU2WZGFT2zKSlOBw9yuzs8I5b29gdMjzDZq/oIgzKebpQ8 X-Received: by 2002:a05:6808:23c1:b0:3a4:947:c97b with SMTP id bq1-20020a05680823c100b003a40947c97bmr1740068oib.0.1691634651350; Wed, 09 Aug 2023 19:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691634651; cv=none; d=google.com; s=arc-20160816; b=FJF8ESMHEUm+ZWLKiIRf7dCFzjlnXVf2rP9yOKhfKa7NkpvvGhkvxRFyKYh2Fq9rzM fqInQEcvmMmiqfaY7MyVBldpTtJ4hgQd/m4cDiryt7Js82dLTmZSDSDSI5tR3iVUe1Bl TbJZMRsGnb2mYNylsuX2qTUpks026+YY61NhRzLMF/w16HDxwmZwYngOGGaBe6jV8FPo 6scMdkpqWChzbVlcFCOvCnk+OUgAyZ/v8S3ARVrrYPm5w+fo8EaSN641YlBqDyfTtlhS OdIOXCzUuK1hMjq4SzHr9ycnNQnVZJWtSTBgyChClsUdxyDEVqeM0o3eKhH7+RFflqbw 0YMQ== 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=T2Jvzug+TU1fil/sjwLWcwKegAlbi6xOz4QlTOH65sQ=; fh=eTKEQKSE2ueRhENNwjAMhmLl+e4r4eZ4EMvyXFrFMhw=; b=RZuXAqWVErBaQ51h8u7ilSHuGmPR2Y9gvO0mL73xGiSZAJLAWneNxg9GWAgDvSaA4f R+RPLSpk25gXm9K8VrEvWcR+wNIYqqhyq+ixrAdQqKC3ENnucyBKdUe4ITQtHW7O/658 GYLc4M9skzOGd7KA7We1MhoTsQ2ZxnZGMUHJbsqsgfvv5zPbSYrLkpIdb9tpTwF6IYZG CvjPFEuHcXeWpbT09zpUcUfjrrpycNBtgxYxX76+mCce7HOo00UMGtOxGuWQ4BveGwLw A+sQJJ7fy/FfAoEgkGgTrD2xXjRgPvP3+SrggoFE6FxVx5htO70D3R6Tr6XiAq/TItlC eebg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=e3zucApv; 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 s13-20020a17090aad8d00b00263035570e1si547791pjq.89.2023.08.09.19.30.38; Wed, 09 Aug 2023 19:30:51 -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=e3zucApv; 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 S232542AbjHJAjA (ORCPT + 99 others); Wed, 9 Aug 2023 20:39:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbjHJAid (ORCPT ); Wed, 9 Aug 2023 20:38:33 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79FF11729; Wed, 9 Aug 2023 17:38:33 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37A0cKHb018337; Wed, 9 Aug 2023 19:38:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691627900; bh=T2Jvzug+TU1fil/sjwLWcwKegAlbi6xOz4QlTOH65sQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=e3zucApvhzeapjM23v7sgJ7rbbnpiWRL0E53fJCTfFwmsmFejKWh4LKbY+8aN/UNX 6DmNRyybtIjXax3EBc3g7EtUdRBILE1syEGfJaKZb8Fr8bJaR1AukOVPHswtq/K6f6 IbQ0DIId+8yNU7pj8gTfVSyd9kGAt37gK10JPy4I= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37A0cKMs061486 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 19:38:20 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 19:38:19 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 9 Aug 2023 19:38:19 -0500 Received: from lelv0327.itg.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 37A0cGF7014775; Wed, 9 Aug 2023 19:38:19 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dhruva Gole CC: , , , Andrew Davis Subject: [PATCH v3 04/13] arm64: dts: ti: k3-am65: Enable OSPI nodes at the board level Date: Wed, 9 Aug 2023 19:38:05 -0500 Message-ID: <20230810003814.85450-5-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810003814.85450-1-afd@ti.com> References: <20230810003814.85450-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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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 OSPI nodes defined in the top-level AM65x SoC dtsi files are incomplete and may not be functional unless they are extended with pinmux and device information. As the attached OSPI device is only known about at the board integration level, these nodes should only be enabled when provided with this information. Disable the OSPI 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-am65-iot2050-common.dtsi | 1 + arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 2 ++ arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 1 + 3 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi index e26bd988e5224..6041862d5aa75 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -593,6 +593,7 @@ adc { }; &ospi0 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi index 7b1f94a89eca8..2c9c20a9d9179 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi @@ -295,6 +295,7 @@ ospi0: spi@47040000 { power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; ospi1: spi@47050000 { @@ -309,6 +310,7 @@ ospi1: spi@47050000 { power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index 734b051c97000..aac243bacfeea 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -530,6 +530,7 @@ &mcu_r5fss0_core1 { }; &ospi0 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; -- 2.39.2