Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp173575rwe; Fri, 14 Apr 2023 00:35:05 -0700 (PDT) X-Google-Smtp-Source: AKy350YPZ5WJXTdVIRgbOUPO+RZhyAC/JSNMKc5DMreGv+59Va+ks43EpdS+kykqj0kqfb0bccPw X-Received: by 2002:a05:6a00:190b:b0:63a:e097:26b with SMTP id y11-20020a056a00190b00b0063ae097026bmr6693384pfi.13.1681457705518; Fri, 14 Apr 2023 00:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681457705; cv=none; d=google.com; s=arc-20160816; b=tqBke/RCssl3P9FGCfzN5dzAyKfOdaSznr6b4GiBs06KrgAW5chmpMvXIErN0uTZFQ AVtoe1r1XZbVVxLa0aHHMFVAeYQ1YfRG4hvWwpKh2aBvQgF7qDA9DyGlghFN6j7edXB+ +bYf5mCF/adFUEbvv4fCtMdUg2E5TVXyaWMhl0LBuxGAwipFi/+DIZ36tnaFU2mP4PTq +4bvnd1l7Zr1wWDZirTxJILPNWxRiu4/QtsvZKUQsWgQD6bN6/KmgJKzaKEzPftWzS9e EkHgSf/bV+tXvYPeukWLeEH8YyjycWUEB7VVeMvpxEpFmYBGTAEKmgl7XExc8WvA5kY+ OvhQ== 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=JxDfSsK08/rjTYb60J8bLnFoncQAq6orxeKt3OQMQJM=; b=KmccHYfsi9eH3wac4/XdO2hYClO0yYvdKf4gDhGdBmqe8NmDIj34QkN8ZxnFsFIb6v gCFWQv37I+H3Bzjzq70iSDl0SW9RRTgzeJdbdJm5xcsHuPkSKl+n1nGni5Eq8vikUtdl exSsp8JzxQ+ZZsB/3QNAolUqv0fFb99kHwKUbVr+CAg4ArQ8lQ7QbQ/WQHuPdEWwbtXI MubEfoMzJsqCUK5aPou1fW5KoAbgofTyDlEMvIFcjJJnlQ1EVvWyPblIPGlXi8v+R1G2 d+OqY5fJeRqshsaWhw+ZimXofl3rqp1CEVgSNlrVjSXxzTrB2SO7xEcNWMn2Eu0dqZhv V8Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JHOIUrNc; 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 t70-20020a638149000000b0050c0de283bcsi3969526pgd.777.2023.04.14.00.34.54; Fri, 14 Apr 2023 00:35:05 -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=JHOIUrNc; 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 S229917AbjDNHeN (ORCPT + 99 others); Fri, 14 Apr 2023 03:34:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbjDNHdy (ORCPT ); Fri, 14 Apr 2023 03:33:54 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62F744C06; Fri, 14 Apr 2023 00:33:53 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33E7XZoc010931; Fri, 14 Apr 2023 02:33:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681457615; bh=JxDfSsK08/rjTYb60J8bLnFoncQAq6orxeKt3OQMQJM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JHOIUrNcDLQJN0GcmfoG3lZZ0h2qeuBWX+4ZHFHNrUdOY26mmOJcCWHA9+7rDcqow FEZJmYuORAMPTVdXs4rZQt/mM7m1xZNFq09NwN2tYvq/7+Ht2q+ph9JSL1unPS/JkM y4Q+B2KMi42m92xYClVHfwF4G0g/Y7nWR6kGYuUk= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33E7XZQN023513 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Apr 2023 02:33:35 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 14 Apr 2023 02:33:34 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.16 via Frontend Transport; Fri, 14 Apr 2023 02:33:34 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33E7XYGb055402; Fri, 14 Apr 2023 02:33:34 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring CC: , , , Tero Kristo , Vignesh Raghavendra , Nishanth Menon , Neha Malcom Francis , Nikhil M Jain , Tom Rini Subject: [PATCH 09/10] arm64: dts: ti: k3-am642-evm: Add VTT GPIO regulator for DDR Date: Fri, 14 Apr 2023 02:33:27 -0500 Message-ID: <20230414073328.381336-10-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230414073328.381336-1-nm@ti.com> References: <20230414073328.381336-1-nm@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.4 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_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 Hold the DDR vtt regulator active for functionality. Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts index 9cf181d0199f..3d0b473d5252 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts @@ -148,6 +148,20 @@ vddb: regulator-4 { regulator-boot-on; }; + vtt_supply: regulator-5 { + compatible = "regulator-fixed"; + regulator-name = "vtt"; + pinctrl-names = "default"; + pinctrl-0 = <&ddr_vtt_pins_default>; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&main_gpio0 12 GPIO_ACTIVE_HIGH>; + vin-supply = <&vsys_3v3>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + }; + leds { compatible = "gpio-leds"; @@ -338,6 +352,12 @@ AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* (D17) MCAN1_RX */ AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */ >; }; + + ddr_vtt_pins_default: ddr-vtt-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0030, PIN_OUTPUT_PULLUP, 7) /* (L18) OSPI0_CSN1.GPIO0_12 */ + >; + }; }; &main_uart0 { -- 2.40.0