I have found the solution.  The syntax for multiple pins in the device tree 
was different that what was shown in Molloy's book.  The corrected files 
are attached.

On Friday, September 8, 2017 at 10:35:25 AM UTC-7, [email protected] 
wrote:
>
>
> Hello all,
>
> I am currently trying to load a custom device tree following the format 
> found in Derek Molloy's book.  In the ~/.profile file I have added the 
> following lines:
> export SLOTS=/sys/devices/bone_capemgr.9/slots
> export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins
>
> I am trying to set specific pins as digital IO through either multiple 
> DTBOs or a single DTBO.  I am able to compile the versions of the DTS files 
> using: dtc -O dtb -o <Filename>-00A0.dtbo -b 0 -@ <Filename>.dts.  I have 
> disabled the eMMC and HDMI capes and am running off of an SD card.
>
> When using the single DTBO it will compile and load into the $SLOTS, but 
> the $PINS don't properly update for all pins.  When using multiple files, 
> the $PINS are properly updated for the first DTBO.  If a DTBO is applied, 
> then removed from $SLOTS and a second DTBO is applied then the new pins are 
> properly muxed and the old ones are left alone.  It is preferred to have 
> all the DTBO's loaded on boot and active while running to ensure the pins 
> remain muxed.
>
> Any help is appreciated.
>
> Robert
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b690a01d-abb8-4bda-bff0-378ccb1a0192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: Dir-Ctrl.dts
Description: Binary data

Attachment: Input-Ctrl.dts
Description: Binary data

Attachment: Lim-Sw-Ctrl.dts
Description: Binary data

Attachment: Mtr-En-Ctrl.dts
Description: Binary data

Attachment: Mtr-Sw-Ctrl.dts
Description: Binary data

Reply via email to