summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2021-05-04 18:00:55 -0500
committerLokesh Vutla <lokeshvutla@ti.com>2021-05-12 16:31:16 +0530
commitab4c072ddd1c40e7fc7f52f8c8b1047f44aade22 (patch)
tree6c110e0b3dc51eefd5ee146a2288612aaaaaadef /arch/arm
parentd3fd37b8a1c05e528b7a2a64c8b2d154d7b62f8b (diff)
downloadu-boot-ab4c072ddd1c40e7fc7f52f8c8b1047f44aade22.tar.gz
u-boot-ab4c072ddd1c40e7fc7f52f8c8b1047f44aade22.tar.xz
u-boot-ab4c072ddd1c40e7fc7f52f8c8b1047f44aade22.zip
arm: dts: k3-am642-r5-evm: Add GPIO DDR VTT regulator
Add DDR VTT regulator. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/k3-am642-r5-evm.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am642-r5-evm.dts b/arch/arm/dts/k3-am642-r5-evm.dts
index 7373298df6..68af8eede2 100644
--- a/arch/arm/dts/k3-am642-r5-evm.dts
+++ b/arch/arm/dts/k3-am642-r5-evm.dts
@@ -61,6 +61,16 @@
clock-frequency = <200000000>;
u-boot,dm-spl;
};
+
+ vtt_supply: vtt-supply {
+ compatible = "regulator-gpio";
+ regulator-name = "vtt";
+ regulator-min-microvolt = <0>;
+ regulator-max-microvolt = <3300000>;
+ gpios = <&main_gpio0 12 GPIO_ACTIVE_HIGH>;
+ states = <0 0x0 3300000 0x1>;
+ u-boot,dm-spl;
+ };
};
&cbass_main {
@@ -124,6 +134,13 @@
AM64X_IOPAD(0x029c, PIN_INPUT_PULLUP, 0) /* (C20) MMC1_SDWP */
>;
};
+
+ ddr_vtt_pins_default: ddr-vtt-pins-default {
+ u-boot,dm-spl;
+ pinctrl-single,pins = <
+ AM64X_IOPAD(0x0030, PIN_OUTPUT_PULLUP, 7) /* (L18) OSPI0_CSN1.GPIO0_12 */
+ >;
+ };
};
&dmsc {
@@ -150,6 +167,12 @@
pinctrl-0 = <&main_uart1_pins_default>;
};
+&memorycontroller {
+ vtt-supply = <&vtt_supply>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ddr_vtt_pins_default>;
+};
+
&sdhci0 {
/delete-property/ power-domains;
clocks = <&clk_200mhz>;
@@ -168,4 +191,9 @@
pinctrl-0 = <&main_mmc1_pins_default>;
};
+&main_gpio0 {
+ u-boot,dm-spl;
+ /delete-property/ power-domains;
+};
+
#include "k3-am642-evm-u-boot.dtsi"