Same for me i'm trying to remap the default I/O on the beaglebone with my 
custom kernel i've just compile :

I need to modify the default configuration of pinmuxing on the BBB. To do 
so i'm trying to modify the am335x-boneblack.dts before recompiling the 
kernel. But that file is very awkward. I've only found information about 
overlay, but i need this by default not with overlay.

This is for example the pinmuxing I use to define TOR I/O with an overlay 
DT:

        pinctrl_test: pinctrl_test_0_pins {
        pinctrl-single,pins = <
            0x078 0x07 /* P9_12 OUTPUT | MODE7 | PULLDOWN */
            0x048 0x07 /* P9_14 OUTPUT | MODE7 | PULLDOWN */
            0x040 0x07 /* P9_15 OUTPUT | MODE7 | PULLDOWN */
            0x04c 0x07 /* P9_16 OUTPUT | MODE7 | PULLDOWN */
            0x15c 0x07 /* P9_17 OUTPUT | MODE7 | PULLDOWN */
            0x158 0x07 /* P9_18 OUTPUT | MODE7 | PULLDOWN */
            0x044 0x07 /* P9_23 OUTPUT | MODE7 | PULLDOWN */
            0x1ac 0x07 /* P9_25 OUTPUT | MODE7 | PULLDOWN */


            0x030 0x27 /* P8_12 INPUT | MODE7 | PULLDOWN */
            0x024 0x27 /* P8_13 INPUT | MODE7 | PULLDOWN */
            0x028 0x27 /* P8_14 INPUT | MODE7 | PULLDOWN */
            0x03c 0x27 /* P8_15 INPUT | MODE7 | PULLDOWN */
            0x038 0x27 /* P8_16 INPUT | MODE7 | PULLDOWN */
            0x02c 0x27 /* P8_17 INPUT | MODE7 | PULLDOWN */
            0x08c 0x27 /* P8_18 INPUT | MODE7 | PULLDOWN */
            0x020 0x27 /* P8_19 INPUT | MODE7 | PULLDOWN */
        >;
    };

What's the correct syntax to edit the main DT and register pin for TOR I/O, 
ANA... The aim after that, is to develop driver to be able to read/write at 
high speed (using register) on the different input/output.

Thanks.

Le lundi 17 août 2015 09:17:21 UTC+2, Mehmet Özgür Bayhan a écrit :
>
> Hi. I am using Robert C. Nelson's kernel on my Beagle Board Rev-C
>
> I want to use mmc2 ports as GPIO.
>
> There is 8 pins in mmc and the default configuration in device tree is  =  
>
>
>>
>>
>>
>>
>>
>>
>> *mmc2: mmc@480b4000 { compatible = "ti,omap3-hsmmc"; reg = <0x480b4000 
>> 0x200>; interrupts = <86>; ti,hwmods = "mmc2"; dmas = <&sdma 47>, <&sdma 
>> 48>; dma-names = "tx", "rx";};*
>
>
> but disbled default in omap3-beagle.dts. So how should i use these ports 
> as GPIO(not as mmc2) and pull them HIGH and direction > out during sturtup?
>
> I am a newbie, I've tried many things but still can't solve. 
>
> Any help could be great.
>
> Thanks.
>

-- 
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