On Thu, Mar 18, 2021 at 10:06 AM Paul Beam <rpaulb...@gmail.com> wrote:
>
> I'm creating my first device tree overlay for the PocketBeagle intending to 
> setup the I/O pins the way I need them without having to run an additional 
> script to set things up.  I'm using this as a 
> template:https://github.com/jadonk/validation-scripts/blob/master/test-capemgr/pinctrl-test-0.dts
>
> Is it possible in the device tree overlay to not only set the mux setting, 
> but also set the pin initial value?  For example, if I set a GPIO as an 
> output, can I also set that output hi?

model it as a gpio-led, which has a default state..

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-RELAY-4PORT-00A0.dts#L89-L92

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgA-%2BicfqONfqm3a5q%3D_MAoaSKX7mZth6jKfeKybhF5Pg%40mail.gmail.com.

Reply via email to