Tool/software: Linux
I am using the pocketbeagle as my development board. I am trying to have the PWM0 pin (GPIO110) to have a high value by default. I went to am335x-pocketbeagle-common.dtsi and changed the following:
P1_36_default_pin: pinmux_P1_36_default_pin { pinctrl-single,pins = < AM33XX_IOPAD(0x0990, PIN_OUTPUT_PULLUP | INPUT_EN | MUX_MODE1) >; }; /* mcasp0_aclkx.ehrpwm0a */ P1_36_pwm_pin: pinmux_P1_36_pwm_pin { pinctrl-single,pins = < AM33XX_IOPAD(0x0990, PIN_OUTPUT_PULLUP | INPUT_EN | MUX_MODE1)
Basically changed PIN_OUTPUT_PULLDOWN to PIN_OUTPUT_PULLUP. However, this does not work. I recompile the kernel and nothing happened!
How can I make sure that the PWM0 (gpio110) has a "1" as the default state?
Thanks