I do this for them pins in my dts file makes it easier to read

                    BONE_P8_31 (PIN_INPUT | MUX_MODE6)           /* (V4)
lcd_data14.uart5_ctsn */
                    BONE_P8_32 (PIN_OUTPUT | MUX_MODE6)          /* (T5)
lcd_data15.uart5_rtsn */
                    BONE_P8_33 (PIN_OUTPUT | MUX_MODE6)          /*
uart4_rtsn */
not using p8-35


On 5/12/2016 7:17 PM, Paulo Sherring wrote:
> Hi all! I am trying to use the eQEP device driver, found here:
> https://github.com/Teknoman117/beaglebot
>
> So, I could get the module loaded by echoing the device tree to cape
> manager. After disabling eMMC and HDMI, all 0-2 modules loaded OK.
> I hooked up my encoder, which uses open NPN to the board, powering it
> up from the 5V onboard.
> Since the output is open collector NPN, i needed to use pullup. So, i
> edited the dts file as follows:
> (For eQEP1)
> 0x0D8 0x32  /* P8_31 = GPIO0_10 = EQEP1_index, MODE2 */
> 0x0DC 0x32  /* P8_32 = GPIO0_11 = EQEP1_strobe, MODE2 */
> 0x0D4 0x32  /* P8_33 = GPIO0_9 = EQEP1B_in, MODE2 */
> 0x0D0 0x32  /* P8_35 = GPIO0_8 = EQEP1A_in, MODE2 */
>
> After compiling, installing and echoing it again to capemgr, the entry
> in sysfs is created as expected, but, when i read pinmux config, I
> read back 0X2A. After overwriting it with devmem, I also get again
> 0X2A. Can anyone give me any direction?
>
> My setup:
> BeagleBone Black Element14
> KernVer: 4.4.0-bone-rt-r3.1
> uEnv:
> dtb=am335x-boneblack-overlay.dtb
>
>
> Thanks in advance!
> Paulo Sherring.
>
> -- 
> 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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/7b2a73df-ddc9-47fe-8d86-012e34c90f08%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/7b2a73df-ddc9-47fe-8d86-012e34c90f08%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


-- 
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/b51007b1-4911-ec8c-2ce0-91b6ed94a08c%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to