Hi,experts:
In the recent TDA4 project, I need to set a gpio(WKUP_GPIO0_56) high voltage in uboot dts, I modify the dts as below:
mywkup_gpio0_pins_default: mywkup_gpio0_pins_default {
pinctrl-single,pins = <
J721S2_WKUP_IOPAD(0x120, PIN_OUTPUT_PULLDOWN, 7) /* (G27) WKUP_GPIO0_56 */
>;
};
&wkup_gpio0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mywkup_gpio0_pins_default>;
eth_phy1_wakeup {
gpio-hog;
gpios = <56 GPIO_ACTIVE_HIGH>; // G27
output-high;
line-name = "eth_phy1_wakeup";
};
};
then I check it by typing cmd "gpio status `" in uboot cmdline, the result is as below:
=> gpio status 56
56: output: 0 [x] eth_phy1_wakeup.gpio-hog
56: input: 1 [ ]
from the result, WKUP_GPIO0_56 config fail, not output 1.
So if I want to set WKUP_GPIO0_56 to high in linux uboot, how to achive this?