[PATCH 14/23] arm: dts: k3-am642-evm: Add DDR vtt regulator

Nishanth Menon nm at ti.com
Fri Apr 14 09:57:17 CEST 2023


Describe the DDR vtt regulator on evm

This is a pending upstream kernel updates as of v6.3-rc6.

Signed-off-by: Nishanth Menon <nm at ti.com>
---
Sent to kernel.org https://lore.kernel.org/linux-devicetree/20230414073328.381336-1-nm@ti.com/
I skipped doing the regulator renaming etc, it is just churn
un-necessary for the original purpose of fixing the r5.dts

 arch/arm/dts/k3-am642-evm.dts | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/dts/k3-am642-evm.dts b/arch/arm/dts/k3-am642-evm.dts
index ed3a6f1341b0..82d356a66793 100644
--- a/arch/arm/dts/k3-am642-evm.dts
+++ b/arch/arm/dts/k3-am642-evm.dts
@@ -148,6 +148,21 @@
 		regulator-boot-on;
 	};
 
+	/* XXX: Upstream kernel TODO: send upstream */
+	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";
 
@@ -322,6 +337,13 @@
 			AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */
 		>;
 	};
+
+	/* XXX: Upstream kernel TODO: send upstream */
+	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



More information about the U-Boot mailing list