On Fri, Feb 12, 2016 at 10:35 AM, Matthijs van Duin
<[email protected]> wrote:
> On 12 February 2016 at 16:37, Robert Nelson <[email protected]> wrote:
>>
>> So, P9.15, gpmc_a0 is setup as:
>>
>> {OFFSET(gpmc_ad0), (MODE(1) | RXACTIVE | PULLUP_EN)}, /* MMC1_DAT0 */
>
>
> Those are different pins. The only useful purpose of pin 16 ("gpmc_a0") on a
> BBB is as pwm 1 tripzone input.
>
> mmc1 pins are obviously not double-mapped with anything.

/* P9.15 */
{OFFSET(gpmc_a0), MODE(0) | PULLUDDIS},
{OFFSET(gpmc_csn3), (MODE(3) | RXACTIVE | PULLUP_EN)},

>> so, gpmc_csn3 (which is also used by the bbgw as mmc2_cmd)
>
>
> mmc2 cmd is indeed the only useful use of the other pin of the pair.
>
> I'm thinking just disable the pull of pin 16 ("gpmc_a0"). The pull of the
> other pin should already take care of things.
>
> In general in DTs I would also recommend disabling (gpio input, rx disabled,
> no pull) the "other pin" of any pin-pair whenever one is in use, but at a
> minimum they should avoid a pull conflict. There are three such pairs, see
> P9 tab of my pins spreadsheet -> https://goo.gl/Jkcg0w

Yeah, P9.41/42..

We do separate them out:

https://github.com/beagleboard/bb.org-overlays/blob/master/include/dt-bindings/board/am335x-bbw-bbb-base.h#L96-L101

I'll have to fix up:

bone_eqep0-00A0.dts

as it uses: BONE_P9_41B

But doesn't unset P9_41A

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

Reply via email to