Hi Everyone,

I try to compile a cape but I can't change pinmux, does anyone have the 
same situation ?
It's already loaded on SLOT but not doing the job :
root@beaglebone:/lib/firmware# cat $SLOTS
 0: PF----  -1 
 1: PF----  -1 
 2: PF----  -1 
 3: PF----  -1 
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,cape-universal
 5: P-O-L-   1 Override Board Name,00A0,Override Manuf,EBB-GPIO-Example
root@beaglebone:/lib/firmware# 
dmesg :
 5: P-O-L-   1 Override Board Name,00A0,Override Manuf,EBB-GPIO-Example
root@beaglebone:/lib/firmware# dmesg | grep EBB
[  706.990227] bone_capemgr bone_capemgr: part_number 'EBB-GPIO-Example', 
version 'N/A'
[  706.990330] bone_capemgr bone_capemgr: slot #5: 'Override Board 
Name,00A0,Override Manuf,EBB-GPIO-Example'
[  707.028392] pinctrl-single 44e10800.pinmux: could not request pin 28 
(44e10870.0) from group EBB_GPIO_Example  on device pinctrl-single
[  707.139290] pinctrl-single 44e10800.pinmux: could not request pin 28 
(44e10870.0) from group EBB_GPIO_Example  on device pinctrl-single
[  707.168352] bone_capemgr bone_capemgr: slot #5: dtbo 
'EBB-GPIO-Example-00A0.dtbo' loaded; overlay id #1
root@beaglebone:/lib/firmware# 

code :
/dts-v1/;
/plugin/;

/{
       compatible = "ti,beaglebone", "ti,beaglebone-black";
       part-number = "EBB-GPIO-Example";
       version = "00A0";

       fragment@0 {
             target = <&am33xx_pinmux>;

             __overlay__ {
                  ebb_example: EBB_GPIO_Example {
                        pinctrl-single,pins = <
                                0x070 0x07  // P9_11 PINS$28 GPIO0_30 = 30 
Output Mode7 pulldown
                                0x074 0x37  // P9_13 PINS$29 GPIO0_31 = 31 
Input Mode7 pullup

                               /* OUTPUT  GPIO(mode7) 0x07 pulldown, 0x17 
pullup, 0x?f no pullup/down */
                               /* INPUT   GPIO(mode7) 0x27 pulldown, 0x37 
pullup, 0x?f no pullup/down */
                        >;
                  };
             };
       };

       


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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a5a51a76-b882-4b2b-87a9-73a6d550b8ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to