Hi,
I’m trying to use the gpio pin EPHY_RST_N to reset an external switch.
The problem is that when I set it to output-high the pin goes to 2.85V but I need to set it to 1.8V.
How can I configure the right power domain in the device tree?
This is my current device-tree for this pin:
emac0_ephy_active: emac0_ephy_active {
/* active state /
mux {
/ EPHY RST */
pins = “gpio29”;
function = “gpio”;
};
config {
pins = "gpio29";
drive-strength = <16>; /* 16 MA */
bias-pull-up;
output-high;
};
};
emac0_ephy_sleep: emac0_ephy_sleep {
/* suspended state */
mux {
/* EPHY RST */
pins = "gpio29";
function = "gpio";
};
config {
pins = "gpio29";
drive-strength = <2>; /* 2 MA */
bias-disable;
output-low;
};
};
Thanks,
Angelo