Commit 3935fbc8 authored by Stefan Eichenberger's avatar Stefan Eichenberger Committed by Nishanth Menon

arm64: dts: ti: k3-am62-verdin-dahlia: support sleep-moci

Previously, we had the sleep-moci pin set to always on. However, the
Dahlia carrier board supports disabling the sleep-moci when the system
is suspended to power down peripherals that support it. This reduces
overall power consumption. This commit adds support for this feature by
disabling the reg_force_sleep_moci regulator and adding a new regulator
for the USB hub that can be turned off when the system is suspended.
Signed-off-by: default avatarStefan Eichenberger <stefan.eichenberger@toradex.com>
Reviewed-by: default avatarFrancesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20240301084901.16656-3-eichest@gmail.comSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 566bbb01
...@@ -43,6 +43,15 @@ simple-audio-card,cpu { ...@@ -43,6 +43,15 @@ simple-audio-card,cpu {
sound-dai = <&mcasp0>; sound-dai = <&mcasp0>;
}; };
}; };
reg_usb_hub: regulator-usb-hub {
compatible = "regulator-fixed";
enable-active-high;
/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
regulator-boot-on;
regulator-name = "HUB_PWR_EN";
};
}; };
/* Verdin ETHs */ /* Verdin ETHs */
...@@ -184,6 +193,11 @@ &ospi0 { ...@@ -184,6 +193,11 @@ &ospi0 {
status = "okay"; status = "okay";
}; };
/* Do not force CTRL_SLEEP_MOCI# always enabled */
&reg_force_sleep_moci {
status = "disabled";
};
/* Verdin SD_1 */ /* Verdin SD_1 */
&sdhci1 { &sdhci1 {
status = "okay"; status = "okay";
...@@ -204,7 +218,15 @@ &usbss1 { ...@@ -204,7 +218,15 @@ &usbss1 {
}; };
&usb1 { &usb1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; status = "okay";
usb-hub@1 {
compatible = "usb424,2744";
reg = <1>;
vdd-supply = <&reg_usb_hub>;
};
}; };
/* Verdin CTRL_WAKE1_MICO# */ /* Verdin CTRL_WAKE1_MICO# */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment