I am trying to control a GPIO2_IO10(gpio42) in imx6 on order to control a Laser power,
I can take control on the gpio42 via U-boot and device tree, but the problem is the gpio state after power on.
According to the document, the initial state of gpio42 is input with 100k pull up,
but ihave to always keep the gpio42 low to prevent an unexpected Laser on state.
Anyone will shed light on how to keep gpio42 low after power on, even though it is initailly set as a pull up input state?
Appreciated in advance.