On Sun, Dec 28, 2014 at 8:23 PM, Rick Mann <[email protected]> wrote:
> Hmm, some additional information. It seems I can set some of the pins, some 
> of the time, and after that, I have to reboot.
>
> For example, I grabbed Derek Molloy's example straight from his book, which 
> sets P9_11's (at address 870) mode to 0x07. I can set that to 0x0f, but only 
> once after reboot. If I change my .dts, unload the slot, and re-load it, it 
> doesn't change.
>
> But if I try to do the same thing with my own .dts, for pin P8_17 (0x82c), 
> changing it to 0x0f or 0x37, it doesn't change (it stays at the default mode 
> of 0x27).

So with dtb-rebuilder (wip: v3.19.x branch)

You can define that pin as:

BONE_P8_17 0x0f
or:
BONE_P8_17 0x3f

For example here's where i set the pinmux for can0:

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.19.x/src/arm/am335x-bone-pinmux-can0.dtsi

The base "am335x-boneblack.dts"

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.19.x/src/arm/am335x-boneblack.dts#L43

has every option available, you just have to uncomment different
peripherals/pinmux's..

cape-universal will be enabled again in a few days, so all the
'peripherals" will be enabled again, and you can use Charles's
pin-config utility to change the pinmux in userspace.

Regards,

-- 
Robert Nelson
http://www.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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to