[Soekris] Default Power-On State of GPIO
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Nov 12 22:53:44 UTC 2007
In message <34ddf8640711121438y2452770en13ab7d0202b635fe at mail.gmail.com>, "Rich
ard Walker" writes:
>Is there a way to set the default power-on state of the GPIO pins on
>the Net4801 to low? I noticed that they all pull high (3.3V) on
>power-on. I checked the BIOS and didn't see any relevant parameters
>there. I'm using the box for an application that I'd much rather have
>the box start with all pins low.
I belive all the pins power on to inputs, possibly with a pull-up
enabled.
I don't think there is any way to change that. Even if the bios did
it, you would still have a short window from reset until the bios
got around to that.
I usually configure outputs as open drain, pull them up and invert
as necessary to get the desired default state in the glue electronics.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the Soekris-tech
mailing list